etomica.graphics
Class ActionGraphic

java.lang.Object
  extended by 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

Constructor Summary
ActionGraphic(IAction action)
           
 
Method Summary
 void actionPerformed()
          Completes the action defined by the class implementing this interface.
 void actionPerformed(ActionEvent evt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionGraphic

public ActionGraphic(IAction action)
Method Detail

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