|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface ensures that the implementing event can dispatch itself without someone else needing to look at the events ID or type. This allows us to get ride of all fireEvent(SpecificEventType) methods and replace them with one fireEvent(ZEvent) method that is located in ZSceneGraphObject.
Method Summary | |
void |
dispatchTo(java.lang.Object listener)
This method should dispatch this event to the listener using this events ID code to determine what method in the listener to call. |
java.lang.Class |
getListenerType()
Get the listener type for this event. |
boolean |
isConsumed()
Returns true if this event has previously been consumed by a listener. |
void |
setSource(java.lang.Object aSource)
Set the souce of this event. |
Method Detail |
public void dispatchTo(java.lang.Object listener)
public java.lang.Class getListenerType()
public boolean isConsumed()
public void setSource(java.lang.Object aSource)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |