|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StateEvent
The Event class holds information about the different events that can be handled by the state machine. Events are prioritized depending on the importance of the event. The priority model tries to ensure that old messages are handled before any new ones.
| Method Summary | ||
|---|---|---|
|
encodeType(java.lang.Class<E> enumType)
This method should be adapted by any subclass to return the type corresponding to the actual event. |
|
java.lang.Object |
getData()
Return information object of this StateEvent |
|
java.lang.Enum |
getType()
Return type of this StateEvent |
|
void |
setData(java.lang.Object data)
Set information object to this StateEvent |
|
| Methods inherited from interface java.lang.Comparable |
|---|
compareTo |
| Method Detail |
|---|
<E> E encodeType(java.lang.Class<E> enumType)
java.lang.Enum getType()
void setData(java.lang.Object data)
data - information objectjava.lang.Object getData()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||