etomica.action
Class BoxActionAdapter
java.lang.Object
etomica.action.BoxActionAdapter
- All Implemented Interfaces:
- BoxAction, IAction, Serializable
- Direct Known Subclasses:
- BoxDeleteMolecules, BoxImposePbc, BoxInflate, BoxQuench
public abstract class BoxActionAdapter
- extends Object
- implements BoxAction, Serializable
Convenience class used to define a BoxAction. Implements all methods
of BoxAction 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 |
box
protected IBox box
BoxActionAdapter
public BoxActionAdapter()
getBox
public IBox getBox()
- Specified by:
getBox in interface BoxAction
- Returns:
- Returns the box on which this action will be performed.
setBox
public void setBox(IBox box)
- Specified by:
setBox in interface BoxAction
- Parameters:
box - The box on which this action will be performed.