etomica.action
Class IntegratorActionAdapter

java.lang.Object
  extended by etomica.action.IntegratorActionAdapter
All Implemented Interfaces:
IAction, IntegratorAction, Serializable
Direct Known Subclasses:
IntegratorReset

public abstract class IntegratorActionAdapter
extends Object
implements IntegratorAction, Serializable

Convenience class used to define a IntegratorAction. Implements all methods of IntegratorAction interface, except for actionPerformed.

See Also:
Serialized Form

Field Summary
protected  IIntegrator integrator
           
 
Constructor Summary
IntegratorActionAdapter()
           
IntegratorActionAdapter(IIntegrator integrator)
          Constructs the Action with the given descriptive label.
 
Method Summary
 IIntegrator getIntegrator()
           
 void setIntegrator(IIntegrator integrator)
           
 
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

integrator

protected IIntegrator integrator
Constructor Detail

IntegratorActionAdapter

public IntegratorActionAdapter()

IntegratorActionAdapter

public IntegratorActionAdapter(IIntegrator integrator)
Constructs the Action with the given descriptive label.

Method Detail

getIntegrator

public IIntegrator getIntegrator()
Specified by:
getIntegrator in interface IntegratorAction
Returns:
Returns the integrator on which this action will be performed.

setIntegrator

public void setIntegrator(IIntegrator integrator)
Specified by:
setIntegrator in interface IntegratorAction
Parameters:
integrator - The integrator on which this action will be performed.