|
|||||||||||
| 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.csinput.csKeyboardDriver
| Field Summary |
| Fields inherited from class crystalspace.jbind.impl.csNativeObject |
ImplFactory, nPointer |
| Constructor Summary | |
csKeyboardDriver(iPointer nPointer)
|
|
| Method Summary | |
iKeyComposer |
createKeyComposer()
Return an instance of the keyboard composer. |
void |
doKey(int codeRaw,
int codeCooked,
boolean iDown)
Call this routine to add a key down/up event to queue. |
void |
doKey(int codeRaw,
int codeCooked,
boolean iDown,
boolean autoRepeat)
Call this routine to add a key down/up event to queue. |
void |
doKey(int codeRaw,
int codeCooked,
boolean iDown,
boolean autoRepeat,
int charType)
Call this routine to add a key down/up event to queue. |
static java.lang.Class |
getInterfaceClass()
|
static java.lang.String |
getInterfaceName()
|
static int |
getInterfaceVersion()
|
boolean |
getKeyState(int codeRaw)
Query the state of a key. |
int |
getModifierState(int codeRaw)
Get the current state of the modifiers. |
java.lang.String |
getName()
Return the name of the interface |
int |
getVersion()
Return the version of the interface |
static void |
initSCF()
|
protected boolean |
isNativePointerValidSafe(long pointer)
|
void |
reset()
Call to release all key down flags (when focus switches from application window, for example);. |
| 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, 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 csKeyboardDriver(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 static int getInterfaceVersion()
public static java.lang.String getInterfaceName()
public static java.lang.Class getInterfaceClass()
protected boolean isNativePointerValidSafe(long pointer)
isNativePointerValidSafe in class csNativeObjectpublic iKeyComposer createKeyComposer()
iKeyboardDriver
createKeyComposer in interface iKeyboardDriveriKeyboardDriver.createKeyComposer()
public void doKey(int codeRaw,
int codeCooked,
boolean iDown,
boolean autoRepeat,
int charType)
iKeyboardDriver
doKey in interface iKeyboardDrivercodeRaw - codeCooked - iDown - autoRepeat - charType - iKeyboardDriver.doKey(int, int, boolean, boolean, int)
public void doKey(int codeRaw,
int codeCooked,
boolean iDown,
boolean autoRepeat)
iKeyboardDriver
doKey in interface iKeyboardDrivercodeRaw - codeCooked - iDown - autoRepeat - iKeyboardDriver.doKey(int, int, boolean, boolean)
public void doKey(int codeRaw,
int codeCooked,
boolean iDown)
iKeyboardDriver
doKey in interface iKeyboardDrivercodeRaw - codeCooked - iDown - iKeyboardDriver.doKey(int, int, boolean)public boolean getKeyState(int codeRaw)
iKeyboardDriver
getKeyState in interface iKeyboardDrivercodeRaw -
iKeyboardDriver.getKeyState(int)public int getModifierState(int codeRaw)
iKeyboardDriver
getModifierState in interface iKeyboardDrivercodeRaw -
iKeyboardDriver.getModifierState(int)public void reset()
iKeyboardDriver
reset in interface iKeyboardDriveriKeyboardDriver.reset()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||