Revision 5247 trunk/extensions/extRasterTools/src/org/gvsig/rasterTools/brightnessContrast/ui/CheckSliderText.java
CheckSliderText.java | ||
---|---|---|
65 | 65 |
|
66 | 66 |
} |
67 | 67 |
|
68 |
public boolean isSelected(){ |
|
69 |
return this.getJCheckBox().isSelected(); |
|
70 |
} |
|
71 |
|
|
68 | 72 |
public void actionPerformed(ActionEvent e) { |
69 | 73 |
if (e.getSource() == getJCheckBox()){ |
70 | 74 |
this.lName.setEnabled(getJCheckBox().isSelected()); |
... | ... | |
72 | 76 |
} |
73 | 77 |
} |
74 | 78 |
|
79 |
public void setSelected(boolean value){ |
|
80 |
this.getJCheckBox().setSelected(value); |
|
81 |
} |
|
82 |
|
|
75 | 83 |
} |
Also available in: Unified diff