|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.oanda.fxtrade.api.FXEvent
public abstract class FXEvent
FXEvent is the abstract superclass of all events.
Constructor Summary | |
---|---|
FXEvent()
Default constructor. |
|
FXEvent(boolean t)
Optional constructor to specify the transient flag. |
Method Summary | |
---|---|
abstract FXEventKey |
getKey()
Gets the key for this event. |
abstract void |
handle(FXEventInfo EI,
FXEventManager EM)
The handle method is called once for each FXEventInfo which results in the match method returning true. |
boolean |
isTransient()
Querys whether this event is transient (will only have its handle method called once). |
abstract boolean |
match(FXEventInfo EI)
The match method is used to determine whether the handle method of this event should be called for the given FXEventInfo. |
void |
setTransient(boolean b)
Set whether this event is transient (will only have its handle method called once). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FXEvent()
public FXEvent(boolean t)
t
- The value to set this event's transient flag toMethod Detail |
---|
public abstract FXEventKey getKey()
public void setTransient(boolean b)
b
- The value to set the transient flag topublic boolean isTransient()
public abstract boolean match(FXEventInfo EI)
EI
- The FXEventInfo which is being matched
public abstract void handle(FXEventInfo EI, FXEventManager EM)
EI
- The event info which fired this eventEM
- The event manager which contains this event
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |