A C D E F G I L M N P R S T W

A

add(FSMAction) - Method in class nestedstate.tools.FSMActionList
 
add(FSMAction) - Method in class newstate.tools.FSMActionList
 
addEvent(String) - Method in class nestedstate.FSM
This method can be used to add an event to the FSM.
addEvent(String) - Method in class newstate.FSM
This method can be used to add an event to the FSM.
addLeafState(FSMAction, String, FSMAction, String) - Method in class nestedstate.FSM
Add a leafstate.
addLeafState(FSMAction, String, String) - Method in class nestedstate.FSM
Add a leafstate.
addLeafState(String, FSMAction, String) - Method in class nestedstate.FSM
Add a leafstate.
addLeafState(String, String) - Method in class nestedstate.FSM
Add a leafstate.
addNodeState(String, String) - Method in class nestedstate.FSM
Add a nodestate.
addState(FSMAction, String) - Method in class newstate.FSM
This method can be used to add a state to the FSM.
addState(FSMAction, String, FSMAction) - Method in class newstate.FSM
This method can be used to add a state to the FSM.
addState(State) - Method in class nestedstate.NodeState
A nodestate must know what states it has.
addState(String) - Method in class newstate.FSM
This method can be used to add a state to the FSM.
addState(String, FSMAction) - Method in class newstate.FSM
This method can be used to add a state to the FSM.
addTransition(LeafState, FSMEvent, FSMAction) - Method in class nestedstate.State
Adds a transition with this state as source and parameter to as a target.
addTransition(LeafState, FSMEvent, FSMAction) - Method in class nestedstate.NodeState
Adds a transition with this state as source and parameter to as a target.
addTransition(LeafState, FSMEvent, FSMAction) - Method in class nestedstate.LeafState
 
addTransition(NodeState, FSMEvent, FSMAction) - Method in class nestedstate.State
Adds a transition with this state as source and parameter to as a target.
addTransition(NodeState, FSMEvent, FSMAction) - Method in class nestedstate.NodeState
Adds a transition with this state as source and parameter to as a target.
addTransition(NodeState, FSMEvent, FSMAction) - Method in class nestedstate.LeafState
Adds a transition with this state as source and parameter to as a target.
addTransition(String, String, String, FSMAction) - Method in class nestedstate.FSM
This method creates a transition between the sourcestate and the target state.
addTransition(String, String, String, FSMAction) - Method in class newstate.FSM
This method creates a transition between the sourcestate and the target state.

C

createEvent(Element, FSM) - Static method in class nestedstate.tools.FSMGenerator
 
createEvent(Element, FSM) - Static method in class newstate.tools.FSMGenerator
 
createFSMInstance() - Method in class nestedstate.FSM
This method serves as a factory method to create FSMContexts from the FSM.
createFSMInstance() - Method in class newstate.FSM
This method serves as a factory method to create FSMContexts from the FSM.
createLeafState(Element, String, FSM) - Static method in class nestedstate.tools.FSMGenerator
 
createNodeState(Element, String, FSM) - Static method in class nestedstate.tools.FSMGenerator
 
createState(Element, FSM) - Static method in class newstate.tools.FSMGenerator
 
createState(Element, String, FSM) - Static method in class nestedstate.tools.FSMGenerator
 
createTransition(Element, FSM) - Static method in class nestedstate.tools.FSMGenerator
 
createTransition(Element, FSM) - Static method in class newstate.tools.FSMGenerator
 

D

declareEvents(Element, FSM) - Static method in class nestedstate.tools.FSMGenerator
 
declareEvents(Element, FSM) - Static method in class newstate.tools.FSMGenerator
 
declareStates(Element, FSM) - Static method in class nestedstate.tools.FSMGenerator
 
declareStates(Element, FSM) - Static method in class newstate.tools.FSMGenerator
 
declareTransitions(Element, FSM) - Static method in class nestedstate.tools.FSMGenerator
 
declareTransitions(Element, FSM) - Static method in class newstate.tools.FSMGenerator
 
deserialize(String) - Static method in class nestedstate.tools.Serializer
 
deserialize(String) - Static method in class newstate.tools.Serializer
 
dispatch(FSMEvent, Object) - Method in class nestedstate.FSMContext
Dispatch an event e.
dispatch(FSMEvent, Object) - Method in class newstate.FSMContext
Dispatch an event e.
dispatch(FSMEvent, Object, FSMContext) - Method in class nestedstate.State
Dispatch an event.
dispatch(FSMEvent, Object, FSMContext) - Method in class nestedstate.NodeState
Dispatch an event.
dispatch(FSMEvent, Object, FSMContext) - Method in class nestedstate.LeafState
Dispatch an event.
doit() - Static method in class nestedstate.tools.actions.MakeActions
 
doit() - Static method in class newstate.tools.actions.MakeActions
 

E

execute(FSMContext, Object) - Method in interface nestedstate.FSMAction
 
execute(FSMContext, Object) - Method in class nestedstate.tools.WriteLogAction
 
execute(FSMContext, Object) - Method in class nestedstate.tools.FSMController.LogWriter
 
execute(FSMContext, Object) - Method in class nestedstate.tools.FSMActionList
 
execute(FSMContext, Object) - Method in class nestedstate.tools.SkipAction
 
execute(FSMContext, Object) - Method in class nestedstate.tools.actions.PrintLeavingStateAction
 
execute(FSMContext, Object) - Method in class nestedstate.tools.actions.PrintEnteringStateAction
 
execute(FSMContext, Object) - Method in class nestedstate.tools.actions.PrintAction
 
execute(FSMContext, Object) - Method in interface newstate.FSMAction
 
execute(FSMContext, Object) - Method in class newstate.tools.FSMController.LogWriter
 
execute(FSMContext, Object) - Method in class newstate.tools.FSMActionList
 
execute(FSMContext, Object) - Method in class newstate.tools.WriteLogAction
 
execute(FSMContext, Object) - Method in class newstate.tools.SkipAction
 
execute(FSMContext, Object) - Method in class newstate.tools.actions.PrintLeavingStateAction
 
execute(FSMContext, Object) - Method in class newstate.tools.actions.PrintEnteringStateAction
 
execute(FSMContext, Object) - Method in class newstate.tools.actions.PrintAction
 

F

FSM - class nestedstate.FSM.
This class serves as a access point for the whole framework.
FSM - class newstate.FSM.
This class serves as a access point for the whole framework.
FSM() - Constructor for class nestedstate.FSM
Initialize the FSM: create a root NodeState.
FSM() - Constructor for class newstate.FSM
 
FSMAction - interface nestedstate.FSMAction.
The FSM uses the command pattern to implement actions.
FSMAction - interface newstate.FSMAction.
The FSM uses the command pattern to implement actions.
FSMActionList - class nestedstate.tools.FSMActionList.
 
FSMActionList - class newstate.tools.FSMActionList.
 
FSMActionList() - Constructor for class nestedstate.tools.FSMActionList
 
FSMActionList() - Constructor for class newstate.tools.FSMActionList
 
FSMContext - class nestedstate.FSMContext.
This is the context of a FSM.
FSMContext - class newstate.FSMContext.
This is the context of a FSM.
FSMContext() - Constructor for class newstate.FSMContext
 
FSMContext(NodeState) - Constructor for class nestedstate.FSMContext
Create a new context with s as the first state
FSMContext(NodeState, FSMAction) - Constructor for class nestedstate.FSMContext
Create a new context with s as the first state.
FSMContext(State) - Constructor for class newstate.FSMContext
Create a new context with s as the first state
FSMContext(State, FSMAction) - Constructor for class newstate.FSMContext
Create a new context with s as the first state.
FSMController - class nestedstate.tools.FSMController.
 
FSMController - class newstate.tools.FSMController.
 
FSMController.LogWriter - class nestedstate.tools.FSMController.LogWriter.
 
FSMController.LogWriter - class newstate.tools.FSMController.LogWriter.
 
FSMController.LogWriter(FSMController, String) - Constructor for class nestedstate.tools.FSMController.LogWriter
 
FSMController.LogWriter(FSMController, String) - Constructor for class newstate.tools.FSMController.LogWriter
 
FSMController(FSMContext) - Constructor for class nestedstate.tools.FSMController
 
FSMController(FSMContext) - Constructor for class newstate.tools.FSMController
 
FSMEvent - class nestedstate.FSMEvent.
 
FSMEvent - class newstate.FSMEvent.
 
FSMEvent(String) - Constructor for class nestedstate.FSMEvent
Creates an event with name s
FSMEvent(String) - Constructor for class newstate.FSMEvent
Creates an event with name s
FSMGenerator - class nestedstate.tools.FSMGenerator.
 
FSMGenerator - class newstate.tools.FSMGenerator.
 
FSMGenerator() - Constructor for class nestedstate.tools.FSMGenerator
 
FSMGenerator() - Constructor for class newstate.tools.FSMGenerator
 

G

generateFSM(String) - Static method in class nestedstate.tools.FSMGenerator
 
generateFSM(String) - Static method in class newstate.tools.FSMGenerator
 
getDefaultState() - Method in class nestedstate.NodeState
 
getEvents() - Method in class nestedstate.State
Method to find out which events can be dispatched by this state.
getEvents() - Method in class nestedstate.NodeState
Method to find out which events can be dispatched by this state.
getEvents() - Method in class nestedstate.LeafState
Method to find out which events can be dispatched by this state.
getEvents() - Method in class nestedstate.FSMContext
Find out what events can be sent to the current state
getEvents() - Method in class newstate.FSMContext
Find out what events can be sent to the current state
getFirstState() - Method in class newstate.FSMContext
 
getInitialAction() - Method in class nestedstate.FSMContext
 
getInitialAction() - Method in class newstate.FSMContext
 
getLowestDefaultLeaf(LeafState) - Static method in class nestedstate.NodeState
Find out what the lowest default leaf is.
getLowestDefaultLeaf(NodeState) - Static method in class nestedstate.NodeState
Find out what the lowest default leaf is.
getMessage() - Method in class nestedstate.tools.WriteLogAction
 
getMessage() - Method in class nestedstate.tools.FSMController.LogWriter
 
getMessage() - Method in class newstate.tools.FSMController.LogWriter
 
getMessage() - Method in class newstate.tools.WriteLogAction
 
getName() - Method in class nestedstate.State
 
getName() - Method in class nestedstate.FSMEvent
 
getName() - Method in class newstate.FSMEvent
 
getRoot() - Method in class nestedstate.FSM
 
getRoot() - Method in class nestedstate.FSMContext
 
getState() - Method in class nestedstate.NodeState
 
getState() - Method in class nestedstate.FSMContext
 
getState() - Method in class newstate.FSMContext
 
getStateEntryAction() - Method in class nestedstate.LeafState
 
getStateExitAction() - Method in class nestedstate.LeafState
 
getStateWithName(String) - Method in class nestedstate.FSM
Convenience method.
getText() - Method in class nestedstate.tools.actions.PrintAction
 
getText() - Method in class newstate.tools.actions.PrintAction
 

I

initialize() - Method in class nestedstate.FSMContext
Initialize the context.
initialize() - Method in class newstate.FSMContext
Initialize the context.

L

LeafState - class nestedstate.LeafState.
This class models a State.
LeafState(String) - Constructor for class nestedstate.LeafState
 

M

main(String[]) - Static method in class nestedstate.tools.actions.MakeActions
 
main(String[]) - Static method in class newstate.tools.actions.MakeActions
 
MakeActions - class nestedstate.tools.actions.MakeActions.
 
MakeActions - class newstate.tools.actions.MakeActions.
 
MakeActions() - Constructor for class nestedstate.tools.actions.MakeActions
 
MakeActions() - Constructor for class newstate.tools.actions.MakeActions
 

N

name - Variable in class nestedstate.FSMEvent
 
name - Variable in class newstate.FSMEvent
 
nestedstate - package nestedstate
 
nestedstate.test - package nestedstate.test
 
nestedstate.tools - package nestedstate.tools
 
nestedstate.tools.actions - package nestedstate.tools.actions
 
newstate - package newstate
 
newstate.test - package newstate.test
 
newstate.tools - package newstate.tools
 
newstate.tools.actions - package newstate.tools.actions
 
NodeState - class nestedstate.NodeState.
 
NodeState(String) - Constructor for class nestedstate.NodeState
 

P

parse(String) - Static method in class nestedstate.tools.FSMGenerator
 
parse(String) - Static method in class newstate.tools.FSMGenerator
 
PrintAction - class nestedstate.tools.actions.PrintAction.
 
PrintAction - class newstate.tools.actions.PrintAction.
 
PrintAction() - Constructor for class nestedstate.tools.actions.PrintAction
 
PrintAction() - Constructor for class newstate.tools.actions.PrintAction
 
PrintAction(String) - Constructor for class nestedstate.tools.actions.PrintAction
 
PrintAction(String) - Constructor for class newstate.tools.actions.PrintAction
 
PrintEnteringStateAction - class nestedstate.tools.actions.PrintEnteringStateAction.
 
PrintEnteringStateAction - class newstate.tools.actions.PrintEnteringStateAction.
 
PrintEnteringStateAction() - Constructor for class nestedstate.tools.actions.PrintEnteringStateAction
 
PrintEnteringStateAction() - Constructor for class newstate.tools.actions.PrintEnteringStateAction
 
PrintLeavingStateAction - class nestedstate.tools.actions.PrintLeavingStateAction.
 
PrintLeavingStateAction - class newstate.tools.actions.PrintLeavingStateAction.
 
PrintLeavingStateAction() - Constructor for class nestedstate.tools.actions.PrintLeavingStateAction
 
PrintLeavingStateAction() - Constructor for class newstate.tools.actions.PrintLeavingStateAction
 

R

ROOT - Static variable in class nestedstate.FSM
 

S

serialize(Object, String) - Static method in class nestedstate.tools.Serializer
 
serialize(Object, String) - Static method in class newstate.tools.Serializer
 
Serializer - class nestedstate.tools.Serializer.
 
Serializer - class newstate.tools.Serializer.
 
Serializer() - Constructor for class nestedstate.tools.Serializer
 
Serializer() - Constructor for class newstate.tools.Serializer
 
setDefaultState(State) - Method in class nestedstate.NodeState
 
setDefaultState(String) - Method in class nestedstate.FSM
Set the default state for the root state.
setDefaultState(String, String) - Method in class nestedstate.FSM
Set the default state for a nodestate.
setFirstState(State) - Method in class newstate.FSMContext
 
setFirstState(String) - Method in class newstate.FSM
This method is used to set the default state for the FSM.
setInitAction(FSMAction) - Method in class nestedstate.FSM
Sometimes it's necessary to do some initialization before the FSM can be used.
setInitAction(FSMAction) - Method in class newstate.FSM
Sometimes it's necessary to do some initialization before the FSM can be used.
setInitialAction(FSMAction) - Method in class nestedstate.FSMContext
 
setInitialAction(FSMAction) - Method in class newstate.FSMContext
 
setMessage(String) - Method in class nestedstate.tools.WriteLogAction
 
setMessage(String) - Method in class nestedstate.tools.FSMController.LogWriter
 
setMessage(String) - Method in class newstate.tools.FSMController.LogWriter
 
setMessage(String) - Method in class newstate.tools.WriteLogAction
 
setName(String) - Method in class nestedstate.State
 
setName(String) - Method in class nestedstate.FSMEvent
 
setName(String) - Method in class newstate.FSMEvent
 
setRoot(NodeState) - Method in class nestedstate.FSMContext
 
setState(State) - Method in class nestedstate.NodeState
Sets the state s as the current state.
setState(State) - Method in class newstate.FSMContext
 
setStateEntryAction(FSMAction) - Method in class nestedstate.LeafState
 
setStateExitAction(FSMAction) - Method in class nestedstate.LeafState
 
setText(String) - Method in class nestedstate.tools.actions.PrintAction
 
setText(String) - Method in class newstate.tools.actions.PrintAction
 
skip - Static variable in class nestedstate.LeafState
 
skip - Static variable in class newstate.tools.FSMGenerator
 
SkipAction - class nestedstate.tools.SkipAction.
 
SkipAction - class newstate.tools.SkipAction.
 
SkipAction() - Constructor for class nestedstate.tools.SkipAction
 
SkipAction() - Constructor for class newstate.tools.SkipAction
 
State - class nestedstate.State.
This class models a State.
State(String) - Constructor for class nestedstate.State
Initilizes a stateobject with name s.

T

toString() - Method in class nestedstate.State
Convenience method that returns the name of this state.
toString() - Method in class nestedstate.NodeState
 
toString() - Method in class nestedstate.LeafState
 
toString() - Method in class nestedstate.FSMEvent
 
toString() - Method in class newstate.FSMEvent
 

W

WriteLogAction - class nestedstate.tools.WriteLogAction.
 
WriteLogAction - class newstate.tools.WriteLogAction.
 
WriteLogAction(String) - Constructor for class nestedstate.tools.WriteLogAction
 
WriteLogAction(String) - Constructor for class newstate.tools.WriteLogAction
 

A C D E F G I L M N P R S T W