Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
A
C
D
E
F
G
I
M
N
P
R
S
T
W
A
add(FSMAction)
- Method in class newstate.tools.
FSMActionList
addEvent(String)
- Method in class newstate.
FSM
This method can be used to add an event to the FSM.
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(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(String, String, String, FSMAction)
- Method in class newstate.
FSM
This method creates a transition between the sourcestate and the target state.
C
CollectEntry
- class wrapatext.newstatepattern.
CollectEntry
.
CollectEntry()
- Constructor for class wrapatext.newstatepattern.
CollectEntry
CollectState
- class wrapatext.statepattern.
CollectState
.
CollectState()
- Constructor for class wrapatext.statepattern.
CollectState
Context
- class wrapatext.statepattern.
Context
.
Context()
- Constructor for class wrapatext.statepattern.
Context
Counter
- class wrapatext.
Counter
.
Counter()
- Constructor for class wrapatext.
Counter
createEvent(Element, FSM)
- Static method in class newstate.tools.
FSMGenerator
createFSMInstance()
- Method in class newstate.
FSM
This method serves as a factory method to create FSMContexts from the FSM.
createState(Element, FSM)
- Static method in class newstate.tools.
FSMGenerator
createTransition(Element, FSM)
- Static method in class newstate.tools.
FSMGenerator
current
- Variable in class wrapatext.statepattern.
Context
D
declareEvents(Element, FSM)
- Static method in class newstate.tools.
FSMGenerator
declareStates(Element, FSM)
- Static method in class newstate.tools.
FSMGenerator
declareTransitions(Element, FSM)
- Static method in class newstate.tools.
FSMGenerator
deserialize(String)
- Static method in class newstate.tools.
Serializer
dispatch(String, Object)
- Method in class newstate.
FSMContext
Dispatch an event e.
doit()
- Static method in class newstate.tools.actions.
MakeActions
E
EmptyState
- class wrapatext.statepattern.
EmptyState
.
EmptyState()
- Constructor for class wrapatext.statepattern.
EmptyState
EOF(Context)
- Method in class wrapatext.statepattern.
State
EOF(Context)
- Method in class wrapatext.statepattern.
CollectState
EOF(Context)
- Method in class wrapatext.statepattern.
EmptyState
EOF(Context)
- Method in class wrapatext.statepattern.
FullState
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
execute(FSMContext, Object)
- Method in class wrapatext.newstatepattern.
FullEntry
execute(FSMContext, Object)
- Method in class wrapatext.newstatepattern.
ProcessChar
execute(FSMContext, Object)
- Method in class wrapatext.newstatepattern.
CollectEntry
execute(FSMContext, Object)
- Method in class wrapatext.newstatepattern.
Reset
execute(FSMContext, Object)
- Method in class wrapatext.newstatepattern.
Init
execute(FSMContext, Object)
- Method in class wrapatext.newstatepattern.
Skip
F
feedChar(char)
- Method in interface wrapatext.
WrapAText
feedChar(char)
- Method in class wrapatext.newstatepattern.
WrapATextFSM
feedChar(char)
- Method in class wrapatext.statepattern.
WrapATextState
feedChar(Context, Character)
- Method in class wrapatext.statepattern.
State
feedChar(Context, Character)
- Method in class wrapatext.statepattern.
CollectState
feedChar(Context, Character)
- Method in class wrapatext.statepattern.
EmptyState
feedChar(Context, Character)
- Method in class wrapatext.statepattern.
FullState
FSM
- class newstate.
FSM
.
This class serves as a access point for the whole framework.
FSM()
- Constructor for class newstate.
FSM
FSMAction
- interface newstate.
FSMAction
.
The FSM uses the command pattern to implement actions.
FSMActionList
- class newstate.tools.
FSMActionList
.
FSMActionList()
- Constructor for class newstate.tools.
FSMActionList
FSMContext
- class newstate.
FSMContext
.
This is the context of a FSM.
FSMContext()
- Constructor for class newstate.
FSMContext
FSMContext(State, FSM)
- Constructor for class newstate.
FSMContext
Create a new context with s as the first state
FSMContext(State, FSM, FSMAction)
- Constructor for class newstate.
FSMContext
Create a new context with s as the first state.
FSMController
- class newstate.tools.
FSMController
.
FSMController.LogWriter
- class newstate.tools.
FSMController.LogWriter
.
FSMController.LogWriter(FSMController, String)
- Constructor for class newstate.tools.
FSMController.LogWriter
FSMController(FSMContext)
- Constructor for class newstate.tools.
FSMController
FSMGenerator
- class newstate.tools.
FSMGenerator
.
FSMGenerator()
- Constructor for class newstate.tools.
FSMGenerator
FullEntry
- class wrapatext.newstatepattern.
FullEntry
.
FullEntry()
- Constructor for class wrapatext.newstatepattern.
FullEntry
FullState
- class wrapatext.statepattern.
FullState
.
FullState()
- Constructor for class wrapatext.statepattern.
FullState
G
generateFSM(String)
- Static method in class newstate.tools.
FSMGenerator
getEvents()
- Method in class newstate.
FSMContext
Find out what events can be sent to the current state
getFirstState()
- Method in class newstate.
FSMContext
getFSM()
- Method in class newstate.
FSMContext
getInitialAction()
- Method in class newstate.
FSMContext
getMessage()
- Method in class newstate.tools.
FSMController.LogWriter
getMessage()
- Method in class newstate.tools.
WriteLogAction
getState()
- Method in class newstate.
FSMContext
getText()
- Method in class newstate.tools.actions.
PrintAction
getValue()
- Method in class wrapatext.
Counter
I
increment()
- Method in class wrapatext.
Counter
Init
- class wrapatext.newstatepattern.
Init
.
Init()
- Constructor for class wrapatext.newstatepattern.
Init
initialize()
- Method in class newstate.
FSMContext
Initialize the context.
M
main(String[])
- Static method in class newstate.tools.actions.
MakeActions
main(String[])
- Static method in class wrapatext.
TestNewState
main(String[])
- Static method in class wrapatext.
TestState
MakeActions
- class newstate.tools.actions.
MakeActions
.
MakeActions()
- Constructor for class newstate.tools.actions.
MakeActions
N
newstate
- package newstate
newstate.test
- package newstate.test
newstate.tools
- package newstate.tools
newstate.tools.actions
- package newstate.tools.actions
P
parse(String)
- Static method in class newstate.tools.
FSMGenerator
PrintAction
- class newstate.tools.actions.
PrintAction
.
PrintAction()
- Constructor for class newstate.tools.actions.
PrintAction
PrintAction(String)
- Constructor for class newstate.tools.actions.
PrintAction
PrintEnteringStateAction
- class newstate.tools.actions.
PrintEnteringStateAction
.
PrintEnteringStateAction()
- Constructor for class newstate.tools.actions.
PrintEnteringStateAction
PrintLeavingStateAction
- class newstate.tools.actions.
PrintLeavingStateAction
.
PrintLeavingStateAction()
- Constructor for class newstate.tools.actions.
PrintLeavingStateAction
ProcessChar
- class wrapatext.newstatepattern.
ProcessChar
.
ProcessChar()
- Constructor for class wrapatext.newstatepattern.
ProcessChar
processChar(Context, Character)
- Method in class wrapatext.statepattern.
State
R
release(Context)
- Method in class wrapatext.statepattern.
State
release(Context)
- Method in class wrapatext.statepattern.
CollectState
release(Context)
- Method in class wrapatext.statepattern.
EmptyState
release(Context)
- Method in class wrapatext.statepattern.
FullState
Reset
- class wrapatext.newstatepattern.
Reset
.
reset()
- Method in class wrapatext.
Counter
Reset()
- Constructor for class wrapatext.newstatepattern.
Reset
S
serialize(Object, String)
- Static method in class newstate.tools.
Serializer
Serializer
- class newstate.tools.
Serializer
.
Serializer()
- Constructor for class newstate.tools.
Serializer
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.
setFSM(FSM)
- Method in class newstate.
FSMContext
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 newstate.
FSMContext
setMessage(String)
- Method in class newstate.tools.
FSMController.LogWriter
setMessage(String)
- Method in class newstate.tools.
WriteLogAction
setState(State)
- Method in class newstate.
FSMContext
setState(State)
- Method in class wrapatext.statepattern.
Context
setText(String)
- Method in class newstate.tools.actions.
PrintAction
skip
- Static variable in class newstate.tools.
FSMGenerator
Skip
- class wrapatext.newstatepattern.
Skip
.
Skip()
- Constructor for class wrapatext.newstatepattern.
Skip
SkipAction
- class newstate.tools.
SkipAction
.
SkipAction()
- Constructor for class newstate.tools.
SkipAction
startCounting()
- Method in class wrapatext.
Stopwatch
State
- class wrapatext.statepattern.
State
.
State()
- Constructor for class wrapatext.statepattern.
State
stopCounting()
- Method in class wrapatext.
Stopwatch
Stopwatch
- class wrapatext.
Stopwatch
.
Stopwatch()
- Constructor for class wrapatext.
Stopwatch
T
TestNewState
- class wrapatext.
TestNewState
.
TestNewState()
- Constructor for class wrapatext.
TestNewState
TestState
- class wrapatext.
TestState
.
TestState()
- Constructor for class wrapatext.
TestState
W
WasteCyckles
- class wrapatext.
WasteCyckles
.
WasteCyckles()
- Constructor for class wrapatext.
WasteCyckles
wasteIt(int)
- Static method in class wrapatext.
WasteCyckles
wrapatext
- package wrapatext
WrapAText
- interface wrapatext.
WrapAText
.
wrapatext.newstatepattern
- package wrapatext.newstatepattern
wrapatext.statepattern
- package wrapatext.statepattern
WrapATextFSM
- class wrapatext.newstatepattern.
WrapATextFSM
.
WrapATextFSM()
- Constructor for class wrapatext.newstatepattern.
WrapATextFSM
WrapATextState
- class wrapatext.statepattern.
WrapATextState
.
WrapATextState()
- Constructor for class wrapatext.statepattern.
WrapATextState
WriteLogAction
- class newstate.tools.
WriteLogAction
.
WriteLogAction(String)
- Constructor for class newstate.tools.
WriteLogAction
A
C
D
E
F
G
I
M
N
P
R
S
T
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES