Package | Description |
---|---|
net.sourceforge.anotherfsm |
AnotherFSM is yet another implementation of state machines,
a library for Java programming language.
|
Modifier and Type | Method and Description |
---|---|
State |
SynchronizedStateMachine.getActiveState() |
State |
DeterministicStateMachine.getActiveState() |
State |
StateMachine.getActiveState()
Get the currently active state.
|
State |
Transition.getDestination()
Get the transition destination state.
|
State |
Transition.getSource()
Get the source state.
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<State> |
SynchronizedStateMachine.getActiveStates() |
java.util.Set<State> |
DeterministicStateMachine.getActiveStates() |
java.util.Set<State> |
StateMachine.getActiveStates()
Get the currently active states.
|
java.util.Set<State> |
DeterministicStateMachine.getStates() |
java.util.Set<State> |
StateMachine.getStates()
Get all defined states.
|
Modifier and Type | Method and Description |
---|---|
void |
DeterministicStateMachine.addState(State state) |
void |
StateMachine.addState(State state)
Add a new state.
|
protected Transition |
DeterministicStateMachine.getTransition(State state,
Event event)
Get transition of a specified event type defined for a state.
|
void |
StateAdapter.onStateEnter(State previous,
Event event,
State current) |
void |
StateListener.onStateEnter(State previous,
Event event,
State current)
The state was entered.
|
void |
StateAdapter.onStateExit(State current,
Event event,
State next) |
void |
StateListener.onStateExit(State current,
Event event,
State next)
The state was exited.
|
void |
TransitionAdapter.onTransition(State source,
Event event,
State destination) |
void |
TransitionListener.onTransition(State source,
Event event,
State destination)
The transition was processed.
|
void |
DeterministicStateMachine.setStartState(State state) |
void |
StateMachine.setStartState(State state)
Set the start state.
|
Constructor and Description |
---|
Transition(State state,
Event event)
Create the object.
|
Transition(State source,
Event event,
State destination)
Create the object.
|
Copyright 2012-2013 Michal Turek, AnotherFSM.