public class ALDSwingComponentCheckBox extends ALDSwingComponent implements ItemListener
JCheckBox.| Modifier and Type | Field and Description |
|---|---|
protected JCheckBox |
compCheckBox
Associated Swing component.
|
protected ALDParameterDescriptor |
paramDescriptor
Descriptor of associated (operator) parameter.
|
listenerList| Constructor and Description |
|---|
ALDSwingComponentCheckBox(ALDParameterDescriptor descr)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
disableComponent()
Method to disable the component, i.e. all graphical elements, to
prohibit parameter changes.
|
void |
dispose()
Releases all resources, i.e. closes all sub-windows.
|
void |
enableComponent()
Method to enable the component with all graphical elements again.
|
JCheckBox |
getJComponent()
Method to request the provider's GUI element.
|
void |
itemStateChanged(ItemEvent e) |
addValueChangeEventListener, fireALDSwingValueChangeEvent, removeValueChangeEventListenerprotected ALDParameterDescriptor paramDescriptor
protected JCheckBox compCheckBox
public ALDSwingComponentCheckBox(ALDParameterDescriptor descr)
descr - Descriptor of associated (operator) parameter.public JCheckBox getJComponent()
ALDSwingComponentgetJComponent in class ALDSwingComponentpublic void itemStateChanged(ItemEvent e)
itemStateChanged in interface ItemListenerpublic void disableComponent()
ALDSwingComponentdisableComponent in class ALDSwingComponentpublic void enableComponent()
ALDSwingComponentenableComponent in class ALDSwingComponentpublic void dispose()
ALDSwingComponentdispose in class ALDSwingComponentCopyright © 2010–2015 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.