etomica.action
Class BoxActionAdapter

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

Field Summary
protected  IBox box
           
 
Constructor Summary
BoxActionAdapter()
           
 
Method Summary
 IBox getBox()
           
 void setBox(IBox box)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface etomica.action.IAction
actionPerformed
 

Field Detail

box

protected IBox box
Constructor Detail

BoxActionAdapter

public BoxActionAdapter()
Method Detail

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.