|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcrystalspace.jbind.impl.csNativeObject
crystalspace.jbind.impl.csutil.scf.csBase
crystalspace.jbind.impl.csutil.eventq.csEventQueue
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csEventQueue(iPointer nPointer)
|
|
| Method Summary | |
void |
changeListenerTrigger(iEventHandler handler,
int trigger)
Change a listener's trigger. |
void |
clear()
Clear event queue. |
iEvent |
createEvent(byte type)
Create an event, from the pool if there are any free events available. |
iEventOutlet |
createEventOutlet(iEventPlug plug)
Register an event plug and return a new outlet. |
void |
dispatch(iEvent event)
Dispatch a single event from the queue. |
iEvent |
get()
Get next event from queue; returns a null reference if no events are present. |
iEventCord |
getEventCord(int Category,
int Subcategory)
Get the event cord for a given category and subcategory. |
iEventOutlet |
getEventOutlet()
Get a public event outlet for posting just an event. |
static java.lang.Class |
getInterfaceClass()
|
static java.lang.String |
getInterfaceName()
|
static int |
getInterfaceVersion()
|
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
static void |
initSCF()
|
boolean |
isEmpty()
Query if queue is empty. |
protected boolean |
isNativePointerValidSafe()
|
void |
post(iEvent event)
Place an event into queue. |
void |
process()
Process the event queue. |
void |
registerListener(iEventHandler handler,
int trigger)
Register a listener for specific events. |
void |
removeAllListeners()
Unregister all listeners. |
void |
removeListener(iEventHandler handler)
Unregister a listener. |
| Methods inherited from class crystalspace.jbind.impl.csutil.scf.csBase |
decRef, equals, finalize, getRefCount, incRef, nDelete, queryInterface, queryInterfaceSafe |
| Methods inherited from class crystalspace.jbind.impl.csNativeObject |
changePointer, getPointer, getPointer, getPointerArray, hashCode, isMemoryOwner, isNativePointerValid, isNativePointerValidSafe, newNativeObject, setMemoryOwner, toString |
| Methods inherited from class java.lang.Object |
clone, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface crystalspace.jbind.interfaces.iutil.scf.iBase |
decRef, getRefCount, incRef, queryInterface, queryInterfaceSafe |
| Methods inherited from interface crystalspace.jbind.interfaces.iPointer |
changePointer, getPointer, isMemoryOwner, setMemoryOwner |
| Constructor Detail |
public csEventQueue(iPointer nPointer)
nPointer - | Method Detail |
public int getVersion()
iBase
getVersion in interface iBasegetVersion in class csBasepublic java.lang.String getName()
iBase
getName in interface iBasegetName in class csBasepublic static void initSCF()
public iEventOutlet getEventOutlet()
iEventQueue
getEventOutlet in interface iEventQueuepublic static int getInterfaceVersion()
public static java.lang.String getInterfaceName()
public static java.lang.Class getInterfaceClass()
protected boolean isNativePointerValidSafe()
public void changeListenerTrigger(iEventHandler handler,
int trigger)
iEventQueue
changeListenerTrigger in interface iEventQueuehandler - trigger - iEventQueue.changeListenerTrigger(crystalspace.jbind.interfaces.iutil.event.iEventHandler, int)public void clear()
iEventQueue
clear in interface iEventQueueiEventQueue.clear()public iEvent createEvent(byte type)
iEventQueue
createEvent in interface iEventQueuetype -
iEventQueue.createEvent(byte)public iEventOutlet createEventOutlet(iEventPlug plug)
iEventQueue
createEventOutlet in interface iEventQueueplug -
iEventQueue.createEventOutlet(crystalspace.jbind.interfaces.iutil.event.iEventPlug)public void dispatch(iEvent event)
iEventQueue
dispatch in interface iEventQueueevent - iEventQueue.dispatch(crystalspace.jbind.interfaces.iutil.event.iEvent)public iEvent get()
iEventQueue
get in interface iEventQueueiEventQueue.get()
public iEventCord getEventCord(int Category,
int Subcategory)
iEventQueue
getEventCord in interface iEventQueueCategory - Subcategory -
iEventQueue.getEventCord(int, int)public boolean isEmpty()
iEventQueue
isEmpty in interface iEventQueueiEventQueue.isEmpty()public void post(iEvent event)
iEventQueue
post in interface iEventQueueevent - iEventQueue.post(crystalspace.jbind.interfaces.iutil.event.iEvent)public void process()
iEventQueue
process in interface iEventQueueiEventQueue.process()
public void registerListener(iEventHandler handler,
int trigger)
iEventQueue
registerListener in interface iEventQueuehandler - trigger - iEventQueue.registerListener(crystalspace.jbind.interfaces.iutil.event.iEventHandler, int)public void removeAllListeners()
iEventQueue
removeAllListeners in interface iEventQueueiEventQueue.removeAllListeners()public void removeListener(iEventHandler handler)
iEventQueue
removeListener in interface iEventQueuehandler - iEventQueue.removeListener(crystalspace.jbind.interfaces.iutil.event.iEventHandler)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||