| Klasse java.awt.AWTKeyStroke | 1.4 |
java.lang.Object | +--java.awt.AWTKeyStroke
| Konstruktoren | |
|---|---|
| protected | AWTKeyStroke() |
| protected | AWTKeyStroke(char keyChar, int keyCode, int modifiers, boolean onKeyRelease) |
| Methoden | |
|---|---|
| public final boolean | equals(Object anObject) |
| public static AWTKeyStroke | getAWTKeyStroke(char keyChar) |
| public static AWTKeyStroke | getAWTKeyStroke(String s) |
| public static AWTKeyStroke | getAWTKeyStroke(int keyCode, int modifiers) |
| public static AWTKeyStroke | getAWTKeyStroke(Character keyChar, int modifiers) |
| public static AWTKeyStroke | getAWTKeyStroke(int keyCode, int modifiers, boolean onKeyRelease) |
| public static AWTKeyStroke | getAWTKeyStrokeForEvent(KeyEvent anEvent) |
| public final char | getKeyChar() |
| public final int | getKeyCode() |
| public final int | getKeyEventType() |
| public final int | getModifiers() |
| public int | hashCode() |
| public final boolean | isOnKeyRelease() |
| protected Object | readResolve() |
| protected static void | registerSubclass(Class subclass) |
| public String | toString() |
| Suffix | Typ |
| "shift" | "alt" |
| "control" | "button1" |
| "ctrl" | "button2" |
| "meta" | "button3" |
Am Anfand des Strings kann optional eines der Wörter "pressed" oder "released" vorangestellt werden. Gültige Beispiele für s sind "crtl c", "released END" oder "alt shift %".