|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.KKeyNative
public class KKeyNative
Representation of a key in the format native of the windowing system (eg. X11).
KKey
Constructor Summary | |
---|---|
|
KKeyNative()
Creates a new null KKey. |
protected |
KKeyNative(java.lang.Class dummy)
|
|
KKeyNative(int code,
int mod,
int sym)
|
|
KKeyNative(KKey key)
Creates a new native key for the given KKey code. |
Method Summary | |
---|---|
void |
clear()
Clears the key. |
int |
code()
The native keycode of the key. |
void |
dispose()
Delete the wrapped C++ instance ahead of finalize() |
protected void |
finalize()
Deletes the wrapped C++ instance |
boolean |
init(KKey key)
Creates a new native key for the given KKey code. |
boolean |
isDisposed()
Has the wrapped C++ instance been deleted? |
boolean |
isNull()
Returns true if the key is null (after clear() or empty constructor). |
KKey |
key()
Returns the KKey representation of this key. |
static boolean |
keyboardHasWinKey()
Checks whether the keyboard has a Win key. |
int |
keyCodeQt()
Returns the qt key code. |
int |
mod()
The native modifier flags of the key. |
static KKeyNative |
nil()
Returns a null key. |
int |
sym()
The native symbol (KeySym) of the key. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected KKeyNative(java.lang.Class dummy)
public KKeyNative()
clear()
,
isNull()
,
#null
public KKeyNative(KKey key)
key
- the KKey that contains the generic keypublic KKeyNative(int code, int mod, int sym)
Method Detail |
---|
public void clear()
isNull()
public boolean init(KKey key)
key
- the KKey that contains the generic key
public int keyCodeQt()
org.kde.qt.Qt#Key
public KKey key()
public int code()
public int mod()
public int sym()
public boolean isNull()
clear()
,
#null
public static KKeyNative nil()
isNull()
,
clear()
public static boolean keyboardHasWinKey()
protected void finalize() throws java.lang.InternalError
finalize
in class java.lang.Object
java.lang.InternalError
public void dispose()
public boolean isDisposed()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |