public abstract class AbstractWizardState extends java.lang.Object implements WizardState
CONTEXT_WIZARD_STATE, CONTEXT_WIZARD_STATE_EXIT_TRANSITION
Modifier | Constructor and Description |
---|---|
protected |
AbstractWizardState(java.lang.Object stateId) |
Modifier and Type | Method and Description |
---|---|
protected void |
addFinalState(FSMBuilder builder,
java.lang.Object stateId,
Step step) |
protected void |
addStartState(FSMBuilder builder,
Step step,
java.lang.Object defaultTran) |
protected abstract void |
addState(FSMBuilder builder) |
protected void |
addState(FSMBuilder builder,
java.lang.Object stateId,
Step step,
java.lang.Object defaultTran) |
protected abstract void |
addTransitions(FSMBuilder builder) |
void |
bind(java.lang.Object exitTran,
WizardState state) |
void |
buildState(FSMBuilder builder) |
abstract boolean |
containsExitTransition(java.lang.Object tran) |
static java.lang.Object |
findExitTransition(Context context) |
static WizardState |
findWizardState(Context context) |
WizardState |
getParentState() |
java.lang.Object |
getStateId() |
static void |
putExitTransition(Context context,
java.lang.Object tran) |
static void |
putWizardState(Context context,
WizardState state) |
void |
setParentState(WizardState parent) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBoundState, getDefaultStateId, getExitTransitions, getWizardStep, setWizardStep
public java.lang.Object getStateId()
getStateId
in interface WizardState
public void setParentState(WizardState parent)
setParentState
in interface WizardState
public WizardState getParentState()
getParentState
in interface WizardState
public void bind(java.lang.Object exitTran, WizardState state)
bind
in interface WizardState
public static WizardState findWizardState(Context context)
public static void putWizardState(Context context, WizardState state)
public static java.lang.Object findExitTransition(Context context)
public static void putExitTransition(Context context, java.lang.Object tran)
public abstract boolean containsExitTransition(java.lang.Object tran)
containsExitTransition
in interface WizardState
public void buildState(FSMBuilder builder)
buildState
in interface WizardState
protected void addStartState(FSMBuilder builder, Step step, java.lang.Object defaultTran)
protected void addFinalState(FSMBuilder builder, java.lang.Object stateId, Step step)
protected void addState(FSMBuilder builder, java.lang.Object stateId, Step step, java.lang.Object defaultTran)
protected abstract void addState(FSMBuilder builder)
protected abstract void addTransitions(FSMBuilder builder)