| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Map | |
| pack-priv static XKeysym. | |
| private static PlatformLogger | |
| pack-priv static Hashtable | |
| pack-priv static Hashtable | |
| pack-priv static long | |
| pack-priv static long | |
| private static Unsafe | |
| pack-priv static Hashtable |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static char | |
| pack-priv static XKeysym. | getJavaKeycode(long keysym)
Return java.awt.KeyEvent constant meaning (Java) keycode, derived from X keysym. |
| pack-priv static XKeysym. | getJavaKeycode(XKeyEvent ev)
Return java.awt.KeyEvent constant meaning (Java) keycode, derived from X Window KeyEvent. |
| pack-priv static int | |
| private static long | |
| pack-priv static long | |
| pack-priv static int | getLegacyJavaKeycodeOnly(XKeyEvent ev)
Return an integer java keycode apprx as it was before extending keycodes range. |
| public static long | |
| public static boolean | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long |
| javaKeycode2KeysymHash | back to summary |
|---|---|
| private static final Map<Integer, Long> javaKeycode2KeysymHash | |
| kanaLock | back to summary |
|---|---|
| pack-priv static XKeysym. | |
| keyEventLog | back to summary |
|---|---|
| private static PlatformLogger keyEventLog | |
| keysym2JavaKeycodeHash | back to summary |
|---|---|
| pack-priv static Hashtable<Long, XKeysym. | |
| keysym2UCSHash | back to summary |
|---|---|
| pack-priv static Hashtable<Long, Character> keysym2UCSHash | |
| keysym_lowercase | back to summary |
|---|---|
| pack-priv static long keysym_lowercase | |
| keysym_uppercase | back to summary |
|---|---|
| pack-priv static long keysym_uppercase | |
| unsafe | back to summary |
|---|---|
| private static Unsafe unsafe | |
| uppercaseHash | back to summary |
|---|---|
| pack-priv static Hashtable<Long, Long> uppercaseHash | |
| XKeysym | back to summary |
|---|---|
| private XKeysym() | |
| convertKeysym | back to summary |
|---|---|
| public static char convertKeysym(long ks, int state) | |
| getJavaKeycode | back to summary |
|---|---|
| pack-priv static XKeysym. Return java.awt.KeyEvent constant meaning (Java) keycode, derived from X keysym. Some keysyms maps to more than one keycode, these would require extra processing. | |
| getJavaKeycode | back to summary |
|---|---|
| pack-priv static XKeysym. Return java.awt.KeyEvent constant meaning (Java) keycode, derived from X Window KeyEvent. Algorithm is, extract via XKeycodeToKeysym a proper keysym according to Xlib spec rules and err exceptions, then search a java keycode in a table. | |
| getJavaKeycodeOnly | back to summary |
|---|---|
| pack-priv static int getJavaKeycodeOnly(XKeyEvent ev) | |
| getKeypadKeysym | back to summary |
|---|---|
| private static long getKeypadKeysym(XKeyEvent ev) Get a keypad keysym derived from a keycode. I do not check if this is a keypad event, I just presume it. | |
| getKeysym | back to summary |
|---|---|
| pack-priv static long getKeysym(XKeyEvent ev) Return keysym derived from a keycode and modifiers. Usually an input method does this. However non-system input methods (e.g. Java IMs) do not. For rules, see "Xlib - C Language X Interface", MIT X Consortium Standard X Version 11, Release 6 Ch. 12.7 XXX TODO: or maybe not to do: process Mode Lock and therefore not only 0-th and 1-st but 2-nd and 3-rd keysyms for a keystroke. | |
| getLegacyJavaKeycodeOnly | back to summary |
|---|---|
| pack-priv static int getLegacyJavaKeycodeOnly(XKeyEvent ev) Return an integer java keycode apprx as it was before extending keycodes range. This call would ignore for instance XKB and process whatever is on the bottom of keysym stack. Result will not depend on actual locale, will differ between dual/multiple keyboard setup systems (e.g. English+Russian vs French+Russian) but will be someway compatible with old releases. | |
| getUppercaseAlphabetic | back to summary |
|---|---|
| public static long getUppercaseAlphabetic(long keysym) Return uppercase keysym correspondent to a given keysym. If input keysym does not belong to any lower/uppercase pair, return -1. | |
| isKPEvent | back to summary |
|---|---|
| public static boolean isKPEvent(XKeyEvent ev) | |
| javaKeycode2Keysym | back to summary |
|---|---|
| pack-priv static long javaKeycode2Keysym(int jkey) | |
| xkeycode2keysym | back to summary |
|---|---|
| pack-priv static long xkeycode2keysym(XKeyEvent ev, int ndx) | |
| xkeycode2keysym_noxkb | back to summary |
|---|---|
| pack-priv static long xkeycode2keysym_noxkb(XKeyEvent ev, int ndx) | |
| xkeycode2keysym_xkb | back to summary |
|---|---|
| pack-priv static long xkeycode2keysym_xkb(XKeyEvent ev, int ndx) | |
| xkeycode2primary_keysym | back to summary |
|---|---|
| pack-priv static long xkeycode2primary_keysym(XKeyEvent ev) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv int | |
| pack-priv int |
| jkeycode | back to summary |
|---|---|
| pack-priv int jkeycode | |
| keyLocation | back to summary |
|---|---|
| pack-priv int keyLocation | |
| Keysym2JavaKeycode | back to summary |
|---|---|
| pack-priv Keysym2JavaKeycode(int jk, int loc) | |
| getJavaKeycode | back to summary |
|---|---|
| pack-priv int getJavaKeycode() | |
| getKeyLocation | back to summary |
|---|---|
| pack-priv int getKeyLocation() | |