|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use StateCtx | |
---|---|
org.zkoss.fsm | An easy-to-use Finite State Machine implementation. |
Uses of StateCtx in org.zkoss.fsm |
---|
Subclasses of StateCtx in org.zkoss.fsm | |
---|---|
class |
MacroStateCtx<E,C,IN,E2,C2>
The real power of StateMachine. |
Fields in org.zkoss.fsm with type parameters of type StateCtx | |
---|---|
protected java.util.Map<E,StateCtx<E,C,IN>> |
StateMachine._states
|
Methods in org.zkoss.fsm that return StateCtx | |
---|---|
StateCtx<E,C,IN> |
StateCtx.addMinorRoute(IN input,
E destination)
Add a transition for a character. |
StateCtx<E,C,IN> |
StateCtx.addMinorRoute(IN input,
E destination,
StateCtx.TransitionListener<IN,C> callback)
Add a transition for a character with callback. |
StateCtx<E,C,IN> |
StateCtx.addMinorRoutes(E destination,
IN... inputs)
Add multiple transitions for characters. |
StateCtx<E,C,IN> |
StateCtx.addMinorRoutes(E destination,
StateCtx.TransitionListener<IN,C> callback,
IN... inputs)
Add multiple transitions for characters with a callback. |
StateCtx<E,C,IN> |
StateCtx.addMinorTransition(IN input,
E destination)
Add a transition for a character. |
StateCtx<E,C,IN> |
StateCtx.addMinorTransition(IN input,
E destination,
StateCtx.TransitionListener<IN,C> callback)
Add a transition for a character with a callback |
StateCtx<E,C,IN> |
StateCtx.addMinorTransitions(E destination,
IN... inputs)
Add multiple transitions for characters |
StateCtx<E,C,IN> |
StateCtx.addMinorTransitions(E destination,
StateCtx.TransitionListener<IN,C> callback,
IN... inputs)
Add multiple transitions for characters with a callback |
StateCtx<E,C,IN> |
StateCtx.addReturningClasses(C... inputClasses)
Add an input class for returning to this state |
StateCtx<E,C,IN> |
StateCtx.addReturningClasses(java.util.Collection<C> collection)
Add multiple input classes for returning to this state |
StateCtx<E,C,IN> |
StateCtx.addReturningInputs(java.util.Collection<IN> collection)
Add input characters for returning to this state |
StateCtx<E,C,IN> |
StateCtx.addReturningInputs(IN... inputs)
Add input characters for returning to this state |
StateCtx<E,C,IN> |
StateCtx.addRoute(C inputClass,
E destination)
Add a transition. |
StateCtx<E,C,IN> |
StateCtx.addRoute(C inputClass,
E destination,
StateCtx.TransitionListener<IN,C> callback)
Add a transition with callback. |
StateCtx<E,C,IN> |
StateCtx.addRoutes(E destination,
C... inputClasses)
Add multiple transitions. |
StateCtx<E,C,IN> |
StateCtx.addRoutes(E destination,
StateCtx.TransitionListener<IN,C> callback,
C... inputClasses)
Add multiple transitions with a callback. |
StateCtx<E,C,IN> |
StateCtx.addTransition(C inputClass,
E destination)
Add a transition rule |
StateCtx<E,C,IN> |
StateCtx.addTransition(C inputClass,
E destination,
StateCtx.TransitionListener<IN,C> callback)
Add a transition rule with a callback |
StateCtx<E,C,IN> |
StateCtx.addTransitions(E destination,
C... inputClasses)
Add multiple transitions |
StateCtx<E,C,IN> |
StateCtx.addTransitions(E destination,
StateCtx.TransitionListener<IN,C> callback,
C... inputClasses)
Add multiple transitions with a callback |
StateCtx<E,C,IN> |
StateMachine.getState(E token)
Get the state by token. |
StateCtx<E,C,IN> |
StateMachine.getState(E token,
boolean autoCreate)
Get the state by token. |
StateCtx<E,C,IN> |
StateMachine.removeState(E token)
Remove the state by token. |
protected StateCtx<E,C,IN> |
StateCtx.setMaster(StateMachine<E,C,IN> master)
Sets the owner state machine. |
StateCtx<E,C,IN> |
StateCtx.setReturningAll(boolean returnAll)
Set whether returns to this state upon meeting unspecified characters |
StateCtx<E,C,IN> |
StateMachine.setState(E token,
StateCtx<E,C,IN> state)
Set the state by token |
Methods in org.zkoss.fsm with parameters of type StateCtx | |
---|---|
StateCtx<E,C,IN> |
StateMachine.setState(E token,
StateCtx<E,C,IN> state)
Set the state by token |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |