etomica.action
Class ControllerActionAdapter
java.lang.Object
etomica.action.ControllerActionAdapter
- All Implemented Interfaces:
- ControllerAction, IAction, Serializable
- Direct Known Subclasses:
- ControllerToggle
public abstract class ControllerActionAdapter
- extends Object
- implements ControllerAction, Serializable
Convenience class used to define a ControllerAction. Implements all methods
of ControllerAction interface, except for actionPerformed.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
controller
protected IController controller
ControllerActionAdapter
public ControllerActionAdapter()
getController
public IController getController()
- Specified by:
getController in interface ControllerAction
- Returns:
- Returns the controller on which this action will be performed.
setController
public void setController(IController controller)
- Specified by:
setController in interface ControllerAction
- Parameters:
controller - The controller on which this action will be performed.