org.vizzini.math
Class StatefulSupport

java.lang.Object
  extended by org.vizzini.math.StatefulSupport
All Implemented Interfaces:
Serializable, IStateful
Direct Known Subclasses:
TokenUISupport.MyStatefulSupport

public abstract class StatefulSupport
extends Object
implements Serializable, IStateful

Provides an implementation of IStateful for use as a delegate.

Since:
v0.2
Version:
v0.2
Author:
Jeffrey M. Thompson
See Also:
Serialized Form

Constructor Summary
StatefulSupport()
           
 
Method Summary
protected abstract  IState createState()
          Create the state.
 IState getAbsoluteState()
          Return the absolute state.
 IState getState()
          Return the state.
 IStateful getStatefulParent()
          Return the parent.
 void setStatefulParent(IStateful parent)
          Set the parent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulSupport

public StatefulSupport()
Method Detail

getAbsoluteState

public IState getAbsoluteState()
Return the absolute state.

Specified by:
getAbsoluteState in interface IStateful
Since:
v0.2

getState

public IState getState()
Return the state.

Specified by:
getState in interface IStateful
Since:
v0.2

setStatefulParent

public void setStatefulParent(IStateful parent)
Set the parent.

Specified by:
setStatefulParent in interface IStateful
Since:
v0.2

getStatefulParent

public IStateful getStatefulParent()
Return the parent.

Specified by:
getStatefulParent in interface IStateful
Since:
v0.2

createState

protected abstract IState createState()
Create the state.

Since:
v0.2


Copyright 2007 Vizzini.org. All Rights Reserved. 2007.12.25.03.00.02