etomica.graphics
Class ActionGraphic
java.lang.Object
etomica.graphics.ActionGraphic
- All Implemented Interfaces:
- IAction, ActionListener, Serializable, EventListener
public class ActionGraphic
- extends Object
- implements IAction, ActionListener, Serializable
Wrapper of an etomica Action that permits it to be used as a java.awt action listener.
Useful, for example, to connect a button to the action.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionGraphic
public ActionGraphic(IAction action)
actionPerformed
public void actionPerformed(ActionEvent evt)
- Specified by:
actionPerformed in interface ActionListener
actionPerformed
public void actionPerformed()
- Description copied from interface:
IAction
- Completes the action defined by the class implementing this interface.
- Specified by:
actionPerformed in interface IAction