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, removeValueChangeEventListener
protected ALDParameterDescriptor paramDescriptor
protected JCheckBox compCheckBox
public ALDSwingComponentCheckBox(ALDParameterDescriptor descr)
descr
- Descriptor of associated (operator) parameter.public JCheckBox getJComponent()
ALDSwingComponent
getJComponent
in class ALDSwingComponent
public void itemStateChanged(ItemEvent e)
itemStateChanged
in interface ItemListener
public void disableComponent()
ALDSwingComponent
disableComponent
in class ALDSwingComponent
public void enableComponent()
ALDSwingComponent
enableComponent
in class ALDSwingComponent
public void dispose()
ALDSwingComponent
dispose
in class ALDSwingComponent
Copyright © 2010–2021 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.