|
|||||||||||
| 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.evoutlet.csEventOutlet
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csEventOutlet(iPointer nPointer)
|
|
| Method Summary | |
void |
broadcast(int iCode)
Put a broadcast event into event queue. |
void |
broadcast(int iCode,
iPointer iInfo)
Put a broadcast event into event queue. |
iEvent |
createEvent()
Create a event object on behalf of the event queue. |
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 |
void |
immediateBroadcast(int iCode,
iPointer iInfo)
This is a special routine which is called for example when the application is going to be suspended (suspended means "frozen", that is, application is forced to not run for some time). |
static void |
initSCF()
|
protected boolean |
isNativePointerValidSafe()
|
void |
joystick(int iNumber,
int iButton,
boolean iDown,
int x,
int y)
Put a joystick event into event queue. iNumber is joystick number (from 0 to CS_MAX_JOYSTICK_COUNT-1). |
void |
key(int codeRaw,
int codeCooked,
boolean iDown)
Put a keyboard event into event queue. |
void |
mouse(int iButton,
boolean iDown,
int x,
int y)
Put a mouse event into event queue. |
void |
post(iEvent event)
Put a previously created event into system event queue. |
| 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 csEventOutlet(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 void broadcast(int iCode)
iEventOutlet
broadcast in interface iEventOutletiCode -
public void broadcast(int iCode,
iPointer iInfo)
iEventOutlet
broadcast in interface iEventOutletiCode - iInfo - public static int getInterfaceVersion()
public static java.lang.String getInterfaceName()
public static java.lang.Class getInterfaceClass()
protected boolean isNativePointerValidSafe()
public iEvent createEvent()
iEventOutlet
createEvent in interface iEventOutletiEventOutlet.createEvent()
public void immediateBroadcast(int iCode,
iPointer iInfo)
iEventOutlet
immediateBroadcast in interface iEventOutletiCode - iInfo - iEventOutlet.immediateBroadcast(int, crystalspace.jbind.interfaces.iPointer)
public void joystick(int iNumber,
int iButton,
boolean iDown,
int x,
int y)
iEventOutlet
joystick in interface iEventOutletiNumber - iButton - iDown - x - y - iEventOutlet.joystick(int, int, boolean, int, int)
public void key(int codeRaw,
int codeCooked,
boolean iDown)
iEventOutlet
key in interface iEventOutletcodeRaw - codeCooked - iDown - iEventOutlet.key(int, int, boolean)
public void mouse(int iButton,
boolean iDown,
int x,
int y)
iEventOutlet
mouse in interface iEventOutletiButton - iDown - x - y - iEventOutlet.mouse(int, boolean, int, int)public void post(iEvent event)
iEventOutlet
post in interface iEventOutletevent - iEventOutlet.post(crystalspace.jbind.interfaces.iutil.event.iEvent)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||