|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectguk.im.State
public class State
A state of the LocaleHandler
FSM.
Constructor Summary | |
---|---|
State()
Default constructor; creates a non final state |
|
State(boolean isFinal)
Creates a new state |
Method Summary | |
---|---|
Action |
addAction(Key key,
Action action)
Adds anew action to this state. |
Action |
getNext(Key key)
Gets the action this state will activate for a given Key |
boolean |
hasNext()
Has this state any actions? |
boolean |
isFinal()
Is this state final? |
void |
setFinal(boolean pFinal)
Sets the final attribute. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public State(boolean isFinal)
isFinal
- public State()
Method Detail |
---|
public Action addAction(Key key, Action action)
key
- action
- public Action getNext(Key key)
Key
key
- public boolean isFinal()
public boolean hasNext()
public void setFinal(boolean pFinal)
pFinal
-
|
GATE Version 3.1-2270 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |