|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.EventObject
net.openai.util.fsm.event.StateEvent
public final class StateEvent
The Event object that will be the interface between the
States and their listeners.
| Field Summary | |
|---|---|
static int |
END_FLAG_CHANGE
This type of StateEvent indicates a toggling of the end state flag on the state. |
static int |
ENTER_END
This type of StateEvent indicates a state is done being entered. |
static int |
ENTER_START
This type of StateEvent indicates a state is about to be entered. |
static int |
EXIT_END
This type of StateEvent indicates a state is done exiting. |
static int |
EXIT_START
This type of StateEvent indicates a state is about to be exited. |
static int |
START_FLAG_CHANGE
This type of StateEvent indicates a toggling of the start state flag on the state. |
| Fields inherited from class java.util.EventObject |
|---|
source |
| Constructor Summary | |
|---|---|
StateEvent(State source,
int type)
Constructs a StateEvent object. |
|
| Method Summary | |
|---|---|
int |
getType()
Returns the type of this StateEvent. |
java.lang.String |
toString()
Returns a string representation of this event. |
| Methods inherited from class java.util.EventObject |
|---|
getSource |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ENTER_START
public static final int ENTER_END
public static final int EXIT_START
public static final int EXIT_END
public static final int START_FLAG_CHANGE
public static final int END_FLAG_CHANGE
| Constructor Detail |
|---|
public StateEvent(State source,
int type)
| Method Detail |
|---|
public final int getType()
public final java.lang.String toString()
toString in class java.util.EventObject
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||