Class GenericObjectEditorResponseConnectionUpdater
- java.lang.Object
-
- adams.gui.tools.remotecontrolcenter.panels.GenericObjectEditorResponseConnectionUpdater
-
- All Implemented Interfaces:
GenericObjectEditor.PostProcessObjectHandler
public class GenericObjectEditorResponseConnectionUpdater extends Object implements GenericObjectEditor.PostProcessObjectHandler
Updates the response connection.- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Field Summary
Fields Modifier and Type Field Description protected AbstractApplicationFrame
m_Application
the application frame to get the scripting engine from.
-
Constructor Summary
Constructors Constructor Description GenericObjectEditorResponseConnectionUpdater()
Initializes the post-processor with no application.GenericObjectEditorResponseConnectionUpdater(AbstractApplicationFrame application)
Initializes the post-processor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractApplicationFrame
getApplication()
Returns the application in use.Object
postProcessObject(GenericObjectEditor goe, Object o)
Gets called just before the object would be set, i.e., updating the UI.void
setApplication(AbstractApplicationFrame value)
Sets the application frame to use.
-
-
-
Field Detail
-
m_Application
protected AbstractApplicationFrame m_Application
the application frame to get the scripting engine from.
-
-
Constructor Detail
-
GenericObjectEditorResponseConnectionUpdater
public GenericObjectEditorResponseConnectionUpdater()
Initializes the post-processor with no application.
-
GenericObjectEditorResponseConnectionUpdater
public GenericObjectEditorResponseConnectionUpdater(AbstractApplicationFrame application)
Initializes the post-processor.- Parameters:
application
- the application to use
-
-
Method Detail
-
setApplication
public void setApplication(AbstractApplicationFrame value)
Sets the application frame to use.- Parameters:
value
- the application
-
getApplication
public AbstractApplicationFrame getApplication()
Returns the application in use.- Returns:
- the application, null if none set
-
postProcessObject
public Object postProcessObject(GenericObjectEditor goe, Object o)
Gets called just before the object would be set, i.e., updating the UI.- Specified by:
postProcessObject
in interfaceGenericObjectEditor.PostProcessObjectHandler
- Parameters:
goe
- the generic object editor that triggered ito
- the object to be set- Returns:
- the potentially updated object
-
-