|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The iEventCord is an interface provided by an event queue to any event handlers wanting to receive some subclasses of events ASAP in a specified priority, bypassing the queue itself. Events may also optionally be sent to the normal event queue itself if none of the event handlers in the cord handle the event.
Method Summary | |
int |
getCategory()
Get the category of this cord. |
boolean |
getPass()
Returns true if events are passed on to the owning event queue if all plugins in the cord return false from HandleEvent();. |
int |
insert(iEventHandler handler,
int priority)
Insert an event handler into the cord. |
void |
remove(iEventHandler handler)
Remove an event handler from the cord. |
void |
setPass(boolean pass)
Sets whether events are passed along to the owning event queue if all plugins in the cord return false from HandleEvent();. |
Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getName, getRefCount, getVersion, incRef, queryInterface, queryInterfaceSafe |
Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
Method Detail |
public int getCategory()
public boolean getPass()
public int insert(iEventHandler handler, int priority)
handler
- priority
-
public void remove(iEventHandler handler)
handler
- public void setPass(boolean pass)
pass
-
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |