protected class ALDOperatorDataIOSwing.OperatorConfigWindow extends ALDSwingValueChangeReporter implements ActionListener, ALDSwingValueChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected Parameter.ExpertMode |
displayMode
Mode for displaying parameters.
|
protected boolean |
editsAllowed
Flag to enable/disable editing.
|
listenerList| Constructor and Description |
|---|
OperatorConfigWindow(ALDOperator ops,
Class<?> cl,
ALDParameterDescriptor descr,
boolean editable)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionPerformed(ActionEvent e) |
void |
disableComponent()
Disables the operator configuration panel.
|
void |
dispose()
Disposes all resources of this window and its sub-windows.
|
void |
enableComponent()
Enables the operator configuration panel.
|
void |
handleValueChangeEvent(ALDSwingValueChangeEvent event)
Method which is called on event occurence.
|
protected void |
initOperator()
Initializes a new operator object with default configuration.
|
protected boolean |
isOperatorNull()
Allows to check if window is linked to operator object or not.
|
protected ALDOperator |
setOperatorParameters(Field field,
Class<?> cl) |
void |
setVisible(boolean visible)
Displays the window and inits an operator object (if not done before).
|
protected HashMap<ALDOpParameterDescriptor,String> |
updateOperator(ALDOperator oper)
Update operator linked to window.
|
addValueChangeEventListener, fireALDSwingValueChangeEvent, removeValueChangeEventListenerprotected Parameter.ExpertMode displayMode
protected boolean editsAllowed
public OperatorConfigWindow(ALDOperator ops, Class<?> cl, ALDParameterDescriptor descr, boolean editable)
ops - Corresponding operator to configure.public void disableComponent()
public void enableComponent()
public void dispose()
protected ALDOperator setOperatorParameters(Field field, Class<?> cl) throws ALDOperatorException
ALDOperatorExceptionprotected HashMap<ALDOpParameterDescriptor,String> updateOperator(ALDOperator oper) throws ALDDataIOProviderException
oper - New operator to be linked to the window.ALDDataIOProviderExceptionprotected boolean isOperatorNull()
protected void initOperator()
public void setVisible(boolean visible)
visible - public void actionPerformed(ActionEvent e)
actionPerformed in interface ActionListenerpublic void handleValueChangeEvent(ALDSwingValueChangeEvent event)
ALDSwingValueChangeListenerhandleValueChangeEvent in interface ALDSwingValueChangeListenerevent - Event to be handled.Copyright © 2010–2015 Martin Luther University Halle-Wittenberg. All rights reserved.