| java.lang.Object org.osbl.agent.gui.OperationController org.osbl.agent.gui.ActionController
All known Subclasses: org.osbl.agent.gui.action.BeanShellActionController, org.osbl.agent.gui.action.SetPropertyActionController,
ActionController | abstract public class ActionController extends OperationController (Code) | | Knows how to return its corresponding action and how to set up the
UI-controls to reflect an action given.
author: Sebastian Nozzi. |
Method Summary | |
final public Action | getAction() Generates a (new) Action instance according to the state of the UI controls. | public static ActionController | newInstance(Action action) Given an Action instance, it tries to retrieve a corresponding ActionController object.
That object reflects the state of the given Action.
Parameters: action - an Action instance. | abstract protected void | populateAction(Action action) Populates and configures a given Action object to reflect the state of this Controller.
(especially the UI components). | abstract public void | setAction(Action action) Makes the ActionController re-configure itself based on the passed Action. |
ACTION_CONTROLLERS_PACKAGE | final protected static String ACTION_CONTROLLERS_PACKAGE(Code) | | The package location in which ActionControllers can be found.
|
populateAction | abstract protected void populateAction(Action action)(Code) | | Populates and configures a given Action object to reflect the state of this Controller.
(especially the UI components).
Parameters: action - the Action to be populated. |
setAction | abstract public void setAction(Action action)(Code) | | Makes the ActionController re-configure itself based on the passed Action.
(So, this is no normal setter method; the Action is not retained).
Parameters: action - the Action this ActionController should reflect. |
|
|