| Modifier and Type | Field and Description |
|---|---|
| private final Component | |
| private int | |
| private int | |
| private int | |
| private byte | |
| private long | |
| private final ByteBuffer | event
Event scratch array |
| private boolean | |
| private static final int[] | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized void | copyEvents(ByteBuffer dest)
Overrides org. |
| private void | |
| private int | |
| private synchronized void | |
| public void | keyPressed(KeyEvent
the event to be processed e)Implements java. |
| public void | keyReleased(KeyEvent
the event to be processed e)Implements java. |
| public void | keyTyped(KeyEvent
the event to be processed e)Implements java. |
| public synchronized void | |
| private void | |
| private void | |
| public void | |
| public void |
| component | back to summary |
|---|---|
| private final Component component | |
| deferred_character | back to summary |
|---|---|
| private int deferred_character | |
| deferred_key_code | back to summary |
|---|---|
| private int deferred_key_code | |
| deferred_key_location | back to summary |
|---|---|
| private int deferred_key_location | |
| deferred_key_state | back to summary |
|---|---|
| private byte deferred_key_state | |
| deferred_nanos | back to summary |
|---|---|
| private long deferred_nanos | |
| event | back to summary |
|---|---|
| private final ByteBuffer event Event scratch array | |
| has_deferred_event | back to summary |
|---|---|
| private boolean has_deferred_event | |
| KEY_MAP | back to summary |
|---|---|
| private static final int[] KEY_MAP | |
| key_states | back to summary |
|---|---|
| private final byte[] key_states | |
| KeyboardEventQueue | back to summary |
|---|---|
| pack-priv KeyboardEventQueue(Component component) | |
| copyEvents | back to summary |
|---|---|
| public synchronized void copyEvents(ByteBuffer dest) Overrides org. Doc from org. Copy available events into the specified buffer. | |
| flushDeferredEvent | back to summary |
|---|---|
| private void flushDeferredEvent() | |
| getMappedKeyCode | back to summary |
|---|---|
| private int getMappedKeyCode(int key_code, int position) | |
| handleKey | back to summary |
|---|---|
| private synchronized void handleKey(int key_code, int key_location, byte state, int character, long nanos) | |
| keyPressed | back to summary |
|---|---|
| public void keyPressed(KeyEvent e) Implements java. Doc from java. Invoked when a key has been pressed.
See the class description for
| |
| keyReleased | back to summary |
|---|---|
| public void keyReleased(KeyEvent e) Implements java. Doc from java. Invoked when a key has been released.
See the class description for
| |
| keyTyped | back to summary |
|---|---|
| public void keyTyped(KeyEvent e) Implements java. Doc from java. Invoked when a key has been typed.
See the class description for
| |
| poll | back to summary |
|---|---|
| public synchronized void poll(ByteBuffer key_down_buffer) | |
| putKeyboardEvent | back to summary |
|---|---|
| private void putKeyboardEvent(int key_code, byte state, int character, long nanos, boolean repeat) | |
| putKeyEvent | back to summary |
|---|---|
| private void putKeyEvent(int key_code, int key_location, byte state, int character, long nanos, boolean repeat) | |
| register | back to summary |
|---|---|
| public void register() | |
| unregister | back to summary |
|---|---|
| public void unregister() | |