|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.jinx.action.ActorEvent
public class ActorEvent
This is the base class for all events that are passed between Actors.
ActorEvent objects should only be mutable (changeable) until they pass
through the sendEvent() methods of Actor. Until then, the return value of
getSource() will be null.
Attempts to alter the event while the return value of getSource()
isn't null should throw java.lang.IllegalStateException.
API Stability: Stable.
Constructor Summary | |
---|---|
ActorEvent()
Constructs an ActorEvent. |
Method Summary | |
---|---|
Actor |
getSource()
Provides the source Actor that this ActorEvent originated from. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ActorEvent()
Method Detail |
---|
public Actor getSource()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |