- key - Variable in class java.awt.Event
-
The key code of the key that was pressed in a keyboard event.
- KEY_ACTION - Static variable in class java.awt.Event
-
The user has pressed a non-ASCII action key.
- KEY_ACTION_RELEASE - Static variable in class java.awt.Event
-
The user has released a non-ASCII action key.
- KEY_ALPHA_INTERPOLATION - Static variable in class java.awt.RenderingHints
-
Alpha interpolation hint key.
- KEY_ANTIALIASING - Static variable in class java.awt.RenderingHints
-
Antialiasing hint key.
- KEY_COLOR_RENDERING - Static variable in class java.awt.RenderingHints
-
Color rendering hint key.
- KEY_DITHERING - Static variable in class java.awt.RenderingHints
-
Dithering hint key.
- KEY_EVENT_MASK - Static variable in class java.awt.AWTEvent
-
The event mask for selecting key events.
- KEY_FIRST - Static variable in class java.awt.event.KeyEvent
-
The first number in the range of ids used for key events.
- KEY_FRACTIONALMETRICS - Static variable in class java.awt.RenderingHints
-
Font fractional metrics hint key.
- KEY_INTERPOLATION - Static variable in class java.awt.RenderingHints
-
Interpolation hint key.
- KEY_LAST - Static variable in class java.awt.event.KeyEvent
-
The last number in the range of ids used for key events.
- KEY_LOCATION_LEFT - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the key pressed or released is in
the left key location (there is more than one possible location
for this key).
- KEY_LOCATION_NUMPAD - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the key event originated on the
numeric keypad or with a virtual key corresponding to the
numeric keypad.
- KEY_LOCATION_RIGHT - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the key pressed or released is in
the right key location (there is more than one possible location
for this key).
- KEY_LOCATION_STANDARD - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the key pressed or released
is not distinguished as the left or right version of a key,
and did not originate on the numeric keypad (or did not
originate with a virtual key corresponding to the numeric
keypad).
- KEY_LOCATION_UNKNOWN - Static variable in class java.awt.event.KeyEvent
-
A constant indicating that the keyLocation is indeterminate
or not relevant.
- KEY_PRESS - Static variable in class java.awt.Event
-
The user has pressed a normal key.
- KEY_PRESSED - Static variable in class java.awt.event.KeyEvent
-
The "key pressed" event.
- KEY_RELEASE - Static variable in class java.awt.Event
-
The user has released a normal key.
- KEY_RELEASED - Static variable in class java.awt.event.KeyEvent
-
The "key released" event.
- KEY_RENDERING - Static variable in class java.awt.RenderingHints
-
Rendering hint key.
- KEY_STROKE_CONTROL - Static variable in class java.awt.RenderingHints
-
Stroke normalization control hint key.
- KEY_TEXT_ANTIALIASING - Static variable in class java.awt.RenderingHints
-
Text antialiasing hint key.
- KEY_TEXT_LCD_CONTRAST - Static variable in class java.awt.RenderingHints
-
LCD text contrast rendering hint key.
- KEY_TYPED - Static variable in class java.awt.event.KeyEvent
-
The "key typed" event.
- KeyAdapter - Class in java.awt.event
-
An abstract adapter class for receiving keyboard events.
- KeyAdapter() - Constructor for class java.awt.event.KeyAdapter
- KeyboardFocusManager - Class in java.awt
-
The KeyboardFocusManager is responsible for managing the active and focused
Windows, and the current focus owner.
- KeyboardFocusManager() - Constructor for class java.awt.KeyboardFocusManager
-
Initializes a KeyboardFocusManager.
- keyDown(Event, int) - Method in class java.awt.Component
-
Deprecated. As of JDK version 1.1,
replaced by processKeyEvent(KeyEvent).
- KeyEvent - Class in java.awt.event
-
An event which indicates that a keystroke occurred in a component.
- KeyEvent(Component, int, long, int, int, char, int) - Constructor for class java.awt.event.KeyEvent
-
Constructs a KeyEvent
object.
- KeyEvent(Component, int, long, int, int, char) - Constructor for class java.awt.event.KeyEvent
-
Constructs a KeyEvent
object.
- KeyEvent(Component, int, long, int, int) - Constructor for class java.awt.event.KeyEvent
-
- KeyEventDispatcher - Interface in java.awt
-
A KeyEventDispatcher cooperates with the current KeyboardFocusManager in the
targeting and dispatching of all KeyEvents.
- KeyEventPostProcessor - Interface in java.awt
-
A KeyEventPostProcessor cooperates with the current KeyboardFocusManager
in the final resolution of all unconsumed KeyEvents.
- KeyListener - Interface in java.awt.event
-
The listener interface for receiving keyboard events (keystrokes).
- keyPress(int) - Method in class java.awt.Robot
-
Presses a given key.
- keyPressed(KeyEvent) - Method in class java.awt.AWTEventMulticaster
-
Handles the keyPressed event by invoking the
keyPressed methods on listener-a and listener-b.
- keyPressed(KeyEvent) - Method in class java.awt.event.KeyAdapter
-
Invoked when a key has been pressed.
- keyPressed(KeyEvent) - Method in interface java.awt.event.KeyListener
-
Invoked when a key has been pressed.
- keyRelease(int) - Method in class java.awt.Robot
-
Releases a given key.
- keyReleased(KeyEvent) - Method in class java.awt.AWTEventMulticaster
-
Handles the keyReleased event by invoking the
keyReleased methods on listener-a and listener-b.
- keyReleased(KeyEvent) - Method in class java.awt.event.KeyAdapter
-
Invoked when a key has been released.
- keyReleased(KeyEvent) - Method in interface java.awt.event.KeyListener
-
Invoked when a key has been released.
- keySet() - Method in class java.awt.RenderingHints
-
Returns a Set
view of the Keys contained in this
RenderingHints
.
- keyTyped(KeyEvent) - Method in class java.awt.AWTEventMulticaster
-
Handles the keyTyped event by invoking the
keyTyped methods on listener-a and listener-b.
- keyTyped(KeyEvent) - Method in class java.awt.event.KeyAdapter
-
Invoked when a key has been typed.
- keyTyped(KeyEvent) - Method in interface java.awt.event.KeyListener
-
Invoked when a key has been typed.
- keyUp(Event, int) - Method in class java.awt.Component
-
Deprecated. As of JDK version 1.1,
replaced by processKeyEvent(KeyEvent).