private class ALDOperatorDataIOSwing.OperatorHierarchyConfigPanel extends ALDSwingComponent implements ALDSwingValueChangeListener
Modifier and Type | Class and Description |
---|---|
private class |
ALDOperatorDataIOSwing.OperatorHierarchyConfigPanel.AbstrOpClassPanel
GUI element class for parametrized class parameters.
|
Modifier and Type | Field and Description |
---|---|
private ALDOperatorDataIOSwing.OperatorHierarchyConfigPanel.AbstrOpClassPanel |
paramPanel
GUI configuration element.
|
listenerList
Constructor and Description |
---|
OperatorHierarchyConfigPanel()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
ALDSwingComponent |
createGUIElement(Field field,
Class<?> cl,
Object obj,
ALDParameterDescriptor descr)
Generates the GUI element.
|
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.
|
JComponent |
getJComponent()
Method to request the provider's GUI element.
|
void |
handleValueChangeEvent(ALDSwingValueChangeEvent event)
Method which is called on event occurence.
|
Object |
readData(Field field,
Class<?> cl,
ALDSwingComponent guiElement) |
JComponent |
writeData(Object obj) |
addValueChangeEventListener, fireALDSwingValueChangeEvent, removeValueChangeEventListener
private ALDOperatorDataIOSwing.OperatorHierarchyConfigPanel.AbstrOpClassPanel paramPanel
public OperatorHierarchyConfigPanel()
public ALDSwingComponent createGUIElement(Field field, Class<?> cl, Object obj, ALDParameterDescriptor descr)
field
- Field for associated parameter/operator.cl
- Class of associated operator.obj
- Default object.descr
- Optional descriptor for additional information.public Object readData(Field field, Class<?> cl, ALDSwingComponent guiElement) throws ALDDataIOProviderException
ALDDataIOProviderException
public JComponent writeData(Object obj)
public JComponent getJComponent()
ALDSwingComponent
getJComponent
in class ALDSwingComponent
public void handleValueChangeEvent(ALDSwingValueChangeEvent event)
ALDSwingValueChangeListener
handleValueChangeEvent
in interface ALDSwingValueChangeListener
event
- Event to be handled.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.