|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface StateMachineListener
The StateMachineListener is designed to ease developer to customize the behaviour and to listen for the state machine changes.
| Method Summary | |
|---|---|
void |
enterState(java.lang.String state,
StateMachine context)
This method is called by the state machine when it is enters a new state |
void |
executing(java.lang.String transition,
StateMachine context)
This method is called whenever, the state machine is executing a transition. |
void |
leaveState(java.lang.String state,
StateMachine context)
This method is called by the state machine when it is leaving the current state |
void |
propertyChanged(java.lang.String name,
java.lang.Object value,
StateMachine context)
This method is changed whenever a state machine property is changed. |
| Method Detail |
|---|
void leaveState(java.lang.String state,
StateMachine context)
state - the current (old) statecontext - the state machine
void enterState(java.lang.String state,
StateMachine context)
state - the new state that state machine has godcontext - the state machine
void executing(java.lang.String transition,
StateMachine context)
transition - the name of the transition that is being executedcontext - the state machine
void propertyChanged(java.lang.String name,
java.lang.Object value,
StateMachine context)
name - the name of the propertyvalue - it's valuecontext - the state machine
|
Framework Professional Edition Package |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||