java.awt.event

Class KeyEvent

Implemented Interfaces:
Serializable
Known Direct Subclasses:
MenuKeyEvent

public class KeyEvent
extends InputEvent

An event which indicates that a keystroke occurred in a component.

This low-level event is generated by a component object (such as a text field) when a key is pressed, released, or typed. The event is passed to every KeyListener or KeyAdapter object which registered to receive such events using the component's addKeyListener method. (KeyAdapter objects implement the KeyListener interface.) Each such listener object gets this KeyEvent when the event occurs.

"Key typed" events are higher-level and generally do not depend on the platform or keyboard layout. They are generated when a Unicode character is entered, and are the preferred way to find out about character input. In the simplest case, a key typed event is produced by a single key press (e.g., 'a'). Often, however, characters are produced by series of key presses (e.g., 'shift' + 'a'), and the mapping from key pressed events to key typed events may be many-to-one or many-to-many. Key releases are not usually necessary to generate a key typed event, but there are some cases where the key typed event is not generated until a key is released (e.g., entering ASCII sequences via the Alt-Numpad method in Windows). No key typed events are generated for keys that don't generate Unicode characters (e.g., action keys, modifier keys, etc.).

The getKeyChar method always returns a valid Unicode character or CHAR_UNDEFINED. Character input is reported by KEY_TYPED events: KEY_PRESSED and KEY_RELEASED events are not necessarily associated with character input. Therefore, the result of the getKeyChar method is guaranteed to be meaningful only for KEY_TYPED events.

For key pressed and key released events, the getKeyCode method returns the event's keyCode. For key typed events, the getKeyCode method always returns VK_UNDEFINED.

"Key pressed" and "key released" events are lower-level and depend on the platform and keyboard layout. They are generated whenever a key is pressed or released, and are the only way to find out about keys that don't generate character input (e.g., action keys, modifier keys, etc.). The key being pressed or released is indicated by the getKeyCode method, which returns a virtual key code.

Virtual key codes are used to report which keyboard key has been pressed, rather than a character generated by the combination of one or more keystrokes (such as "A", which comes from shift and "a").

For example, pressing the Shift key will cause a KEY_PRESSED event with a VK_SHIFT keyCode, while pressing the 'a' key will result in a VK_A keyCode. After the 'a' key is released, a KEY_RELEASED event will be fired with VK_A. Separately, a KEY_TYPED event with a keyChar value of 'A' is generated.

Notes:

WARNING: Aside from those keys that are defined by the Java language (VK_ENTER, VK_BACK_SPACE, and VK_TAB), do not rely on the values of the VK_ constants. Sun reserves the right to change these values as needed to accomodate a wider range of keyboards in the future.

Since:
1.1
See Also:
KeyAdapter, KeyListener, Tutorial: Writing a Key Listener, Reference: The Java Class Libraries (update file), Serialized Form

Field Summary

static char
CHAR_UNDEFINED
KEY_PRESSED and KEY_RELEASED events which do not map to a valid Unicode character use this for the keyChar value.
static int
KEY_FIRST
The first number in the range of ids used for key events.
static int
KEY_LAST
The last number in the range of ids used for key events.
static int
KEY_LOCATION_LEFT
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).
static int
KEY_LOCATION_NUMPAD
A constant indicating that the key event originated on the numeric keypad or with a virtual key corresponding to the numeric keypad.
static int
KEY_LOCATION_RIGHT
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).
static int
KEY_LOCATION_STANDARD
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).
static int
KEY_LOCATION_UNKNOWN
A constant indicating that the keyLocation is indeterminate or not relevant.
static int
KEY_PRESSED
The "key pressed" event.
static int
KEY_RELEASED
The "key released" event.
static int
KEY_TYPED
The "key typed" event.
static int
VK_0
VK_0 thru VK_9 are the same as ASCII '0' thru '9' (0x30 - 0x39)
static int
VK_1
static int
VK_2
static int
VK_3
static int
VK_4
static int
VK_5
static int
VK_6
static int
VK_7
static int
VK_8
static int
VK_9
static int
VK_A
VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (0x41 - 0x5A)
static int
VK_ACCEPT
Constant for the Accept or Commit function key.
static int
VK_ADD
static int
VK_AGAIN
static int
VK_ALL_CANDIDATES
Constant for the All Candidates function key.
static int
VK_ALPHANUMERIC
Constant for the Alphanumeric function key.
static int
VK_ALT
static int
VK_ALT_GRAPH
Constant for the AltGraph function key.
static int
VK_AMPERSAND
static int
VK_ASTERISK
static int
VK_AT
Constant for the "@" key.
static int
VK_B
static int
VK_BACK_QUOTE
static int
VK_BACK_SLASH
Constant for the back slash key, "\"
static int
VK_BACK_SPACE
static int
VK_BEGIN
Constant for the Begin key.
static int
VK_BRACELEFT
static int
VK_BRACERIGHT
static int
VK_C
static int
VK_CANCEL
static int
VK_CAPS_LOCK
static int
VK_CIRCUMFLEX
Constant for the "^" key.
static int
VK_CLEAR
static int
VK_CLOSE_BRACKET
Constant for the close bracket key, "]"
static int
VK_CODE_INPUT
Constant for the Code Input function key.
static int
VK_COLON
Constant for the ":" key.
static int
VK_COMMA
Constant for the comma key, ","
static int
VK_COMPOSE
Constant for the Compose function key.
static int
VK_CONTEXT_MENU
Constant for the Microsoft Windows Context Menu key.
static int
VK_CONTROL
static int
VK_CONVERT
Constant for the Convert function key.
static int
VK_COPY
static int
VK_CUT
static int
VK_D
static int
VK_DEAD_ABOVEDOT
static int
VK_DEAD_ABOVERING
static int
VK_DEAD_ACUTE
static int
VK_DEAD_BREVE
static int
VK_DEAD_CARON
static int
VK_DEAD_CEDILLA
static int
VK_DEAD_CIRCUMFLEX
static int
VK_DEAD_DIAERESIS
static int
VK_DEAD_DOUBLEACUTE
static int
VK_DEAD_GRAVE
static int
VK_DEAD_IOTA
static int
VK_DEAD_MACRON
static int
VK_DEAD_OGONEK
static int
VK_DEAD_SEMIVOICED_SOUND
static int
VK_DEAD_TILDE
static int
VK_DEAD_VOICED_SOUND
static int
VK_DECIMAL
static int
VK_DELETE
static int
VK_DIVIDE
static int
VK_DOLLAR
Constant for the "$" key.
static int
VK_DOWN
Constant for the non-numpad down arrow key.
static int
VK_E
static int
VK_END
static int
VK_ENTER
static int
VK_EQUALS
Constant for the equals key, "="
static int
VK_ESCAPE
static int
VK_EURO_SIGN
Constant for the Euro currency sign key.
static int
VK_EXCLAMATION_MARK
Constant for the "!" key.
static int
VK_F
static int
VK_F1
Constant for the F1 function key.
static int
VK_F10
Constant for the F10 function key.
static int
VK_F11
Constant for the F11 function key.
static int
VK_F12
Constant for the F12 function key.
static int
VK_F13
Constant for the F13 function key.
static int
VK_F14
Constant for the F14 function key.
static int
VK_F15
Constant for the F15 function key.
static int
VK_F16
Constant for the F16 function key.
static int
VK_F17
Constant for the F17 function key.
static int
VK_F18
Constant for the F18 function key.
static int
VK_F19
Constant for the F19 function key.
static int
VK_F2
Constant for the F2 function key.
static int
VK_F20
Constant for the F20 function key.
static int
VK_F21
Constant for the F21 function key.
static int
VK_F22
Constant for the F22 function key.
static int
VK_F23
Constant for the F23 function key.
static int
VK_F24
Constant for the F24 function key.
static int
VK_F3
Constant for the F3 function key.
static int
VK_F4
Constant for the F4 function key.
static int
VK_F5
Constant for the F5 function key.
static int
VK_F6
Constant for the F6 function key.
static int
VK_F7
Constant for the F7 function key.
static int
VK_F8
Constant for the F8 function key.
static int
VK_F9
Constant for the F9 function key.
static int
VK_FINAL
static int
VK_FIND
static int
VK_FULL_WIDTH
Constant for the Full-Width Characters function key.
static int
VK_G
static int
VK_GREATER
static int
VK_H
static int
VK_HALF_WIDTH
Constant for the Half-Width Characters function key.
static int
VK_HELP
static int
VK_HIRAGANA
Constant for the Hiragana function key.
static int
VK_HOME
static int
VK_I
static int
VK_INPUT_METHOD_ON_OFF
Constant for the input method on/off key.
static int
VK_INSERT
static int
VK_INVERTED_EXCLAMATION_MARK
Constant for the inverted exclamation mark key.
static int
VK_J
static int
VK_JAPANESE_HIRAGANA
Constant for the Japanese-Hiragana function key.
static int
VK_JAPANESE_KATAKANA
Constant for the Japanese-Katakana function key.
static int
VK_JAPANESE_ROMAN
Constant for the Japanese-Roman function key.
static int
VK_K
static int
VK_KANA
static int
VK_KANA_LOCK
Constant for the locking Kana function key.
static int
VK_KANJI
static int
VK_KATAKANA
Constant for the Katakana function key.
static int
VK_KP_DOWN
Constant for the numeric keypad down arrow key.
static int
VK_KP_LEFT
Constant for the numeric keypad left arrow key.
static int
VK_KP_RIGHT
Constant for the numeric keypad right arrow key.
static int
VK_KP_UP
Constant for the numeric keypad up arrow key.
static int
VK_L
static int
VK_LEFT
Constant for the non-numpad left arrow key.
static int
VK_LEFT_PARENTHESIS
Constant for the "(" key.
static int
VK_LESS
static int
VK_M
static int
VK_META
static int
VK_MINUS
Constant for the minus key, "-"
static int
VK_MODECHANGE
static int
VK_MULTIPLY
static int
VK_N
static int
VK_NONCONVERT
Constant for the Don't Convert function key.
static int
VK_NUMBER_SIGN
Constant for the "#" key.
static int
VK_NUMPAD0
static int
VK_NUMPAD1
static int
VK_NUMPAD2
static int
VK_NUMPAD3
static int
VK_NUMPAD4
static int
VK_NUMPAD5
static int
VK_NUMPAD6
static int
VK_NUMPAD7
static int
VK_NUMPAD8
static int
VK_NUMPAD9
static int
VK_NUM_LOCK
static int
VK_O
static int
VK_OPEN_BRACKET
Constant for the open bracket key, "["
static int
VK_P
static int
VK_PAGE_DOWN
static int
VK_PAGE_UP
static int
VK_PASTE
static int
VK_PAUSE
static int
VK_PERIOD
Constant for the period key, "."
static int
VK_PLUS
Constant for the "+" key.
static int
VK_PREVIOUS_CANDIDATE
Constant for the Previous Candidate function key.
static int
VK_PRINTSCREEN
static int
VK_PROPS
static int
VK_Q
static int
VK_QUOTE
static int
VK_QUOTEDBL
static int
VK_R
static int
VK_RIGHT
Constant for the non-numpad right arrow key.
static int
VK_RIGHT_PARENTHESIS
Constant for the ")" key.
static int
VK_ROMAN_CHARACTERS
Constant for the Roman Characters function key.
static int
VK_S
static int
VK_SCROLL_LOCK
static int
VK_SEMICOLON
Constant for the semicolon key, ";"
static int
VK_SEPARATER
This constant is obsolete, and is included only for backwards compatibility.
static int
VK_SEPARATOR
Constant for the Numpad Separator key.
static int
VK_SHIFT
static int
VK_SLASH
Constant for the forward slash key, "/"
static int
VK_SPACE
static int
VK_STOP
static int
VK_SUBTRACT
static int
VK_T
static int
VK_TAB
static int
VK_U
static int
VK_UNDEFINED
This value is used to indicate that the keyCode is unknown.
static int
VK_UNDERSCORE
Constant for the "_" key.
static int
VK_UNDO
static int
VK_UP
Constant for the non-numpad up arrow key.
static int
VK_V
static int
VK_W
static int
VK_WINDOWS
Constant for the Microsoft Windows "Windows" key.
static int
VK_X
static int
VK_Y
static int
VK_Z

Fields inherited from class java.awt.event.InputEvent

ALT_DOWN_MASK, ALT_GRAPH_DOWN_MASK, ALT_GRAPH_MASK, ALT_MASK, BUTTON1_DOWN_MASK, BUTTON1_MASK, BUTTON2_DOWN_MASK, BUTTON2_MASK, BUTTON3_DOWN_MASK, BUTTON3_MASK, CTRL_DOWN_MASK, CTRL_MASK, META_DOWN_MASK, META_MASK, SHIFT_DOWN_MASK, SHIFT_MASK

Fields inherited from class java.awt.event.ComponentEvent

COMPONENT_FIRST, COMPONENT_HIDDEN, COMPONENT_LAST, COMPONENT_MOVED, COMPONENT_RESIZED, COMPONENT_SHOWN

Fields inherited from class java.awt.AWTEvent

ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASK, consumed, id

Fields inherited from class java.util.EventObject

source

Constructor Summary

KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar)
Constructs a KeyEvent object.
KeyEvent(Component source, int id, long when, int modifiers, int keyCode, char keyChar, int keyLocation)

Method Summary

char
getKeyChar()
Returns the character associated with the key in this event.
int
getKeyCode()
Returns the integer keyCode associated with the key in this event.
int
getKeyLocation()
Returns the location of the key that originated this key event.
static String
getKeyModifiersText(int modifiers)
Returns a String describing the modifier key(s), such as "Shift", or "Ctrl+Shift".
static String
getKeyText(int keyCode)
Returns a String describing the keyCode, such as "HOME", "F1" or "A".
boolean
isActionKey()
Returns whether the key in this event is an "action" key.
String
paramString()
Returns a parameter string identifying this event.
void
setKeyChar(char keyChar)
Set the keyChar value to indicate a logical character.
void
setKeyCode(int keyCode)
Set the keyCode value to indicate a physical key.
@Deprecated
void setModifiers(int modifiers)
Deprecated. as of JDK1.1.4

Methods inherited from class java.awt.event.InputEvent

consume, getModifiers, getModifiersEx, getModifiersExText, getWhen, isAltDown, isAltGraphDown, isConsumed, isControlDown, isMetaDown, isShiftDown

Methods inherited from class java.awt.event.ComponentEvent

getComponent, paramString

Methods inherited from class java.awt.AWTEvent

consume, getID, isConsumed, paramString, setSource, toString

Methods inherited from class java.util.EventObject

getSource, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Details

CHAR_UNDEFINED

public static final char CHAR_UNDEFINED
KEY_PRESSED and KEY_RELEASED events which do not map to a valid Unicode character use this for the keyChar value.
Field Value:
'\uffff'
Usages and Demos :

View More Examples of KeyEvent.CHAR_UNDEFINED
   1:                 keycode,
   2:                 KeyEvent.CHAR_UNDEFINED);
   3:     }
   4:         
   5:     private class QueueingKeyAdapter extends QueueingAdapter implements KeyListener {

View Full Code Here
   1:                 keycode,
   2:                 KeyEvent.CHAR_UNDEFINED);
   3:     }
   4: 
   5:     public void requestWindowFocus() throws TimeoutException {

View Full Code Here
   1:                 commandLineInput.setText(null);
   2:                 e.setKeyCode(KeyEvent.CHAR_UNDEFINED);
   3:             }
   4: 
   5:     }

View Full Code Here
   1:                           awtMods, keyCode,
   2:                           KeyEvent.CHAR_UNDEFINED);
   3:         Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(ke);
   4:         ...
   5:         if (keyChar != KeyEvent.CHAR_UNDEFINED)
   6:           {
   7:         ...
   8:                           awtMods, keyCode,
   9:                           KeyEvent.CHAR_UNDEFINED);
  10:         Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(ke);

View Full Code Here
   1:         for (Shortcut s: list) {
   2:             if (s!=null && s.key_id != KeyEvent.CHAR_UNDEFINED) {
   3:                 keys.append(',').append(s.toString());
   4:         ...
   5:             }
   6:             key_id = KeyEvent.CHAR_UNDEFINED;
   7:         }
   8:         
   9:         public void setAccelerator(KeyStroke key) {

View Full Code Here

KEY_FIRST

public static final int KEY_FIRST
The first number in the range of ids used for key events.
Field Value:
400

KEY_LAST

public static final int KEY_LAST
The last number in the range of ids used for key events.
Field Value:
402

KEY_LOCATION_LEFT

public static final int KEY_LOCATION_LEFT
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). Example: the left shift key.
Field Value:
2
Since:
1.4

KEY_LOCATION_NUMPAD

public static final int KEY_LOCATION_NUMPAD
A constant indicating that the key event originated on the numeric keypad or with a virtual key corresponding to the numeric keypad.
Field Value:
4
Since:
1.4

KEY_LOCATION_RIGHT

public static final int KEY_LOCATION_RIGHT
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). Example: the right shift key.
Field Value:
3
Since:
1.4

KEY_LOCATION_STANDARD

public static final int KEY_LOCATION_STANDARD
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).
Field Value:
1
Since:
1.4
Usages and Demos :

View More Examples of KeyEvent.KEY_LOCATION_STANDARD
   1:     public PSWTKeyEvent(org.eclipse.swt.events.KeyEvent ke, int eventType) {
   2:         super(fakeSrc, eventType, ke.time, 0, ke.keyCode, ke.character, KeyEvent.KEY_LOCATION_STANDARD);
   3:         
   4:         swtEvent = ke;
   5:     }

View Full Code Here

KEY_LOCATION_UNKNOWN

public static final int KEY_LOCATION_UNKNOWN
A constant indicating that the keyLocation is indeterminate or not relevant. KEY_TYPED events do not have a keyLocation; this value is used instead.
Field Value:
0
Since:
1.4
Usages and Demos :

View More Examples of KeyEvent.KEY_LOCATION_UNKNOWN
   1:                   modifiers, code, (char)(unicode & 0xFFFF),
   2:                   KeyEvent.KEY_LOCATION_UNKNOWN);
   3:     if (!manager.dispatchEvent (e))
   4:         ...
   5:                   modifiers, code, (char)(unicode & 0xFFFF),
   6:                   KeyEvent.KEY_LOCATION_UNKNOWN);
   7:     QtToolkit.eventQueue.postEvent(e);
   8:   }

View Full Code Here

KEY_PRESSED

public static final int KEY_PRESSED
The "key pressed" event. This event is generated when a key is pushed down.
Field Value:
401
Usages and Demos :

View More Examples of KeyEvent.KEY_PRESSED
   1:                 for (int i=0; i<s.length(); i++) {
   2:                     KeyEvent ke = new KeyEvent(ta, KeyEvent.KEY_PRESSED, 0, 

View Full Code Here
   1:       switch(keyEvent.getID()) {
   2:       case KeyEvent.KEY_PRESSED:
   3:         if(keyEvent.getKeyCode()==17) {
   4:           isRightMouseButton=true;
   5:           return;

View Full Code Here
   1:             switch (e.getID()) {
   2:             case KeyEvent.KEY_PRESSED:
   3:                 keyPressed(e);
   4:                 break;
   5:             case KeyEvent.KEY_RELEASED:

View Full Code Here
   1:     protected void pushButton(Button target) {
   2:         target.dispatchEvent(new KeyEvent(target, KeyEvent.KEY_PRESSED, 
   3:                           System.currentTimeMillis(), 0, KeyEvent.VK_ENTER, 
   4:                           (char)KeyEvent.VK_ENTER));
   5:         target.dispatchEvent(new ActionEvent(target, ActionEvent.ACTION_PERFORMED,

View Full Code Here
   1:         KeyEvent ctrlAltDelEvent =
   2:           new KeyEvent(this, KeyEvent.KEY_PRESSED, 0, modifiers, 127);
   3:         viewer.rfb.writeKeyEvent(ctrlAltDelEvent);
   4: 
   5:         ctrlAltDelEvent =

View Full Code Here

KEY_RELEASED

public static final int KEY_RELEASED
The "key released" event. This event is generated when a key is let up.
Field Value:
402
Usages and Demos :

View More Examples of KeyEvent.KEY_RELEASED
   1:   public void event(AWTEvent e) {
   2:     if (e.getID()==KeyEvent.KEY_RELEASED) getBrowser().releaseGrab(this);
   3:         ...
   4: System.out.println(e.getID()+" => "+KeyEvent.KEY_RELEASED);
   5:   }
   6: }

View Full Code Here
   1: 
   2:       case KeyEvent.KEY_RELEASED:
   3:         if(keyEvent.getKeyCode()==17) {
   4:           isRightMouseButton=false;
   5:           return;

View Full Code Here
   1:                 break;
   2:             case KeyEvent.KEY_RELEASED:
   3:                 keyReleased(e);
   4:                 break;
   5:             default:

View Full Code Here
   1:         ctrlAltDelEvent =
   2:           new KeyEvent(this, KeyEvent.KEY_RELEASED, 0, modifiers, 127);
   3:         viewer.rfb.writeKeyEvent(ctrlAltDelEvent);
   4: 
   5:       } catch (IOException e) {

View Full Code Here
   1: 
   2:             case KeyEvent.KEY_RELEASED:
   3:                 keyReleased(event);
   4:                 break;

View Full Code Here

KEY_TYPED

public static final int KEY_TYPED
The "key typed" event. This event is generated when a character is entered. In the simplest case, it is produced by a single key press. Often, however, characters are produced by series of key presses, and the mapping from key pressed events to key typed events may be many-to-one or many-to-many.
Field Value:
400
Usages and Demos :

View More Examples of KeyEvent.KEY_TYPED
   1: 
   2:             case KeyEvent.KEY_TYPED:
   3:                 keyTyped(event);
   4:                 break;

View Full Code Here
   1:         break;
   2:       case KeyEvent.KEY_TYPED:
   3:         display.evnt[Display.KEY] = 
   4:           "KEY typed: ";
   5:         break;

View Full Code Here
   1:     case KeyEvent.KEY_RELEASED: eventtype = "KEY_RELEASED"; break;
   2:     case KeyEvent.KEY_TYPED:    eventtype = "KEY_TYPED"; break;
   3:     default: eventtype = "UNKNOWN";
   4:         ...
   5:     
   6:     if (e.getID() == KeyEvent.KEY_TYPED) code = "";
   7:     else code = "Code=" + KeyEvent.getKeyText(e.getKeyCode()) +
   8:          " (" + e.getKeyCode() + ")";
   9:     

View Full Code Here
   1:         {
   2:         case KeyEvent.KEY_TYPED:
   3: 
   4: 
   5:             if(keyEventInterceptor != null)

View Full Code Here
   1:           {
   2:             ke = new KeyEvent(awtWindow, KeyEvent.KEY_TYPED, when,
   3:                               awtMods, KeyEvent.VK_UNDEFINED,
   4:                               keyChar);
   5:             Toolkit.getDefaultToolkit().getSystemEventQueue().postEvent(ke);

View Full Code Here

VK_0

public static final int VK_0
VK_0 thru VK_9 are the same as ASCII '0' thru '9' (0x30 - 0x39)
Field Value:
48
Usages and Demos :

View More Examples of KeyEvent.VK_0
   1:     private char getMnemonicChar(int mnemonic) {
   2:         if (mnemonic >= KeyEvent.VK_0 && mnemonic <= KeyEvent.VK_9)
   3:         ...
   4:             return (char) (mnemonic - KeyEvent.VK_0 + '0');
   5:         else if (mnemonic >= KeyEvent.VK_A && mnemonic <= KeyEvent.VK_Z)
   6:             return (char) (mnemonic - KeyEvent.VK_A + 'a');
   7:         else

View Full Code Here
   1:     break;
   2:       case KeyEvent.VK_0:
   3:       case KeyEvent.VK_1:
   4:       case KeyEvent.VK_2:
   5:       case KeyEvent.VK_3:

View Full Code Here
   1:     break;
   2:       case KeyEvent.VK_0:
   3:       case KeyEvent.VK_1:
   4:       case KeyEvent.VK_2:
   5:       case KeyEvent.VK_3:

View Full Code Here
   1:         case KeyEvent.VK_SLASH:
   2:         case KeyEvent.VK_0:
   3:         case KeyEvent.VK_1:
   4:         case KeyEvent.VK_2:
   5:         case KeyEvent.VK_3:

View Full Code Here
   1:         reset_font.putValue(Action.ACCELERATOR_KEY, 
   2:             KeyStroke.getKeyStroke(KeyEvent.VK_0,
   3:                 Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
   4:         reset_font.putValue(Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_N));
   5:         

View Full Code Here

VK_1

public static final int VK_1
Field Value:
49
Usages and Demos :

View More Examples of KeyEvent.VK_1
   1:         menuItem.setAccelerator(KeyStroke.getKeyStroke(
   2:                 KeyEvent.VK_1, ActionEvent.ALT_MASK));
   3:         menuItem.getAccessibleContext().setAccessibleDescription(
   4:                 "This doesn't really do anything");
   5:         menu.add(menuItem);

View Full Code Here
   1:         menuItem.setAccelerator(KeyStroke.getKeyStroke(
   2:                 KeyEvent.VK_1, ActionEvent.ALT_MASK));
   3:         menuItem.getAccessibleContext().setAccessibleDescription(
   4:                 "This doesn't really do anything");
   5:         menuItem.addActionListener(this);

View Full Code Here
   1:         a.putValue("shortcut", KeyStroke.getKeyStroke(
   2:                 KeyEvent.VK_1, Event.ALT_MASK + Event.CTRL_MASK));
   3:         result.add(a);
   4:         
   5:         name = Translator.localize("menu.item.snap-8");

View Full Code Here
   1:       case KeyEvent.VK_0:
   2:       case KeyEvent.VK_1:
   3:       case KeyEvent.VK_2:
   4:       case KeyEvent.VK_3:
   5:       case KeyEvent.VK_4:

View Full Code Here
   1:         menuItem = new JMenuItem("A text-only menu item", KeyEvent.VK_T);
   2:         menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_1,
   3:                 ActionEvent.ALT_MASK));
   4:         menuItem.getAccessibleContext().setAccessibleDescription("This doesn't really do anything");
   5:         menuItem.addActionListener(this);

View Full Code Here

VK_2

public static final int VK_2
Field Value:
50
Usages and Demos :

View More Examples of KeyEvent.VK_2
   1:         putValue(AbstractAction.SHORT_DESCRIPTION, "Select in Table");
   2:         putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_2, ActionEvent.ALT_MASK));
   3:     }
   4: 
   5:     public void actionPerformed(ActionEvent e) {

View Full Code Here
   1:         menuItem.setAccelerator(KeyStroke.getKeyStroke(
   2:                 KeyEvent.VK_2, ActionEvent.ALT_MASK));
   3:         submenu.add(menuItem);
   4: 
   5:         menuItem = new JMenuItem("Another item");

View Full Code Here
   1:         menuItem.setAccelerator(KeyStroke.getKeyStroke(
   2:                 KeyEvent.VK_2, ActionEvent.ALT_MASK));
   3:         menuItem.addActionListener(this);
   4:         submenu.add(menuItem);

View Full Code Here
   1:       case KeyEvent.VK_1:
   2:       case KeyEvent.VK_2:
   3:       case KeyEvent.VK_3:
   4:       case KeyEvent.VK_4:
   5:       case KeyEvent.VK_5:

View Full Code Here
   1:         menuItem = new JMenuItem("An item in the submenu");
   2:         menuItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_2,
   3:                 ActionEvent.ALT_MASK));
   4:         menuItem.addActionListener(this);
   5:         submenu.add(menuItem);

View Full Code Here

VK_3

public static final int VK_3
Field Value:
51
Usages and Demos :

View More Examples of KeyEvent.VK_3
   1:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,
   2:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,
   3:             KeyEvent.VK_7, KeyEvent.VK_8, KeyEvent.VK_9 };
   4: 
   5:     public OpenDocumentAction(int index, Document document,

View Full Code Here
   1:       case KeyEvent.VK_2:
   2:       case KeyEvent.VK_3:
   3:       case KeyEvent.VK_4:
   4:       case KeyEvent.VK_5:
   5:       case KeyEvent.VK_6:

View Full Code Here
   1:       case KeyEvent.VK_2:
   2:       case KeyEvent.VK_3:
   3:       case KeyEvent.VK_4:
   4:       case KeyEvent.VK_5:
   5:       case KeyEvent.VK_6:

View Full Code Here
   1:         case KeyEvent.VK_2:
   2:         case KeyEvent.VK_3:
   3:         case KeyEvent.VK_4:
   4:         case KeyEvent.VK_5:
   5:         case KeyEvent.VK_6:

View Full Code Here
   1:         case KeyEvent.VK_2: tray.skip(2); restart(); break;
   2:         case KeyEvent.VK_3: tray.skip(3); restart(); break;
   3:         case KeyEvent.VK_4: tray.skip(4); restart(); break;
   4:         case KeyEvent.VK_5: tray.skip(5); restart(); break;
   5:         case KeyEvent.VK_6: tray.skip(6); restart(); break;

View Full Code Here

VK_4

public static final int VK_4
Field Value:
52
Usages and Demos :

View More Examples of KeyEvent.VK_4
   1:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,
   2:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,
   3:             KeyEvent.VK_7, KeyEvent.VK_8, KeyEvent.VK_9 };
   4: 
   5:     public OpenDocumentAction(int index, Document document,

View Full Code Here
   1:       case KeyEvent.VK_3:
   2:       case KeyEvent.VK_4:
   3:       case KeyEvent.VK_5:
   4:       case KeyEvent.VK_6:
   5:       case KeyEvent.VK_7:

View Full Code Here
   1:       case KeyEvent.VK_3:
   2:       case KeyEvent.VK_4:
   3:       case KeyEvent.VK_5:
   4:       case KeyEvent.VK_6:
   5:       case KeyEvent.VK_7:

View Full Code Here
   1:         case KeyEvent.VK_3:
   2:         case KeyEvent.VK_4:
   3:         case KeyEvent.VK_5:
   4:         case KeyEvent.VK_6:
   5:         case KeyEvent.VK_7:

View Full Code Here
   1:         case KeyEvent.VK_3: tray.skip(3); restart(); break;
   2:         case KeyEvent.VK_4: tray.skip(4); restart(); break;
   3:         case KeyEvent.VK_5: tray.skip(5); restart(); break;
   4:         case KeyEvent.VK_6: tray.skip(6); restart(); break;
   5:         case KeyEvent.VK_7: tray.skip(7); restart(); break;

View Full Code Here

VK_5

public static final int VK_5
Field Value:
53
Usages and Demos :

View More Examples of KeyEvent.VK_5
   1:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,
   2:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,
   3:             KeyEvent.VK_7, KeyEvent.VK_8, KeyEvent.VK_9 };
   4: 
   5:     public OpenDocumentAction(int index, Document document,

View Full Code Here
   1:       case KeyEvent.VK_4:
   2:       case KeyEvent.VK_5:
   3:       case KeyEvent.VK_6:
   4:       case KeyEvent.VK_7:
   5:       case KeyEvent.VK_8:

View Full Code Here
   1:       case KeyEvent.VK_4:
   2:       case KeyEvent.VK_5:
   3:       case KeyEvent.VK_6:
   4:       case KeyEvent.VK_7:
   5:       case KeyEvent.VK_8:

View Full Code Here
   1:         case KeyEvent.VK_4:
   2:         case KeyEvent.VK_5:
   3:         case KeyEvent.VK_6:
   4:         case KeyEvent.VK_7:
   5:         case KeyEvent.VK_8:

View Full Code Here
   1:         case KeyEvent.VK_4: tray.skip(4); restart(); break;
   2:         case KeyEvent.VK_5: tray.skip(5); restart(); break;
   3:         case KeyEvent.VK_6: tray.skip(6); restart(); break;
   4:         case KeyEvent.VK_7: tray.skip(7); restart(); break;
   5:         case KeyEvent.VK_8: tray.skip(8); restart(); break;

View Full Code Here

VK_6

public static final int VK_6
Field Value:
54
Usages and Demos :

View More Examples of KeyEvent.VK_6
   1:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,
   2:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,
   3:             KeyEvent.VK_7, KeyEvent.VK_8, KeyEvent.VK_9 };
   4: 
   5:     public OpenDocumentAction(int index, Document document,

View Full Code Here
   1:         putValue(AbstractAction.SMALL_ICON, getIcon("/icon/and.png"));
   2:         putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_6, ActionEvent.ALT_MASK));
   3:     }
   4: 
   5:     public void actionPerformed(ActionEvent e) {

View Full Code Here
   1:       case KeyEvent.VK_5:
   2:       case KeyEvent.VK_6:
   3:       case KeyEvent.VK_7:
   4:       case KeyEvent.VK_8:
   5:       case KeyEvent.VK_9:

View Full Code Here
   1:       case KeyEvent.VK_5:
   2:       case KeyEvent.VK_6:
   3:       case KeyEvent.VK_7:
   4:       case KeyEvent.VK_8:
   5:       case KeyEvent.VK_9:

View Full Code Here
   1:         case KeyEvent.VK_5:
   2:         case KeyEvent.VK_6:
   3:         case KeyEvent.VK_7:
   4:         case KeyEvent.VK_8:
   5:         case KeyEvent.VK_9:

View Full Code Here

VK_7

public static final int VK_7
Field Value:
55
Usages and Demos :

View More Examples of KeyEvent.VK_7
   1:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,
   2:             KeyEvent.VK_7, KeyEvent.VK_8, KeyEvent.VK_9 };
   3: 
   4:     public OpenDocumentAction(int index, Document document,
   5:             ActionListener listener) {

View Full Code Here
   1:         putValue(AbstractAction.SMALL_ICON, getIcon("/icon/or.png"));
   2:         putValue(AbstractAction.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_7, ActionEvent.ALT_MASK));
   3:     }
   4: 
   5:     public void actionPerformed(ActionEvent e) {

View Full Code Here
   1:       case KeyEvent.VK_6:
   2:       case KeyEvent.VK_7:
   3:       case KeyEvent.VK_8:
   4:       case KeyEvent.VK_9:
   5:        break;

View Full Code Here
   1:         private final int mnemonicAction = 'P';
   2:         private final int keyAction=java.awt.event.KeyEvent.VK_7;
   3:         private final int keyModifier=java.awt.event.KeyEvent.CTRL_MASK;
   4:         public PinGraphAction() {
   5:         super();

View Full Code Here
   1:       case KeyEvent.VK_6:
   2:       case KeyEvent.VK_7:
   3:       case KeyEvent.VK_8:
   4:       case KeyEvent.VK_9:
   5:        break;

View Full Code Here

VK_8

public static final int VK_8
Field Value:
56
Usages and Demos :

View More Examples of KeyEvent.VK_8
   1:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,
   2:             KeyEvent.VK_7, KeyEvent.VK_8, KeyEvent.VK_9 };
   3: 
   4:     public OpenDocumentAction(int index, Document document,
   5:             ActionListener listener) {

View Full Code Here
   1:       case KeyEvent.VK_7:
   2:       case KeyEvent.VK_8:
   3:       case KeyEvent.VK_9:
   4:        break;
   5:       case KeyEvent.VK_ENTER:

View Full Code Here
   1:       case KeyEvent.VK_7:
   2:       case KeyEvent.VK_8:
   3:       case KeyEvent.VK_9:
   4:        break;
   5:       case KeyEvent.VK_ENTER:

View Full Code Here
   1:         case KeyEvent.VK_7:
   2:         case KeyEvent.VK_8:
   3:         case KeyEvent.VK_9:
   4:         case KeyEvent.VK_SEMICOLON:
   5:         case KeyEvent.VK_EQUALS   :

View Full Code Here
   1:         case KeyEvent.VK_7: tray.skip(7); restart(); break;
   2:         case KeyEvent.VK_8: tray.skip(8); restart(); break;
   3:         case KeyEvent.VK_9: tray.skip(9); restart(); break;
   4:         case KeyEvent.VK_SPACE: 
   5:         if (paused) {

View Full Code Here

VK_9

public static final int VK_9
Field Value:
57
Usages and Demos :

View More Examples of KeyEvent.VK_9
   1:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,
   2:             KeyEvent.VK_7, KeyEvent.VK_8, KeyEvent.VK_9 };
   3: 
   4:     public OpenDocumentAction(int index, Document document,
   5:             ActionListener listener) {

View Full Code Here
   1:       case KeyEvent.VK_8:
   2:       case KeyEvent.VK_9:
   3:        break;
   4:       case KeyEvent.VK_ENTER:
   5:     key=0xff0d; break;

View Full Code Here
   1:       case KeyEvent.VK_8:
   2:       case KeyEvent.VK_9:
   3:        break;
   4:       case KeyEvent.VK_ENTER:
   5:     key=0xff0d; break;

View Full Code Here
   1:         case KeyEvent.VK_8:
   2:         case KeyEvent.VK_9:
   3:         case KeyEvent.VK_SEMICOLON:
   4:         case KeyEvent.VK_EQUALS   :
   5:         case KeyEvent.VK_A:

View Full Code Here
   1:         case KeyEvent.VK_8: tray.skip(8); restart(); break;
   2:         case KeyEvent.VK_9: tray.skip(9); restart(); break;
   3:         case KeyEvent.VK_SPACE: 
   4:         if (paused) {
   5:             changer = new Changer();

View Full Code Here

VK_A

public static final int VK_A
VK_A thru VK_Z are the same as ASCII 'A' thru 'Z' (0x41 - 0x5A)
Field Value:
65
Usages and Demos :

View More Examples of KeyEvent.VK_A
   1:     super("About");
   2:     putValue(Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_A));
   3:     this.parentComponent = parentComponent;
   4:   }
   5:   public void actionPerformed(ActionEvent actionEvent) {

View Full Code Here
   1:         JButton fileButton = new JButton("About");
   2:         fileButton.setMnemonic(KeyEvent.VK_A);
   3:         fileButton.addActionListener(printAction);
   4: 
   5:         frame.setJMenuBar(menuBar);

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("SaveAs"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_A));
   3:   }
   4:   
   5:   public void actionPerformed(ActionEvent event) {

View Full Code Here
   1:         result.add(createCommandMenuItem(new SelectCommand("Select All"),
   2:                                          KeyEvent.VK_A));
   3:         result.add(createCommandMenuItem(new SelectCommand("Invert Selection",
   4:                                                            Figure.class,
   5:                                                            SelectCommand.INVERT)));

View Full Code Here
   1:         m_btnApply = getButton(KongaButtonPanel.APPLY);
   2:         m_btnApply.setMnemonic(KeyEvent.VK_A);
   3:         m_btnReset = getButton(KongaButtonPanel.RESET);
   4:         m_btnReset.setMnemonic(KeyEvent.VK_R);
   5:         if( bShowCancelButton ) {

View Full Code Here

VK_ACCEPT

public static final int VK_ACCEPT
Constant for the Accept or Commit function key.
Field Value:
30
Usages and Demos :

View More Examples of KeyEvent.VK_ACCEPT
   1:         case KeyEvent.VK_NONCONVERT:
   2:         case KeyEvent.VK_ACCEPT:
   3:         case KeyEvent.VK_MODECHANGE:
   4:         case KeyEvent.VK_KANA:
   5:         case KeyEvent.VK_KANJI:

View Full Code Here
   1:     keyTable.put("NONCONVERT", new Integer(KeyEvent.VK_NONCONVERT));
   2:     keyTable.put("ACCEPT", new Integer(KeyEvent.VK_ACCEPT));
   3:     keyTable.put("MODECHANGE", new Integer(KeyEvent.VK_MODECHANGE));
   4:     keyTable.put("KANA", new Integer(KeyEvent.VK_KANA));
   5:     keyTable.put("KANJI", new Integer(KeyEvent.VK_KANJI));

View Full Code Here
   1:       case KeyEvent.VK_NONCONVERT: return "NONCONVERT";
   2:       case KeyEvent.VK_ACCEPT: return "ACCEPT";
   3:       case KeyEvent.VK_MODECHANGE: return "MODECHANGE";
   4:       case KeyEvent.VK_KANA: return "KANA";
   5:       case KeyEvent.VK_KANJI: return "KANJI";

View Full Code Here

VK_ADD

public static final int VK_ADD
Field Value:
107
Usages and Demos :

View More Examples of KeyEvent.VK_ADD
   1:         ApplicationImages.ICON_ZOOMIN_16,
   2:         KeyStroke.getKeyStroke(KeyEvent.VK_ADD, 0));
   3:     }
   4: 
   5:     public void actionPerformed(ActionEvent e) {

View Full Code Here
   1:     key=0xffaa; break;
   2:       case KeyEvent.VK_ADD:
   3:     key=0xffab; break;
   4:       case KeyEvent.VK_SEPARATER:
   5:     key=0xffac; break;

View Full Code Here
   1:     key=0xffaa; break;
   2:       case KeyEvent.VK_ADD:
   3:     key=0xffab; break;
   4:       case KeyEvent.VK_SEPARATER:
   5:     key=0xffac; break;

View Full Code Here
   1:         case KeyEvent.VK_MULTIPLY:
   2:         case KeyEvent.VK_ADD:
   3:                     if(modifiers == InputEvent.ALT_MASK)
   4:                         last = LAST_ALT;
   5:                     break;

View Full Code Here
   1:     keyTable.put("MULTIPLY", new Integer(KeyEvent.VK_MULTIPLY));
   2:     keyTable.put("ADD", new Integer(KeyEvent.VK_ADD));
   3:     keyTable.put("SEPARATER", new Integer(KeyEvent.VK_SEPARATER));
   4:     keyTable.put("SUBTRACT", new Integer(KeyEvent.VK_SUBTRACT));
   5:     keyTable.put("DECIMAL", new Integer(KeyEvent.VK_DECIMAL));

View Full Code Here

VK_AGAIN

public static final int VK_AGAIN
Field Value:
65481
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_AGAIN
   1: 
   2:         case KeyEvent.VK_AGAIN:
   3:         case KeyEvent.VK_UNDO:
   4:         case KeyEvent.VK_COPY:
   5:         case KeyEvent.VK_PASTE:

View Full Code Here
   1:     keyTable.put("UNDO", new Integer(KeyEvent.VK_UNDO));
   2:     keyTable.put("AGAIN", new Integer(KeyEvent.VK_AGAIN));
   3:     keyTable.put("FIND", new Integer(KeyEvent.VK_FIND));
   4:     keyTable.put("PROPS", new Integer(KeyEvent.VK_PROPS));
   5:     keyTable.put("STOP", new Integer(KeyEvent.VK_STOP));

View Full Code Here
   1:       
   2:       case KeyEvent.VK_AGAIN: return "AGAIN";
   3:       case KeyEvent.VK_UNDO: return "UNDO";
   4:       case KeyEvent.VK_COPY: return "COPY";
   5:       case KeyEvent.VK_PASTE: return "PASTE";

View Full Code Here

VK_ALL_CANDIDATES

public static final int VK_ALL_CANDIDATES
Constant for the All Candidates function key.
Field Value:
256
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_ALL_CANDIDATES
   1:         case KeyEvent.VK_ROMAN_CHARACTERS:
   2:         case KeyEvent.VK_ALL_CANDIDATES:
   3:         case KeyEvent.VK_PREVIOUS_CANDIDATE:
   4:         case KeyEvent.VK_CODE_INPUT:
   5:         case KeyEvent.VK_JAPANESE_KATAKANA:

View Full Code Here
   1:     keyTable.put("ROMAN_CHARACTERS", new Integer(KeyEvent.VK_ROMAN_CHARACTERS));
   2:     keyTable.put("ALL_CANDIDATES", new Integer(KeyEvent.VK_ALL_CANDIDATES));
   3:     keyTable.put("PREVIOUS_CONDIDATE", new Integer(KeyEvent.VK_PREVIOUS_CANDIDATE));
   4:     keyTable.put("CODE_INPUT", new Integer(KeyEvent.VK_CODE_INPUT));
   5:     keyTable.put("JAPANESE_KATAKANA", new Integer(KeyEvent.VK_JAPANESE_KATAKANA));

View Full Code Here
   1:       case KeyEvent.VK_ROMAN_CHARACTERS: return "ROMAN_CHARACTERS";
   2:       case KeyEvent.VK_ALL_CANDIDATES: return "ALL_CANDIDATES";
   3:       case KeyEvent.VK_PREVIOUS_CANDIDATE: return "PREVIOUS_CANDIDATE";
   4:       case KeyEvent.VK_CODE_INPUT: return "CODE_INPUT";
   5:       case KeyEvent.VK_JAPANESE_KATAKANA: return "JAPANESE_KATAKANA";

View Full Code Here

VK_ALPHANUMERIC

public static final int VK_ALPHANUMERIC
Constant for the Alphanumeric function key.
Field Value:
240
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_ALPHANUMERIC
   1:         case KeyEvent.VK_KANJI:
   2:         case KeyEvent.VK_ALPHANUMERIC:
   3:         case KeyEvent.VK_KATAKANA:
   4:         case KeyEvent.VK_HIRAGANA:
   5:         case KeyEvent.VK_FULL_WIDTH:

View Full Code Here
   1: 
   2:     keyTable.put("ALPHANUMERIC", new Integer(KeyEvent.VK_ALPHANUMERIC));
   3:     keyTable.put("KATAKANA", new Integer(KeyEvent.VK_KATAKANA));
   4:     keyTable.put("HIRAGANA", new Integer(KeyEvent.VK_HIRAGANA));
   5:     keyTable.put("FULL_WIDTH", new Integer(KeyEvent.VK_FULL_WIDTH));

View Full Code Here
   1:       case KeyEvent.VK_KANJI: return "KANJI";
   2:       case KeyEvent.VK_ALPHANUMERIC: return "ALPHANUMERIC";
   3:       case KeyEvent.VK_KATAKANA: return "KATAKANA";
   4:       case KeyEvent.VK_HIRAGANA: return "HIRAGANA";
   5:       case KeyEvent.VK_FULL_WIDTH: return "FULL_WIDTH";

View Full Code Here

VK_ALT

public static final int VK_ALT
Field Value:
18
Usages and Demos :

View More Examples of KeyEvent.VK_ALT
   1:                        KeyEvent.VK_D,
   2:                        KeyEvent.VK_ALT);
   3: 
   4:     int left, right, thrust, fire;

View Full Code Here
   1:       KeyEvent.VK_ENTER, KeyEvent.VK_ESCAPE, KeyEvent.VK_TAB, KeyEvent.VK_SHIFT,
   2:       KeyEvent.VK_ALT, KeyEvent.VK_CONTROL, KeyEvent.VK_META
   3:   };
   4: 

View Full Code Here
   1:     key=0xffe3; break;
   2:       case KeyEvent.VK_ALT:
   3:     key=0xffe9; break;
   4:       case KeyEvent.VK_PAUSE:
   5:     key=0xff13; break;

View Full Code Here
   1:                 switch(currentKeyCode) { 
   2:                 case KeyEvent.VK_ALT: 
   3:                 case KeyEvent.VK_ALT_GRAPH: 
   4:         ...
   5:                     switch(keyCode) { 
   6:                     case KeyEvent.VK_ALT: 
   7:                     case KeyEvent.VK_ALT_GRAPH: 
   8:                     case KeyEvent.VK_CONTROL: 
   9:                     case KeyEvent.VK_SHIFT: 

View Full Code Here
   1:     key=0xffe3; break;
   2:       case KeyEvent.VK_ALT:
   3:     key=0xffe9; break;
   4:       case KeyEvent.VK_PAUSE:
   5:     key=0xff13; break;

View Full Code Here

VK_ALT_GRAPH

public static final int VK_ALT_GRAPH
Constant for the AltGraph function key.
Field Value:
65406
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_ALT_GRAPH
   1:                 case KeyEvent.VK_ALT: 
   2:                 case KeyEvent.VK_ALT_GRAPH: 
   3:                 case KeyEvent.VK_CONTROL: 
   4:         ...
   5:                     case KeyEvent.VK_ALT: 
   6:                     case KeyEvent.VK_ALT_GRAPH: 
   7:                     case KeyEvent.VK_CONTROL: 
   8:                     case KeyEvent.VK_SHIFT: 
   9:                     default: 

View Full Code Here
   1:         case KeyEvent.VK_ALT:
   2:         case KeyEvent.VK_ALT_GRAPH:
   3:         case KeyEvent.VK_CONTROL:
   4:         case KeyEvent.VK_SHIFT:
   5:         case KeyEvent.VK_META:

View Full Code Here
   1:             case KeyEvent.VK_CAPS_LOCK:
   2:             case KeyEvent.VK_ALT_GRAPH:
   3:                 return -1;
   4:         }
   5:         return -2;

View Full Code Here
   1:     keyTable.put("COMPOSE", new Integer(KeyEvent.VK_COMPOSE));
   2:     keyTable.put("ALT_GRAPH", new Integer(KeyEvent.VK_ALT_GRAPH));
   3:     }
   4: }

View Full Code Here
   1:       (key_code == KeyEvent.VK_ALT) || 
   2:       (key_code == KeyEvent.VK_ALT_GRAPH) || 
   3:       (key_code == KeyEvent.BUTTON1_DOWN_MASK) ||
   4:         ...
   5:       case KeyEvent.VK_COMPOSE: return "COMPOSE";
   6:       case KeyEvent.VK_ALT_GRAPH: return "ALT_GRAPH";
   7:     }
   8:     
   9:     if (keyCode >= KeyEvent.VK_NUMPAD0 && keyCode <= KeyEvent.VK_NUMPAD9) {

View Full Code Here

VK_AMPERSAND

public static final int VK_AMPERSAND
Field Value:
150
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_AMPERSAND
   1:         case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   2:         case KeyEvent.VK_AMPERSAND:
   3:         case KeyEvent.VK_ASTERISK:
   4:         case KeyEvent.VK_QUOTEDBL:
   5:         case KeyEvent.VK_LESS:

View Full Code Here
   1:               case Latin1.AMPERSAND:
   2:                 mapped = KeyEvent.VK_AMPERSAND;
   3:                 break;
   4:               case Latin1.APOSTROPHE:
   5:                 mapped = KeyEvent.VK_QUOTE;

View Full Code Here
   1: 
   2:     keyTable.put("AMPERSAND", new Integer(KeyEvent.VK_AMPERSAND));
   3:     keyTable.put("ASTERISK", new Integer(KeyEvent.VK_ASTERISK));
   4:     keyTable.put("QUOTEDBL", new Integer(KeyEvent.VK_QUOTEDBL));
   5:     keyTable.put("LESS", new Integer(KeyEvent.VK_LESS));

View Full Code Here
   1:       
   2:       case KeyEvent.VK_AMPERSAND: return "AMPERSAND";
   3:       case KeyEvent.VK_ASTERISK: return "ASTERISK";
   4:       case KeyEvent.VK_QUOTEDBL: return "QUOTEDBL";
   5:       case KeyEvent.VK_LESS: return "LESS";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   2:       case KeyEvent.VK_AMPERSAND:
   3:       case KeyEvent.VK_ASTERISK:
   4:       case KeyEvent.VK_QUOTEDBL:
   5:       case KeyEvent.VK_LESS:

View Full Code Here

VK_ASTERISK

public static final int VK_ASTERISK
Field Value:
151
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_ASTERISK
   1:         case KeyEvent.VK_AMPERSAND:
   2:         case KeyEvent.VK_ASTERISK:
   3:         case KeyEvent.VK_QUOTEDBL:
   4:         case KeyEvent.VK_LESS:
   5:         case KeyEvent.VK_GREATER:

View Full Code Here
   1:               case Latin1.ASTERISK:
   2:                 mapped = KeyEvent.VK_ASTERISK;
   3:                 break;
   4:               case Latin1.PLUS:
   5:                 mapped = KeyEvent.VK_PLUS;

View Full Code Here
   1:     keyTable.put("AMPERSAND", new Integer(KeyEvent.VK_AMPERSAND));
   2:     keyTable.put("ASTERISK", new Integer(KeyEvent.VK_ASTERISK));
   3:     keyTable.put("QUOTEDBL", new Integer(KeyEvent.VK_QUOTEDBL));
   4:     keyTable.put("LESS", new Integer(KeyEvent.VK_LESS));
   5:     

View Full Code Here
   1:       case KeyEvent.VK_AMPERSAND: return "AMPERSAND";
   2:       case KeyEvent.VK_ASTERISK: return "ASTERISK";
   3:       case KeyEvent.VK_QUOTEDBL: return "QUOTEDBL";
   4:       case KeyEvent.VK_LESS: return "LESS";
   5:       case KeyEvent.VK_GREATER: return "GREATER";

View Full Code Here
   1:       case KeyEvent.VK_AMPERSAND:
   2:       case KeyEvent.VK_ASTERISK:
   3:       case KeyEvent.VK_QUOTEDBL:
   4:       case KeyEvent.VK_LESS:
   5:       case KeyEvent.VK_GREATER:

View Full Code Here

VK_AT

public static final int VK_AT
Constant for the "@" key.
Field Value:
512
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_AT
   1:         case KeyEvent.VK_BRACERIGHT:
   2:         case KeyEvent.VK_AT:
   3:         case KeyEvent.VK_COLON:
   4:         case KeyEvent.VK_CIRCUMFLEX:
   5:         case KeyEvent.VK_DOLLAR:

View Full Code Here
   1:               case Latin1.AT:
   2:                 mapped = KeyEvent.VK_AT;
   3:                 break;
   4:               case Latin1.BRACKET_LEFT:
   5:                 mapped = KeyEvent.VK_OPEN_BRACKET;

View Full Code Here
   1: 
   2:     keyTable.put("AT", new Integer(KeyEvent.VK_AT));
   3:     keyTable.put("COLON", new Integer(KeyEvent.VK_COLON));
   4:     keyTable.put("CIRCUMFLEX", new Integer(KeyEvent.VK_CIRCUMFLEX));
   5:     keyTable.put("DOLLAR", new Integer(KeyEvent.VK_DOLLAR));

View Full Code Here
   1:       case KeyEvent.VK_BRACERIGHT: return "BRACERIGHT";
   2:       case KeyEvent.VK_AT: return "AT";
   3:       case KeyEvent.VK_COLON: return "COLON";
   4:       case KeyEvent.VK_CIRCUMFLEX: return "CIRCUMFLEX";
   5:       case KeyEvent.VK_DOLLAR: return "DOLLAR";

View Full Code Here
   1:       case KeyEvent.VK_BRACERIGHT:
   2:       case KeyEvent.VK_AT:
   3:       case KeyEvent.VK_COLON:
   4:       case KeyEvent.VK_CIRCUMFLEX:
   5:       case KeyEvent.VK_DOLLAR:

View Full Code Here

VK_B

public static final int VK_B
Field Value:
66
Usages and Demos :

View More Examples of KeyEvent.VK_B
   1:         JButton button1 = new JButton("Text Button");
   2:         button1.setMnemonic(KeyEvent.VK_B);
   3:         frame.add(button1);
   4: 
   5:         Icon warnIcon = new ImageIcon("Warn.gif");

View Full Code Here
   1:         JButton button1 = new JButton("Text Button");
   2:         button1.setMnemonic(KeyEvent.VK_B);
   3:         button1.setActionCommand("First");
   4:         button1.addActionListener(actionListener);
   5:         frame.add(button1);

View Full Code Here
   1:     putValue(Action.LONG_DESCRIPTION, "Set the net background colour.");
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_B));
   3:   }
   4: 
   5:   public NetBackgroundColourAction() {}

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("AlignBottom"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_B));
   3:   }
   4:   
   5:   private AlignBottomAction() {};  

View Full Code Here
   1:     putValue(Action.LONG_DESCRIPTION, "About this version of the YAWLEditor.");
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_B));
   3:   }
   4:  
   5:   public void actionPerformed(ActionEvent event) {

View Full Code Here

VK_BACK_QUOTE

public static final int VK_BACK_QUOTE
Field Value:
192
Usages and Demos :

View More Examples of KeyEvent.VK_BACK_QUOTE
   1:     break;
   2:       case KeyEvent.VK_BACK_QUOTE:
   3:     key=0x60; break;
   4:       case KeyEvent.VK_QUOTE:
   5:     key=0x27; break;

View Full Code Here
   1:     break;
   2:       case KeyEvent.VK_BACK_QUOTE:
   3:     key=0x60; break;
   4:       case KeyEvent.VK_QUOTE:
   5:     key=0x27; break;

View Full Code Here
   1:         case KeyEvent.VK_CLOSE_BRACKET:
   2:         case KeyEvent.VK_BACK_QUOTE:
   3:         case KeyEvent.VK_QUOTE:
   4:         case KeyEvent.VK_DEAD_GRAVE:
   5:         case KeyEvent.VK_DEAD_ACUTE:

View Full Code Here
   1: 
   2:     keyTable.put("BACK_QUOTE", new Integer(KeyEvent.VK_BACK_QUOTE));
   3:     keyTable.put("QUOTE", new Integer(KeyEvent.VK_QUOTE));
   4: 
   5:     keyTable.put("KP_UP", new Integer(KeyEvent.VK_KP_UP));

View Full Code Here
   1:       case KeyEvent.VK_META: return "META";
   2:       case KeyEvent.VK_BACK_QUOTE: return "BACK_QUOTE";
   3:       case KeyEvent.VK_QUOTE: return "QUOTE";
   4:       
   5:       case KeyEvent.VK_KP_UP: return "KP_UP";

View Full Code Here

VK_BACK_SLASH

public static final int VK_BACK_SLASH
Constant for the back slash key, "\"
Field Value:
92
Usages and Demos :

View More Examples of KeyEvent.VK_BACK_SLASH
   1:          imap.put(KeyStroke.getKeyStroke(
   2:                KeyEvent.VK_BACK_SLASH, 0), "backSlash");
   3:          removeKeyStroke = true;
   4:         ...
   5:          imap.remove(KeyStroke.getKeyStroke(
   6:                KeyEvent.VK_BACK_SLASH, 0));
   7:       }
   8:       addAdjustmentListener(new AdjustmentListener()
   9:       {

View Full Code Here
   1:       case KeyEvent.VK_OPEN_BRACKET:
   2:       case KeyEvent.VK_BACK_SLASH:
   3:       case KeyEvent.VK_CLOSE_BRACKET:
   4:       case KeyEvent.VK_SPACE:
   5:     break;

View Full Code Here
   1:       case KeyEvent.VK_OPEN_BRACKET:
   2:       case KeyEvent.VK_BACK_SLASH:
   3:       case KeyEvent.VK_CLOSE_BRACKET:
   4:       case KeyEvent.VK_SPACE:
   5:     break;

View Full Code Here
   1:         case KeyEvent.VK_OPEN_BRACKET :
   2:         case KeyEvent.VK_BACK_SLASH   :
   3:         case KeyEvent.VK_CLOSE_BRACKET:
   4:         case KeyEvent.VK_BACK_QUOTE:
   5:         case KeyEvent.VK_QUOTE:

View Full Code Here
   1:               case Latin1.BACKSLASH:
   2:                 mapped = KeyEvent.VK_BACK_SLASH;
   3:                 break;
   4:               case Latin1.BRACKET_RIGHT:
   5:                 mapped = KeyEvent.VK_CLOSE_BRACKET;

View Full Code Here

VK_BACK_SPACE

public static final int VK_BACK_SPACE
Field Value:
8
Usages and Demos :

View More Examples of KeyEvent.VK_BACK_SPACE
   1:       if(e.getKeyChar() == 
   2:           KeyEvent.VK_BACK_SPACE) {
   3:         if( ts.length() > 0) {
   4:           ts = ts.substring(0, ts.length() - 1);
   5:           t1.setText(ts);

View Full Code Here
   1:         if(ke.getKeyCode() == KeyEvent.VK_DELETE ||
   2:            ke.getKeyCode() == KeyEvent.VK_BACK_SPACE ||
   3:            ke.getKeyCode() == KeyEvent.VK_UP ||
   4:            ke.getKeyCode() == KeyEvent.VK_DOWN ||
   5:            ke.getKeyCode() == KeyEvent.VK_LEFT ||

View Full Code Here
   1:         if(ke.getKeyCode() == KeyEvent.VK_DELETE ||
   2:            ke.getKeyCode() == KeyEvent.VK_BACK_SPACE ||
   3:            ke.getKeyCode() == KeyEvent.VK_UP ||
   4:            ke.getKeyCode() == KeyEvent.VK_DOWN ||
   5:            ke.getKeyCode() == KeyEvent.VK_LEFT ||

View Full Code Here
   1:         if(ke.getKeyCode() == KeyEvent.VK_DELETE ||
   2:            ke.getKeyCode() == KeyEvent.VK_BACK_SPACE ||
   3:            ke.getKeyCode() == KeyEvent.VK_UP ||
   4:            ke.getKeyCode() == KeyEvent.VK_DOWN ||
   5:            ke.getKeyCode() == KeyEvent.VK_LEFT ||

View Full Code Here
   1:         break;
   2:     case KeyEvent.VK_BACK_SPACE:
   3:         textElement.deleteLastChar();
   4:         break;
   5:     default: 

View Full Code Here

VK_BEGIN

public static final int VK_BEGIN
Constant for the Begin key.
Field Value:
65368
Since:
1.5
Usages and Demos :

View More Examples of KeyEvent.VK_BEGIN
   1:           case Misc.BEGIN:
   2:             mapped = KeyEvent.VK_BEGIN;
   3:             break;
   4:           case Misc.INSERT:
   5:             mapped = KeyEvent.VK_INSERT;

View Full Code Here

VK_BRACELEFT

public static final int VK_BRACELEFT
Field Value:
161
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_BRACELEFT
   1:         case KeyEvent.VK_GREATER:
   2:         case KeyEvent.VK_BRACELEFT:
   3:         case KeyEvent.VK_BRACERIGHT:
   4:         case KeyEvent.VK_AT:
   5:         case KeyEvent.VK_COLON:

View Full Code Here
   1:               case Latin1.BRACE_LEFT:
   2:                 mapped = KeyEvent.VK_BRACELEFT;
   3:                 break;
   4:               case Latin1.BRACE_RIGHT:
   5:                 mapped = KeyEvent.VK_BRACERIGHT;

View Full Code Here
   1:     keyTable.put("GREATER", new Integer(KeyEvent.VK_GREATER));
   2:     keyTable.put("BRACELEFT", new Integer(KeyEvent.VK_BRACELEFT));
   3:     keyTable.put("BRACERIGHT", new Integer(KeyEvent.VK_BRACERIGHT));
   4: 
   5:     keyTable.put("AT", new Integer(KeyEvent.VK_AT));

View Full Code Here
   1:       case KeyEvent.VK_GREATER: return "GREATER";
   2:       case KeyEvent.VK_BRACELEFT: return "BRACELEFT";
   3:       case KeyEvent.VK_BRACERIGHT: return "BRACERIGHT";
   4:       case KeyEvent.VK_AT: return "AT";
   5:       case KeyEvent.VK_COLON: return "COLON";

View Full Code Here
   1:       case KeyEvent.VK_GREATER:
   2:       case KeyEvent.VK_BRACELEFT:
   3:       case KeyEvent.VK_BRACERIGHT:
   4:       case KeyEvent.VK_AT:
   5:       case KeyEvent.VK_COLON:

View Full Code Here

VK_BRACERIGHT

public static final int VK_BRACERIGHT
Field Value:
162
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_BRACERIGHT
   1:         case KeyEvent.VK_BRACELEFT:
   2:         case KeyEvent.VK_BRACERIGHT:
   3:         case KeyEvent.VK_AT:
   4:         case KeyEvent.VK_COLON:
   5:         case KeyEvent.VK_CIRCUMFLEX:

View Full Code Here
   1:               case Latin1.BRACE_RIGHT:
   2:                 mapped = KeyEvent.VK_BRACERIGHT;
   3:                 break;
   4:               case Latin1.ASCII_TILDE:
   5:                 mapped = KeyEvent.VK_DEAD_TILDE;

View Full Code Here
   1:     keyTable.put("BRACELEFT", new Integer(KeyEvent.VK_BRACELEFT));
   2:     keyTable.put("BRACERIGHT", new Integer(KeyEvent.VK_BRACERIGHT));
   3: 
   4:     keyTable.put("AT", new Integer(KeyEvent.VK_AT));
   5:     keyTable.put("COLON", new Integer(KeyEvent.VK_COLON));

View Full Code Here
   1:       case KeyEvent.VK_BRACELEFT: return "BRACELEFT";
   2:       case KeyEvent.VK_BRACERIGHT: return "BRACERIGHT";
   3:       case KeyEvent.VK_AT: return "AT";
   4:       case KeyEvent.VK_COLON: return "COLON";
   5:       case KeyEvent.VK_CIRCUMFLEX: return "CIRCUMFLEX";

View Full Code Here
   1:       case KeyEvent.VK_BRACELEFT:
   2:       case KeyEvent.VK_BRACERIGHT:
   3:       case KeyEvent.VK_AT:
   4:       case KeyEvent.VK_COLON:
   5:       case KeyEvent.VK_CIRCUMFLEX:

View Full Code Here

VK_C

public static final int VK_C
Field Value:
67
Usages and Demos :

View More Examples of KeyEvent.VK_C
   1:         putValue(SHORT_DESCRIPTION, "Copy the selected text");
   2:         putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_C));
   3:         ...
   4:         putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_C, InputEvent.CTRL_MASK));
   5:     }
   6:     
   7:     public void actionPerformed(ActionEvent e) {

View Full Code Here
   1:         
   2:         putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_C));
   3:         putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke("ctrl C"));
   4:         this.tree = tree;
   5:     }

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("NewNet"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_C));
   3:     putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke("control N"));
   4:   }
   5:   

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("CloseSpecification"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_C));
   3:     putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke("control W"));
   4:   }
   5:   

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("New"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_C));
   3:     putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke("control S"));
   4:   }
   5:   

View Full Code Here

VK_CANCEL

public static final int VK_CANCEL
Field Value:
3
Usages and Demos :

View More Examples of KeyEvent.VK_CANCEL
   1:         case KeyEvent.VK_DELETE:
   2:         case KeyEvent.VK_CANCEL:
   3: 
   4:         case KeyEvent.VK_HOME:
   5:         case KeyEvent.VK_END:

View Full Code Here
   1:         config.addProperty("key.code",
   2:                 "${const:java.awt.event.KeyEvent.VK_CANCEL}");
   3:         Assert.assertEquals("Wrong value of constant variable",
   4:         ...
   5:                 KeyEvent.VK_CANCEL, config.getInt("key.code"));
   6:         Assert.assertEquals("Wrong value when fetching constant from cache",
   7:         ...
   8:                 KeyEvent.VK_CANCEL, config.getInt("key.code"));
   9:     }

View Full Code Here
   1:           case Misc.CANCEL:
   2:             mapped = KeyEvent.VK_CANCEL;
   3:             break;
   4:           case Misc.HELP:
   5:             mapped = KeyEvent.VK_HELP;

View Full Code Here

VK_CAPS_LOCK

public static final int VK_CAPS_LOCK
Field Value:
20
Usages and Demos :

View More Examples of KeyEvent.VK_CAPS_LOCK
   1:         old_num = tk.getLockingKeyState(KeyEvent.VK_NUM_LOCK);
   2:         old_caps = tk.getLockingKeyState(KeyEvent.VK_CAPS_LOCK);
   3:         old_scroll = tk.getLockingKeyState(KeyEvent.VK_SCROLL_LOCK);
   4:         ...
   5:         tk.setLockingKeyState(KeyEvent.VK_NUM_LOCK,false);
   6:         tk.setLockingKeyState(KeyEvent.VK_CAPS_LOCK,false);
   7:         tk.setLockingKeyState(KeyEvent.VK_SCROLL_LOCK,false);
   8:         ...
   9:             if(counter%3 == 0) { key = KeyEvent.VK_NUM_LOCK; }
  10:             if(counter%3 == 1) { key = KeyEvent.VK_CAPS_LOCK; }
  11:             if(counter%3 == 2) { key = KeyEvent.VK_SCROLL_LOCK; }

View Full Code Here
   1:                 JComponent.WHEN_IN_FOCUSED_WINDOW);
   2:         m_keyBindings.addBinding(KeyStroke.getKeyStroke(KeyEvent.VK_CAPS_LOCK,
   3:         m_keyBindings.install();
   4:         ...
   5:             capsLockOn = Toolkit.getDefaultToolkit().getLockingKeyState(
   6:                     KeyEvent.VK_CAPS_LOCK);
   7:         } catch (UnsupportedOperationException ex) {
   8:         ...
   9:                 caps = Toolkit.getDefaultToolkit().getLockingKeyState(
  10:                         KeyEvent.VK_CAPS_LOCK);
  11:             } catch (UnsupportedOperationException ex) {

View Full Code Here
   1:     key=0xff13; break;
   2:       case KeyEvent.VK_CAPS_LOCK:
   3:     key=0xffe5; break;
   4:       case KeyEvent.VK_ESCAPE:
   5:     key=0xff1b; break;

View Full Code Here
   1:         case KeyEvent.VK_SCROLL_LOCK:
   2:         case KeyEvent.VK_CAPS_LOCK:
   3:         case KeyEvent.VK_NUM_LOCK:
   4:         case KeyEvent.VK_PAUSE:
   5:         case KeyEvent.VK_INSERT:

View Full Code Here
   1:     key=0xff13; break;
   2:       case KeyEvent.VK_CAPS_LOCK:
   3:     key=0xffe5; break;
   4:       case KeyEvent.VK_ESCAPE:
   5:     key=0xff1b; break;

View Full Code Here

VK_CIRCUMFLEX

public static final int VK_CIRCUMFLEX
Constant for the "^" key.
Field Value:
514
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_CIRCUMFLEX
   1:         case KeyEvent.VK_COLON:
   2:         case KeyEvent.VK_CIRCUMFLEX:
   3:         case KeyEvent.VK_DOLLAR:
   4:         case KeyEvent.VK_EURO_SIGN:
   5:         case KeyEvent.VK_EXCLAMATION_MARK:

View Full Code Here
   1:               case Latin1.ASCII_CIRCUM:
   2:                 mapped = KeyEvent.VK_CIRCUMFLEX;
   3:                 break;
   4:               case Latin1.UNDERSCORE:
   5:                 mapped = KeyEvent.VK_UNDERSCORE;

View Full Code Here
   1:     keyTable.put("COLON", new Integer(KeyEvent.VK_COLON));
   2:     keyTable.put("CIRCUMFLEX", new Integer(KeyEvent.VK_CIRCUMFLEX));
   3:     keyTable.put("DOLLAR", new Integer(KeyEvent.VK_DOLLAR));
   4:     keyTable.put("EURO_SIGN", new Integer(KeyEvent.VK_EURO_SIGN));
   5:     keyTable.put("EXCLAMATION_MARK", new Integer(KeyEvent.VK_EXCLAMATION_MARK));

View Full Code Here
   1:       case KeyEvent.VK_COLON: return "COLON";
   2:       case KeyEvent.VK_CIRCUMFLEX: return "CIRCUMFLEX";
   3:       case KeyEvent.VK_DOLLAR: return "DOLLAR";
   4:       case KeyEvent.VK_EURO_SIGN: return "EURO_SIGN";
   5:       case KeyEvent.VK_EXCLAMATION_MARK: return "EXCLAMATION_MARK";

View Full Code Here
   1:       case KeyEvent.VK_COLON:
   2:       case KeyEvent.VK_CIRCUMFLEX:
   3:       case KeyEvent.VK_DOLLAR:
   4:       case KeyEvent.VK_EURO_SIGN:
   5:       case KeyEvent.VK_EXCLAMATION_MARK:

View Full Code Here

VK_CLEAR

public static final int VK_CLEAR
Field Value:
12
Usages and Demos :

View More Examples of KeyEvent.VK_CLEAR
   1:           case Misc.CLEAR:
   2:             mapped = KeyEvent.VK_CLEAR;
   3:             break;
   4:           case Misc.RETURN:
   5:             mapped = KeyEvent.VK_ENTER;

View Full Code Here
   1:     keyTable.put("CANCEL", new Integer(KeyEvent.VK_CANCEL));
   2:     keyTable.put("CLEAR", new Integer(KeyEvent.VK_CLEAR));
   3:     keyTable.put("SHIFT", new Integer(KeyEvent.VK_SHIFT));
   4:     keyTable.put("CONTROL", new Integer(KeyEvent.VK_CONTROL));
   5:     keyTable.put("ALT", new Integer(KeyEvent.VK_ALT));

View Full Code Here
   1:       case KeyEvent.VK_CANCEL: return "CANCEL";
   2:       case KeyEvent.VK_CLEAR: return "CLEAR";
   3:       case KeyEvent.VK_SHIFT: return "SHIFT";
   4:       case KeyEvent.VK_CONTROL: return "CONTROL";
   5:       case KeyEvent.VK_ALT: return "ALT";

View Full Code Here

VK_CLOSE_BRACKET

public static final int VK_CLOSE_BRACKET
Constant for the close bracket key, "]"
Field Value:
93
Usages and Demos :

View More Examples of KeyEvent.VK_CLOSE_BRACKET
   1:       case KeyEvent.VK_BACK_SLASH:
   2:       case KeyEvent.VK_CLOSE_BRACKET:
   3:       case KeyEvent.VK_SPACE:
   4:     break;
   5:       case KeyEvent.VK_BACK_QUOTE:

View Full Code Here
   1:       case KeyEvent.VK_BACK_SLASH:
   2:       case KeyEvent.VK_CLOSE_BRACKET:
   3:       case KeyEvent.VK_SPACE:
   4:     break;
   5:       case KeyEvent.VK_BACK_QUOTE:

View Full Code Here
   1:         case KeyEvent.VK_BACK_SLASH   :
   2:         case KeyEvent.VK_CLOSE_BRACKET:
   3:         case KeyEvent.VK_BACK_QUOTE:
   4:         case KeyEvent.VK_QUOTE:
   5:         case KeyEvent.VK_DEAD_GRAVE:

View Full Code Here
   1:               case Latin1.BRACKET_RIGHT:
   2:                 mapped = KeyEvent.VK_CLOSE_BRACKET;
   3:                 break;
   4:               case Latin1.ASCII_CIRCUM:
   5:                 mapped = KeyEvent.VK_CIRCUMFLEX;

View Full Code Here
   1:     keyTable.put("BACK_SLASH", new Integer(KeyEvent.VK_BACK_SLASH));
   2:     keyTable.put("CLOSE_BRACKET", new Integer(KeyEvent.VK_CLOSE_BRACKET));
   3: 
   4:     keyTable.put("NUMPAD0", new Integer(KeyEvent.VK_NUMPAD0));
   5:     keyTable.put("NUMPAD1", new Integer(KeyEvent.VK_NUMPAD1));

View Full Code Here

VK_CODE_INPUT

public static final int VK_CODE_INPUT
Constant for the Code Input function key.
Field Value:
258
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_CODE_INPUT
   1:         case KeyEvent.VK_PREVIOUS_CANDIDATE:
   2:         case KeyEvent.VK_CODE_INPUT:
   3:         case KeyEvent.VK_JAPANESE_KATAKANA:
   4:         case KeyEvent.VK_JAPANESE_HIRAGANA:
   5:         case KeyEvent.VK_JAPANESE_ROMAN:

View Full Code Here
   1:     keyTable.put("PREVIOUS_CONDIDATE", new Integer(KeyEvent.VK_PREVIOUS_CANDIDATE));
   2:     keyTable.put("CODE_INPUT", new Integer(KeyEvent.VK_CODE_INPUT));
   3:     keyTable.put("JAPANESE_KATAKANA", new Integer(KeyEvent.VK_JAPANESE_KATAKANA));
   4:     keyTable.put("JAPANESE_HIRAGANA", new Integer(KeyEvent.VK_JAPANESE_HIRAGANA));
   5:     keyTable.put("JAPANESE_ROMAN", new Integer(KeyEvent.VK_JAPANESE_ROMAN));

View Full Code Here
   1:       case KeyEvent.VK_PREVIOUS_CANDIDATE: return "PREVIOUS_CANDIDATE";
   2:       case KeyEvent.VK_CODE_INPUT: return "CODE_INPUT";
   3:       case KeyEvent.VK_JAPANESE_KATAKANA: return "JAPANESE_KATAKANA";
   4:       case KeyEvent.VK_JAPANESE_HIRAGANA: return "JAPANESE_HIRAGANA";
   5:       case KeyEvent.VK_JAPANESE_ROMAN: return "JAPANESE_ROMAN";

View Full Code Here

VK_COLON

public static final int VK_COLON
Constant for the ":" key.
Field Value:
513
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_COLON
   1:         case KeyEvent.VK_AT:
   2:         case KeyEvent.VK_COLON:
   3:         case KeyEvent.VK_CIRCUMFLEX:
   4:         case KeyEvent.VK_DOLLAR:
   5:         case KeyEvent.VK_EURO_SIGN:

View Full Code Here
   1:               case Latin1.COLON:
   2:                 mapped = KeyEvent.VK_COLON;
   3:                 break;
   4:               case Latin1.SEMICOLON:
   5:                 mapped = KeyEvent.VK_SEMICOLON;

View Full Code Here
   1:     keyTable.put("AT", new Integer(KeyEvent.VK_AT));
   2:     keyTable.put("COLON", new Integer(KeyEvent.VK_COLON));
   3:     keyTable.put("CIRCUMFLEX", new Integer(KeyEvent.VK_CIRCUMFLEX));
   4:     keyTable.put("DOLLAR", new Integer(KeyEvent.VK_DOLLAR));
   5:     keyTable.put("EURO_SIGN", new Integer(KeyEvent.VK_EURO_SIGN));

View Full Code Here
   1:       case KeyEvent.VK_AT: return "AT";
   2:       case KeyEvent.VK_COLON: return "COLON";
   3:       case KeyEvent.VK_CIRCUMFLEX: return "CIRCUMFLEX";
   4:       case KeyEvent.VK_DOLLAR: return "DOLLAR";
   5:       case KeyEvent.VK_EURO_SIGN: return "EURO_SIGN";

View Full Code Here
   1:       case KeyEvent.VK_AT:
   2:       case KeyEvent.VK_COLON:
   3:       case KeyEvent.VK_CIRCUMFLEX:
   4:       case KeyEvent.VK_DOLLAR:
   5:       case KeyEvent.VK_EURO_SIGN:

View Full Code Here

VK_COMMA

public static final int VK_COMMA
Constant for the comma key, ","
Field Value:
44
Usages and Demos :

View More Examples of KeyEvent.VK_COMMA
   1:     key=0xff09; break;
   2:       case KeyEvent.VK_COMMA:
   3:       case KeyEvent.VK_PERIOD:
   4:       case KeyEvent.VK_SLASH:
   5:       case KeyEvent.VK_SEMICOLON:

View Full Code Here
   1:     key=0xff09; break;
   2:       case KeyEvent.VK_COMMA:
   3:       case KeyEvent.VK_PERIOD:
   4:       case KeyEvent.VK_SLASH:
   5:       case KeyEvent.VK_SEMICOLON:

View Full Code Here
   1:         case KeyEvent.VK_SPACE:
   2:         case KeyEvent.VK_COMMA:
   3:         case KeyEvent.VK_MINUS:
   4:         case KeyEvent.VK_PERIOD:
   5:         case KeyEvent.VK_SLASH:

View Full Code Here
   1:               case Latin1.COMMA:
   2:                 mapped = KeyEvent.VK_COMMA;
   3:                 break;
   4:               case Latin1.MINUS:
   5:                 mapped = KeyEvent.VK_MINUS;

View Full Code Here
   1:     keyTable.put("DOWN", new Integer(KeyEvent.VK_DOWN));
   2:     keyTable.put("COMMA", new Integer(KeyEvent.VK_COMMA));
   3:     keyTable.put("MINUS", new Integer(KeyEvent.VK_MINUS));
   4:     keyTable.put("PERIOD", new Integer(KeyEvent.VK_PERIOD));
   5:     keyTable.put("SLASH", new Integer(KeyEvent.VK_SLASH));

View Full Code Here

VK_COMPOSE

public static final int VK_COMPOSE
Constant for the Compose function key.
Field Value:
65312
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_COMPOSE
   1:     if (!beingProcess && id == KeyEvent.KEY_PRESSED &&
   2:         kev.getKeyCode() == KeyEvent.VK_COMPOSE) {
   3:         e.consume();
   4:         beingProcess = true;
   5:         AttributedString aString = new AttributedString("COMPOSE");

View Full Code Here
   1:     
   2:     keyTable.put("COMPOSE", new Integer(KeyEvent.VK_COMPOSE));
   3:     keyTable.put("ALT_GRAPH", new Integer(KeyEvent.VK_ALT_GRAPH));
   4:     }
   5: }

View Full Code Here
   1:       
   2:       case KeyEvent.VK_COMPOSE: return "COMPOSE";
   3:       case KeyEvent.VK_ALT_GRAPH: return "ALT_GRAPH";
   4:     }
   5:     

View Full Code Here

VK_CONTEXT_MENU

public static final int VK_CONTEXT_MENU
Constant for the Microsoft Windows Context Menu key.
Field Value:
525
Since:
1.5

VK_CONTROL

public static final int VK_CONTROL
Field Value:
17
Usages and Demos :

View More Examples of KeyEvent.VK_CONTROL
   1:     public boolean isControlDown() {
   2:         return isKeyDown(KeyEvent.VK_CONTROL);
   3:     }
   4:         ...
   5:     public boolean isCtrlShiftDown() {
   6:         return isKeyDown(KeyEvent.VK_CONTROL) && isKeyDown(KeyEvent.VK_SHIFT);   
   7:     }
   8:         ...
   9:         if (KeyUtils.isCtrlDown(evt)) {
  10:             m_down.add(KeyEvent.VK_CONTROL);
  11:         }

View Full Code Here
   1:       KeyEvent.VK_ENTER, KeyEvent.VK_ESCAPE, KeyEvent.VK_TAB, KeyEvent.VK_SHIFT,
   2:       KeyEvent.VK_ALT, KeyEvent.VK_CONTROL, KeyEvent.VK_META
   3:   };
   4: 

View Full Code Here
   1:     key=0xffe1; break;
   2:       case KeyEvent.VK_CONTROL:
   3:     key=0xffe3; break;
   4:       case KeyEvent.VK_ALT:
   5:     key=0xffe9; break;

View Full Code Here
   1:                 case KeyEvent.VK_ALT_GRAPH: 
   2:                 case KeyEvent.VK_CONTROL: 
   3:                 case KeyEvent.VK_SHIFT: 
   4:         ...
   5:                     case KeyEvent.VK_ALT_GRAPH: 
   6:                     case KeyEvent.VK_CONTROL: 
   7:                     case KeyEvent.VK_SHIFT: 
   8:                     default: 
   9:                         modifText += KeyEventUtils.getKeyText(ke.getKeyCode());

View Full Code Here
   1:                         "changeBackFromReferencing",
   2:                         KeyStroke.getKeyStroke(KeyEvent.VK_CONTROL, KeyEvent.ALT_DOWN_MASK, true))
   3:                 {
   4:         ...
   5:                         "changeToReferencing",
   6:                         KeyStroke.getKeyStroke(KeyEvent.VK_CONTROL, KeyEvent.ALT_DOWN_MASK | KeyEvent.CTRL_DOWN_MASK, false))
   7:                 {
   8:                     public void actionPerformed (ActionEvent e)
   9:                     {

View Full Code Here

VK_CONVERT

public static final int VK_CONVERT
Constant for the Convert function key.
Field Value:
28
Usages and Demos :

View More Examples of KeyEvent.VK_CONVERT
   1:         case KeyEvent.VK_FINAL:
   2:         case KeyEvent.VK_CONVERT:
   3:         case KeyEvent.VK_NONCONVERT:
   4:         case KeyEvent.VK_ACCEPT:
   5:         case KeyEvent.VK_MODECHANGE:

View Full Code Here
   1:     keyTable.put("FINAL", new Integer(KeyEvent.VK_FINAL));
   2:     keyTable.put("CONVERT", new Integer(KeyEvent.VK_CONVERT));
   3:     keyTable.put("NONCONVERT", new Integer(KeyEvent.VK_NONCONVERT));
   4:     keyTable.put("ACCEPT", new Integer(KeyEvent.VK_ACCEPT));
   5:     keyTable.put("MODECHANGE", new Integer(KeyEvent.VK_MODECHANGE));

View Full Code Here
   1:       case KeyEvent.VK_FINAL: return "FINAL";
   2:       case KeyEvent.VK_CONVERT: return "CONVERT";
   3:       case KeyEvent.VK_NONCONVERT: return "NONCONVERT";
   4:       case KeyEvent.VK_ACCEPT: return "ACCEPT";
   5:       case KeyEvent.VK_MODECHANGE: return "MODECHANGE";

View Full Code Here

VK_COPY

public static final int VK_COPY
Field Value:
65485
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_COPY
   1:             case 'V': br.eventq(new KeyEvent(br, eid, ke.getWhen()+1, 0, KeyEvent.VK_PASTE, ke.getKeyChar(), ke.getKeyLocation())); grab=false; break;
   2:             case 'C': br.eventq(new KeyEvent(br, eid, ke.getWhen()+1, 0, KeyEvent.VK_COPY, ke.getKeyChar(), ke.getKeyLocation())); grab=false; break;
   3:             default:
   4:                 grab = false;
   5:             }

View Full Code Here
   1:         case KeyEvent.VK_UNDO:
   2:         case KeyEvent.VK_COPY:
   3:         case KeyEvent.VK_PASTE:
   4:         case KeyEvent.VK_CUT:
   5:         case KeyEvent.VK_FIND:

View Full Code Here
   1: 
   2:         case KeyEvent.VK_COPY:
   3: System.out.println("BindingsDefault COPY");
   4:             br.eventq(StandardEdit.MSG_COPY, null);
   5:             break;

View Full Code Here
   1:     keyTable.put("CUT", new Integer(KeyEvent.VK_CUT));
   2:     keyTable.put("COPY", new Integer(KeyEvent.VK_COPY));
   3:     keyTable.put("PASTE", new Integer(KeyEvent.VK_PASTE));
   4:     keyTable.put("UNDO", new Integer(KeyEvent.VK_UNDO));
   5:     keyTable.put("AGAIN", new Integer(KeyEvent.VK_AGAIN));

View Full Code Here
   1:       case KeyEvent.VK_UNDO: return "UNDO";
   2:       case KeyEvent.VK_COPY: return "COPY";
   3:       case KeyEvent.VK_PASTE: return "PASTE";
   4:       case KeyEvent.VK_CUT: return "CUT";
   5:       case KeyEvent.VK_FIND: return "FIND";

View Full Code Here

VK_CUT

public static final int VK_CUT
Field Value:
65489
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_CUT
   1:         case KeyEvent.VK_PASTE:
   2:         case KeyEvent.VK_CUT:
   3:         case KeyEvent.VK_FIND:
   4:         case KeyEvent.VK_PROPS:
   5:         case KeyEvent.VK_STOP:

View Full Code Here
   1: 
   2:     keyTable.put("CUT", new Integer(KeyEvent.VK_CUT));
   3:     keyTable.put("COPY", new Integer(KeyEvent.VK_COPY));
   4:     keyTable.put("PASTE", new Integer(KeyEvent.VK_PASTE));
   5:     keyTable.put("UNDO", new Integer(KeyEvent.VK_UNDO));

View Full Code Here
   1:       case KeyEvent.VK_PASTE: return "PASTE";
   2:       case KeyEvent.VK_CUT: return "CUT";
   3:       case KeyEvent.VK_FIND: return "FIND";
   4:       case KeyEvent.VK_PROPS: return "PROPS";
   5:       case KeyEvent.VK_STOP: return "STOP";

View Full Code Here
   1:                     ks, WHEN_FOCUSED);
   2:         ks=KeyStroke.getKeyStroke(KeyEvent.VK_CUT,0);
   3:         registerKeyboardAction(this, "x",
   4:                     ks, WHEN_FOCUSED);
   5:         ks=KeyStroke.getKeyStroke(KeyEvent.VK_V,

View Full Code Here

VK_D

public static final int VK_D
Field Value:
68
Usages and Demos :

View More Examples of KeyEvent.VK_D
   1:     putValue(Action.SMALL_ICON, getIconByName("Delete"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_D));
   3:     putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_DELETE,0));
   4:   }
   5:   

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("DecompositionDetail"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_D));
   3:   }
   4:   
   5:   public void actionPerformed(ActionEvent event) {

View Full Code Here
   1:         b1.setHorizontalTextPosition(AbstractButton.LEFT);
   2:         b1.setMnemonic(KeyEvent.VK_D);
   3:         b1.setActionCommand("disable");
   4: 
   5:         b2 = new JButton("Middle button", middleButtonIcon);

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("DecreaseSize"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_D));
   3:     putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_UP,InputEvent.CTRL_MASK));
   4:   }
   5:   

View Full Code Here
   1:         b1.setHorizontalTextPosition(AbstractButton.LEFT);
   2:         b1.setMnemonic(KeyEvent.VK_D);
   3:         b1.setActionCommand("disable");
   4: 
   5:         b2 = new JButton("Middle button", middleButtonIcon);

View Full Code Here

VK_DEAD_ABOVEDOT

public static final int VK_DEAD_ABOVEDOT
Field Value:
134
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_ABOVEDOT
   1:         case KeyEvent.VK_DEAD_BREVE:
   2:         case KeyEvent.VK_DEAD_ABOVEDOT:
   3:         case KeyEvent.VK_DEAD_DIAERESIS:
   4:         ...
   5:         case KeyEvent.VK_DEAD_BREVE:
   6:         case KeyEvent.VK_DEAD_ABOVEDOT:
   7:         case KeyEvent.VK_DEAD_DIAERESIS:
   8:         case KeyEvent.VK_DEAD_ABOVERING:
   9:         case KeyEvent.VK_DEAD_DOUBLEACUTE:

View Full Code Here
   1:     keyTable.put("DEAD_BREVE", new Integer(KeyEvent.VK_DEAD_BREVE));
   2:     keyTable.put("DEAD_ABOVEDOT", new Integer(KeyEvent.VK_DEAD_ABOVEDOT));
   3:     keyTable.put("DEAD_DIAERESIS", new Integer(KeyEvent.VK_DEAD_DIAERESIS));
   4:     keyTable.put("DEAD_ABOVERING", new Integer(KeyEvent.VK_DEAD_ABOVERING));
   5:     keyTable.put("DEAD_DOUBLEACUTE", new Integer(KeyEvent.VK_DEAD_DOUBLEACUTE));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_BREVE: return "DEAD_BREVE";
   2:       case KeyEvent.VK_DEAD_ABOVEDOT: return "DEAD_ABOVEDOT";
   3:       case KeyEvent.VK_DEAD_DIAERESIS: return "DEAD_DIAERESIS";
   4:       case KeyEvent.VK_DEAD_ABOVERING: return "DEAD_ABOVERING";
   5:       case KeyEvent.VK_DEAD_DOUBLEACUTE: return "DEAD_DOUBLEACUTE";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_BREVE:
   2:       case KeyEvent.VK_DEAD_ABOVEDOT:
   3:       case KeyEvent.VK_DEAD_DIAERESIS:
   4:       case KeyEvent.VK_DEAD_ABOVERING:
   5:       case KeyEvent.VK_DEAD_DOUBLEACUTE:

View Full Code Here

VK_DEAD_ABOVERING

public static final int VK_DEAD_ABOVERING
Field Value:
136
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_ABOVERING
   1:         case KeyEvent.VK_DEAD_DIAERESIS:
   2:         case KeyEvent.VK_DEAD_ABOVERING:
   3:         case KeyEvent.VK_DEAD_DOUBLEACUTE:
   4:         ...
   5:         case KeyEvent.VK_DEAD_DIAERESIS:
   6:         case KeyEvent.VK_DEAD_ABOVERING:
   7:         case KeyEvent.VK_DEAD_DOUBLEACUTE:
   8:         case KeyEvent.VK_DEAD_CARON:
   9:         case KeyEvent.VK_DEAD_CEDILLA:

View Full Code Here
   1:     keyTable.put("DEAD_DIAERESIS", new Integer(KeyEvent.VK_DEAD_DIAERESIS));
   2:     keyTable.put("DEAD_ABOVERING", new Integer(KeyEvent.VK_DEAD_ABOVERING));
   3:     keyTable.put("DEAD_DOUBLEACUTE", new Integer(KeyEvent.VK_DEAD_DOUBLEACUTE));
   4:     keyTable.put("DEAD_CARON", new Integer(KeyEvent.VK_DEAD_CARON));
   5:     keyTable.put("DEAD_CEDILLA", new Integer(KeyEvent.VK_DEAD_CEDILLA));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_DIAERESIS: return "DEAD_DIAERESIS";
   2:       case KeyEvent.VK_DEAD_ABOVERING: return "DEAD_ABOVERING";
   3:       case KeyEvent.VK_DEAD_DOUBLEACUTE: return "DEAD_DOUBLEACUTE";
   4:       case KeyEvent.VK_DEAD_CARON: return "DEAD_CARON";
   5:       case KeyEvent.VK_DEAD_CEDILLA: return "DEAD_CEDILLA";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_DIAERESIS:
   2:       case KeyEvent.VK_DEAD_ABOVERING:
   3:       case KeyEvent.VK_DEAD_DOUBLEACUTE:
   4:       case KeyEvent.VK_DEAD_CARON:
   5:       case KeyEvent.VK_DEAD_CEDILLA:

View Full Code Here

VK_DEAD_ACUTE

public static final int VK_DEAD_ACUTE
Field Value:
129
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_ACUTE
   1:         case KeyEvent.VK_DEAD_GRAVE:
   2:         case KeyEvent.VK_DEAD_ACUTE:
   3:         case KeyEvent.VK_DEAD_CIRCUMFLEX:
   4:         ...
   5:         case KeyEvent.VK_DEAD_GRAVE:
   6:         case KeyEvent.VK_DEAD_ACUTE:
   7:         case KeyEvent.VK_DEAD_CIRCUMFLEX:
   8:         case KeyEvent.VK_DEAD_TILDE:
   9:         case KeyEvent.VK_DEAD_MACRON:

View Full Code Here
   1:     keyTable.put("DEAD_GRAVE", new Integer(KeyEvent.VK_DEAD_GRAVE));
   2:     keyTable.put("DEAD_ACUTE", new Integer(KeyEvent.VK_DEAD_ACUTE));
   3:     keyTable.put("DEAD_CIRCUMFLEX", new Integer(KeyEvent.VK_DEAD_CIRCUMFLEX));
   4:     keyTable.put("DEAD_TILDE", new Integer(KeyEvent.VK_DEAD_TILDE));
   5:     keyTable.put("DEAD_MACRON", new Integer(KeyEvent.VK_DEAD_MACRON));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_GRAVE: return "DEAD_GRAVE";
   2:       case KeyEvent.VK_DEAD_ACUTE: return "DEAD_ACUTE";
   3:       case KeyEvent.VK_DEAD_CIRCUMFLEX: return "DEAD_CIRCUMFLEX";
   4:       case KeyEvent.VK_DEAD_TILDE: return "DEAD_TILDE";
   5:       case KeyEvent.VK_DEAD_MACRON: return "DEAD_MACRON";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_GRAVE:
   2:       case KeyEvent.VK_DEAD_ACUTE:
   3:       case KeyEvent.VK_DEAD_CIRCUMFLEX:
   4:       case KeyEvent.VK_DEAD_TILDE:
   5:       case KeyEvent.VK_DEAD_MACRON:

View Full Code Here

VK_DEAD_BREVE

public static final int VK_DEAD_BREVE
Field Value:
133
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_BREVE
   1:         case KeyEvent.VK_DEAD_MACRON:
   2:         case KeyEvent.VK_DEAD_BREVE:
   3:         case KeyEvent.VK_DEAD_ABOVEDOT:
   4:         ...
   5:         case KeyEvent.VK_DEAD_MACRON:
   6:         case KeyEvent.VK_DEAD_BREVE:
   7:         case KeyEvent.VK_DEAD_ABOVEDOT:
   8:         case KeyEvent.VK_DEAD_DIAERESIS:
   9:         case KeyEvent.VK_DEAD_ABOVERING:

View Full Code Here
   1:     keyTable.put("DEAD_MACRON", new Integer(KeyEvent.VK_DEAD_MACRON));
   2:     keyTable.put("DEAD_BREVE", new Integer(KeyEvent.VK_DEAD_BREVE));
   3:     keyTable.put("DEAD_ABOVEDOT", new Integer(KeyEvent.VK_DEAD_ABOVEDOT));
   4:     keyTable.put("DEAD_DIAERESIS", new Integer(KeyEvent.VK_DEAD_DIAERESIS));
   5:     keyTable.put("DEAD_ABOVERING", new Integer(KeyEvent.VK_DEAD_ABOVERING));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_MACRON: return "DEAD_MACRON";
   2:       case KeyEvent.VK_DEAD_BREVE: return "DEAD_BREVE";
   3:       case KeyEvent.VK_DEAD_ABOVEDOT: return "DEAD_ABOVEDOT";
   4:       case KeyEvent.VK_DEAD_DIAERESIS: return "DEAD_DIAERESIS";
   5:       case KeyEvent.VK_DEAD_ABOVERING: return "DEAD_ABOVERING";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_MACRON:
   2:       case KeyEvent.VK_DEAD_BREVE:
   3:       case KeyEvent.VK_DEAD_ABOVEDOT:
   4:       case KeyEvent.VK_DEAD_DIAERESIS:
   5:       case KeyEvent.VK_DEAD_ABOVERING:

View Full Code Here

VK_DEAD_CARON

public static final int VK_DEAD_CARON
Field Value:
138
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_CARON
   1:         case KeyEvent.VK_DEAD_DOUBLEACUTE:
   2:         case KeyEvent.VK_DEAD_CARON:
   3:         case KeyEvent.VK_DEAD_CEDILLA:
   4:         ...
   5:         case KeyEvent.VK_DEAD_DOUBLEACUTE:
   6:         case KeyEvent.VK_DEAD_CARON:
   7:         case KeyEvent.VK_DEAD_CEDILLA:
   8:         case KeyEvent.VK_DEAD_OGONEK:
   9:         case KeyEvent.VK_DEAD_IOTA:

View Full Code Here
   1:     keyTable.put("DEAD_DOUBLEACUTE", new Integer(KeyEvent.VK_DEAD_DOUBLEACUTE));
   2:     keyTable.put("DEAD_CARON", new Integer(KeyEvent.VK_DEAD_CARON));
   3:     keyTable.put("DEAD_CEDILLA", new Integer(KeyEvent.VK_DEAD_CEDILLA));
   4:     keyTable.put("DEAD_OGONEK", new Integer(KeyEvent.VK_DEAD_OGONEK));
   5:     keyTable.put("DEAD_IOTA", new Integer(KeyEvent.VK_DEAD_IOTA));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_DOUBLEACUTE: return "DEAD_DOUBLEACUTE";
   2:       case KeyEvent.VK_DEAD_CARON: return "DEAD_CARON";
   3:       case KeyEvent.VK_DEAD_CEDILLA: return "DEAD_CEDILLA";
   4:       case KeyEvent.VK_DEAD_OGONEK: return "DEAD_OGONEK";
   5:       case KeyEvent.VK_DEAD_IOTA: return "DEAD_IOTA";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_DOUBLEACUTE:
   2:       case KeyEvent.VK_DEAD_CARON:
   3:       case KeyEvent.VK_DEAD_CEDILLA:
   4:       case KeyEvent.VK_DEAD_OGONEK:
   5:       case KeyEvent.VK_DEAD_IOTA:

View Full Code Here

VK_DEAD_CEDILLA

public static final int VK_DEAD_CEDILLA
Field Value:
139
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_CEDILLA
   1:         case KeyEvent.VK_DEAD_CARON:
   2:         case KeyEvent.VK_DEAD_CEDILLA:
   3:         case KeyEvent.VK_DEAD_OGONEK:
   4:         ...
   5:         case KeyEvent.VK_DEAD_CARON:
   6:         case KeyEvent.VK_DEAD_CEDILLA:
   7:         case KeyEvent.VK_DEAD_OGONEK:
   8:         case KeyEvent.VK_DEAD_IOTA:
   9:         case KeyEvent.VK_DEAD_VOICED_SOUND:

View Full Code Here
   1:     keyTable.put("DEAD_CARON", new Integer(KeyEvent.VK_DEAD_CARON));
   2:     keyTable.put("DEAD_CEDILLA", new Integer(KeyEvent.VK_DEAD_CEDILLA));
   3:     keyTable.put("DEAD_OGONEK", new Integer(KeyEvent.VK_DEAD_OGONEK));
   4:     keyTable.put("DEAD_IOTA", new Integer(KeyEvent.VK_DEAD_IOTA));
   5:     keyTable.put("DEAD_VOICED_SOUND", new Integer(KeyEvent.VK_DEAD_VOICED_SOUND));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_CARON: return "DEAD_CARON";
   2:       case KeyEvent.VK_DEAD_CEDILLA: return "DEAD_CEDILLA";
   3:       case KeyEvent.VK_DEAD_OGONEK: return "DEAD_OGONEK";
   4:       case KeyEvent.VK_DEAD_IOTA: return "DEAD_IOTA";
   5:       case KeyEvent.VK_DEAD_VOICED_SOUND: return "DEAD_VOICED_SOUND";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_CARON:
   2:       case KeyEvent.VK_DEAD_CEDILLA:
   3:       case KeyEvent.VK_DEAD_OGONEK:
   4:       case KeyEvent.VK_DEAD_IOTA:
   5:       case KeyEvent.VK_DEAD_VOICED_SOUND:

View Full Code Here

VK_DEAD_CIRCUMFLEX

public static final int VK_DEAD_CIRCUMFLEX
Field Value:
130
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_CIRCUMFLEX
   1:         case KeyEvent.VK_DEAD_ACUTE:
   2:         case KeyEvent.VK_DEAD_CIRCUMFLEX:
   3:         case KeyEvent.VK_DEAD_TILDE:
   4:         ...
   5:         case KeyEvent.VK_DEAD_ACUTE:
   6:         case KeyEvent.VK_DEAD_CIRCUMFLEX:
   7:         case KeyEvent.VK_DEAD_TILDE:
   8:         case KeyEvent.VK_DEAD_MACRON:
   9:         case KeyEvent.VK_DEAD_BREVE:

View Full Code Here
   1:     keyTable.put("DEAD_ACUTE", new Integer(KeyEvent.VK_DEAD_ACUTE));
   2:     keyTable.put("DEAD_CIRCUMFLEX", new Integer(KeyEvent.VK_DEAD_CIRCUMFLEX));
   3:     keyTable.put("DEAD_TILDE", new Integer(KeyEvent.VK_DEAD_TILDE));
   4:     keyTable.put("DEAD_MACRON", new Integer(KeyEvent.VK_DEAD_MACRON));
   5:     keyTable.put("DEAD_BREVE", new Integer(KeyEvent.VK_DEAD_BREVE));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_ACUTE: return "DEAD_ACUTE";
   2:       case KeyEvent.VK_DEAD_CIRCUMFLEX: return "DEAD_CIRCUMFLEX";
   3:       case KeyEvent.VK_DEAD_TILDE: return "DEAD_TILDE";
   4:       case KeyEvent.VK_DEAD_MACRON: return "DEAD_MACRON";
   5:       case KeyEvent.VK_DEAD_BREVE: return "DEAD_BREVE";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_ACUTE:
   2:       case KeyEvent.VK_DEAD_CIRCUMFLEX:
   3:       case KeyEvent.VK_DEAD_TILDE:
   4:       case KeyEvent.VK_DEAD_MACRON:
   5:       case KeyEvent.VK_DEAD_BREVE:

View Full Code Here

VK_DEAD_DIAERESIS

public static final int VK_DEAD_DIAERESIS
Field Value:
135
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_DIAERESIS
   1:         case KeyEvent.VK_DEAD_ABOVEDOT:
   2:         case KeyEvent.VK_DEAD_DIAERESIS:
   3:         case KeyEvent.VK_DEAD_ABOVERING:
   4:         ...
   5:         case KeyEvent.VK_DEAD_ABOVEDOT:
   6:         case KeyEvent.VK_DEAD_DIAERESIS:
   7:         case KeyEvent.VK_DEAD_ABOVERING:
   8:         case KeyEvent.VK_DEAD_DOUBLEACUTE:
   9:         case KeyEvent.VK_DEAD_CARON:

View Full Code Here
   1:     keyTable.put("DEAD_ABOVEDOT", new Integer(KeyEvent.VK_DEAD_ABOVEDOT));
   2:     keyTable.put("DEAD_DIAERESIS", new Integer(KeyEvent.VK_DEAD_DIAERESIS));
   3:     keyTable.put("DEAD_ABOVERING", new Integer(KeyEvent.VK_DEAD_ABOVERING));
   4:     keyTable.put("DEAD_DOUBLEACUTE", new Integer(KeyEvent.VK_DEAD_DOUBLEACUTE));
   5:     keyTable.put("DEAD_CARON", new Integer(KeyEvent.VK_DEAD_CARON));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_ABOVEDOT: return "DEAD_ABOVEDOT";
   2:       case KeyEvent.VK_DEAD_DIAERESIS: return "DEAD_DIAERESIS";
   3:       case KeyEvent.VK_DEAD_ABOVERING: return "DEAD_ABOVERING";
   4:       case KeyEvent.VK_DEAD_DOUBLEACUTE: return "DEAD_DOUBLEACUTE";
   5:       case KeyEvent.VK_DEAD_CARON: return "DEAD_CARON";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_ABOVEDOT:
   2:       case KeyEvent.VK_DEAD_DIAERESIS:
   3:       case KeyEvent.VK_DEAD_ABOVERING:
   4:       case KeyEvent.VK_DEAD_DOUBLEACUTE:
   5:       case KeyEvent.VK_DEAD_CARON:

View Full Code Here

VK_DEAD_DOUBLEACUTE

public static final int VK_DEAD_DOUBLEACUTE
Field Value:
137
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_DOUBLEACUTE
   1:         case KeyEvent.VK_DEAD_ABOVERING:
   2:         case KeyEvent.VK_DEAD_DOUBLEACUTE:
   3:         case KeyEvent.VK_DEAD_CARON:
   4:         ...
   5:         case KeyEvent.VK_DEAD_ABOVERING:
   6:         case KeyEvent.VK_DEAD_DOUBLEACUTE:
   7:         case KeyEvent.VK_DEAD_CARON:
   8:         case KeyEvent.VK_DEAD_CEDILLA:
   9:         case KeyEvent.VK_DEAD_OGONEK:

View Full Code Here
   1:     keyTable.put("DEAD_ABOVERING", new Integer(KeyEvent.VK_DEAD_ABOVERING));
   2:     keyTable.put("DEAD_DOUBLEACUTE", new Integer(KeyEvent.VK_DEAD_DOUBLEACUTE));
   3:     keyTable.put("DEAD_CARON", new Integer(KeyEvent.VK_DEAD_CARON));
   4:     keyTable.put("DEAD_CEDILLA", new Integer(KeyEvent.VK_DEAD_CEDILLA));
   5:     keyTable.put("DEAD_OGONEK", new Integer(KeyEvent.VK_DEAD_OGONEK));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_ABOVERING: return "DEAD_ABOVERING";
   2:       case KeyEvent.VK_DEAD_DOUBLEACUTE: return "DEAD_DOUBLEACUTE";
   3:       case KeyEvent.VK_DEAD_CARON: return "DEAD_CARON";
   4:       case KeyEvent.VK_DEAD_CEDILLA: return "DEAD_CEDILLA";
   5:       case KeyEvent.VK_DEAD_OGONEK: return "DEAD_OGONEK";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_ABOVERING:
   2:       case KeyEvent.VK_DEAD_DOUBLEACUTE:
   3:       case KeyEvent.VK_DEAD_CARON:
   4:       case KeyEvent.VK_DEAD_CEDILLA:
   5:       case KeyEvent.VK_DEAD_OGONEK:

View Full Code Here

VK_DEAD_GRAVE

public static final int VK_DEAD_GRAVE
Field Value:
128
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_GRAVE
   1:         case KeyEvent.VK_META:
   2:         case KeyEvent.VK_DEAD_GRAVE:
   3:         case KeyEvent.VK_DEAD_ACUTE:
   4:         ...
   5:         case KeyEvent.VK_QUOTE:
   6:         case KeyEvent.VK_DEAD_GRAVE:
   7:         case KeyEvent.VK_DEAD_ACUTE:
   8:         case KeyEvent.VK_DEAD_CIRCUMFLEX:
   9:         case KeyEvent.VK_DEAD_TILDE:

View Full Code Here
   1:               case Latin1.GRAVE:
   2:                 mapped = KeyEvent.VK_DEAD_GRAVE;
   3:                 break;
   4:               case Latin1.BRACE_LEFT:
   5:                 mapped = KeyEvent.VK_BRACELEFT;

View Full Code Here
   1: 
   2:     keyTable.put("DEAD_GRAVE", new Integer(KeyEvent.VK_DEAD_GRAVE));
   3:     keyTable.put("DEAD_ACUTE", new Integer(KeyEvent.VK_DEAD_ACUTE));
   4:     keyTable.put("DEAD_CIRCUMFLEX", new Integer(KeyEvent.VK_DEAD_CIRCUMFLEX));
   5:     keyTable.put("DEAD_TILDE", new Integer(KeyEvent.VK_DEAD_TILDE));

View Full Code Here
   1:       
   2:       case KeyEvent.VK_DEAD_GRAVE: return "DEAD_GRAVE";
   3:       case KeyEvent.VK_DEAD_ACUTE: return "DEAD_ACUTE";
   4:       case KeyEvent.VK_DEAD_CIRCUMFLEX: return "DEAD_CIRCUMFLEX";
   5:       case KeyEvent.VK_DEAD_TILDE: return "DEAD_TILDE";

View Full Code Here
   1:       case KeyEvent.VK_QUOTE:
   2:       case KeyEvent.VK_DEAD_GRAVE:
   3:       case KeyEvent.VK_DEAD_ACUTE:
   4:       case KeyEvent.VK_DEAD_CIRCUMFLEX:
   5:       case KeyEvent.VK_DEAD_TILDE:

View Full Code Here

VK_DEAD_IOTA

public static final int VK_DEAD_IOTA
Field Value:
141
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_IOTA
   1:         case KeyEvent.VK_DEAD_OGONEK:
   2:         case KeyEvent.VK_DEAD_IOTA:
   3:         case KeyEvent.VK_DEAD_VOICED_SOUND:
   4:         ...
   5:         case KeyEvent.VK_DEAD_OGONEK:
   6:         case KeyEvent.VK_DEAD_IOTA:
   7:         case KeyEvent.VK_DEAD_VOICED_SOUND:
   8:         case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   9:         case KeyEvent.VK_AMPERSAND:

View Full Code Here
   1:     keyTable.put("DEAD_OGONEK", new Integer(KeyEvent.VK_DEAD_OGONEK));
   2:     keyTable.put("DEAD_IOTA", new Integer(KeyEvent.VK_DEAD_IOTA));
   3:     keyTable.put("DEAD_VOICED_SOUND", new Integer(KeyEvent.VK_DEAD_VOICED_SOUND));
   4:     keyTable.put("DEAD_SEMIVOICED_SOUND", new Integer(KeyEvent.VK_DEAD_SEMIVOICED_SOUND));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_OGONEK: return "DEAD_OGONEK";
   2:       case KeyEvent.VK_DEAD_IOTA: return "DEAD_IOTA";
   3:       case KeyEvent.VK_DEAD_VOICED_SOUND: return "DEAD_VOICED_SOUND";
   4:       case KeyEvent.VK_DEAD_SEMIVOICED_SOUND: return "DEAD_SEMIVOICED_SOUND";
   5:       

View Full Code Here
   1:       case KeyEvent.VK_DEAD_OGONEK:
   2:       case KeyEvent.VK_DEAD_IOTA:
   3:       case KeyEvent.VK_DEAD_VOICED_SOUND:
   4:       case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   5:       case KeyEvent.VK_AMPERSAND:

View Full Code Here

VK_DEAD_MACRON

public static final int VK_DEAD_MACRON
Field Value:
132
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_MACRON
   1:         case KeyEvent.VK_DEAD_TILDE:
   2:         case KeyEvent.VK_DEAD_MACRON:
   3:         case KeyEvent.VK_DEAD_BREVE:
   4:         ...
   5:         case KeyEvent.VK_DEAD_TILDE:
   6:         case KeyEvent.VK_DEAD_MACRON:
   7:         case KeyEvent.VK_DEAD_BREVE:
   8:         case KeyEvent.VK_DEAD_ABOVEDOT:
   9:         case KeyEvent.VK_DEAD_DIAERESIS:

View Full Code Here
   1:     keyTable.put("DEAD_TILDE", new Integer(KeyEvent.VK_DEAD_TILDE));
   2:     keyTable.put("DEAD_MACRON", new Integer(KeyEvent.VK_DEAD_MACRON));
   3:     keyTable.put("DEAD_BREVE", new Integer(KeyEvent.VK_DEAD_BREVE));
   4:     keyTable.put("DEAD_ABOVEDOT", new Integer(KeyEvent.VK_DEAD_ABOVEDOT));
   5:     keyTable.put("DEAD_DIAERESIS", new Integer(KeyEvent.VK_DEAD_DIAERESIS));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_TILDE: return "DEAD_TILDE";
   2:       case KeyEvent.VK_DEAD_MACRON: return "DEAD_MACRON";
   3:       case KeyEvent.VK_DEAD_BREVE: return "DEAD_BREVE";
   4:       case KeyEvent.VK_DEAD_ABOVEDOT: return "DEAD_ABOVEDOT";
   5:       case KeyEvent.VK_DEAD_DIAERESIS: return "DEAD_DIAERESIS";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_TILDE:
   2:       case KeyEvent.VK_DEAD_MACRON:
   3:       case KeyEvent.VK_DEAD_BREVE:
   4:       case KeyEvent.VK_DEAD_ABOVEDOT:
   5:       case KeyEvent.VK_DEAD_DIAERESIS:

View Full Code Here

VK_DEAD_OGONEK

public static final int VK_DEAD_OGONEK
Field Value:
140
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_OGONEK
   1:         case KeyEvent.VK_DEAD_CEDILLA:
   2:         case KeyEvent.VK_DEAD_OGONEK:
   3:         case KeyEvent.VK_DEAD_IOTA:
   4:         ...
   5:         case KeyEvent.VK_DEAD_CEDILLA:
   6:         case KeyEvent.VK_DEAD_OGONEK:
   7:         case KeyEvent.VK_DEAD_IOTA:
   8:         case KeyEvent.VK_DEAD_VOICED_SOUND:
   9:         case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:

View Full Code Here
   1:     keyTable.put("DEAD_CEDILLA", new Integer(KeyEvent.VK_DEAD_CEDILLA));
   2:     keyTable.put("DEAD_OGONEK", new Integer(KeyEvent.VK_DEAD_OGONEK));
   3:     keyTable.put("DEAD_IOTA", new Integer(KeyEvent.VK_DEAD_IOTA));
   4:     keyTable.put("DEAD_VOICED_SOUND", new Integer(KeyEvent.VK_DEAD_VOICED_SOUND));
   5:     keyTable.put("DEAD_SEMIVOICED_SOUND", new Integer(KeyEvent.VK_DEAD_SEMIVOICED_SOUND));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_CEDILLA: return "DEAD_CEDILLA";
   2:       case KeyEvent.VK_DEAD_OGONEK: return "DEAD_OGONEK";
   3:       case KeyEvent.VK_DEAD_IOTA: return "DEAD_IOTA";
   4:       case KeyEvent.VK_DEAD_VOICED_SOUND: return "DEAD_VOICED_SOUND";
   5:       case KeyEvent.VK_DEAD_SEMIVOICED_SOUND: return "DEAD_SEMIVOICED_SOUND";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_CEDILLA:
   2:       case KeyEvent.VK_DEAD_OGONEK:
   3:       case KeyEvent.VK_DEAD_IOTA:
   4:       case KeyEvent.VK_DEAD_VOICED_SOUND:
   5:       case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:

View Full Code Here

VK_DEAD_SEMIVOICED_SOUND

public static final int VK_DEAD_SEMIVOICED_SOUND
Field Value:
143
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_SEMIVOICED_SOUND
   1:         case KeyEvent.VK_DEAD_VOICED_SOUND:
   2:         case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   3:             return false;
   4:         ...
   5:         case KeyEvent.VK_DEAD_VOICED_SOUND:
   6:         case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   7:         case KeyEvent.VK_AMPERSAND:
   8:         case KeyEvent.VK_ASTERISK:
   9:         case KeyEvent.VK_QUOTEDBL:

View Full Code Here
   1:     keyTable.put("DEAD_VOICED_SOUND", new Integer(KeyEvent.VK_DEAD_VOICED_SOUND));
   2:     keyTable.put("DEAD_SEMIVOICED_SOUND", new Integer(KeyEvent.VK_DEAD_SEMIVOICED_SOUND));
   3: 
   4:     keyTable.put("AMPERSAND", new Integer(KeyEvent.VK_AMPERSAND));
   5:     keyTable.put("ASTERISK", new Integer(KeyEvent.VK_ASTERISK));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_VOICED_SOUND: return "DEAD_VOICED_SOUND";
   2:       case KeyEvent.VK_DEAD_SEMIVOICED_SOUND: return "DEAD_SEMIVOICED_SOUND";
   3:       
   4:       case KeyEvent.VK_AMPERSAND: return "AMPERSAND";
   5:       case KeyEvent.VK_ASTERISK: return "ASTERISK";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_VOICED_SOUND:
   2:       case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   3:       case KeyEvent.VK_AMPERSAND:
   4:       case KeyEvent.VK_ASTERISK:
   5:       case KeyEvent.VK_QUOTEDBL:

View Full Code Here

VK_DEAD_TILDE

public static final int VK_DEAD_TILDE
Field Value:
131
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_TILDE
   1:         case KeyEvent.VK_DEAD_CIRCUMFLEX:
   2:         case KeyEvent.VK_DEAD_TILDE:
   3:         case KeyEvent.VK_DEAD_MACRON:
   4:         ...
   5:         case KeyEvent.VK_DEAD_CIRCUMFLEX:
   6:         case KeyEvent.VK_DEAD_TILDE:
   7:         case KeyEvent.VK_DEAD_MACRON:
   8:         case KeyEvent.VK_DEAD_BREVE:
   9:         case KeyEvent.VK_DEAD_ABOVEDOT:

View Full Code Here
   1:               case Latin1.ASCII_TILDE:
   2:                 mapped = KeyEvent.VK_DEAD_TILDE;
   3:                 break;
   4:               case Latin1.EXCLAM_DOWN:
   5:                 mapped = KeyEvent.VK_INVERTED_EXCLAMATION_MARK;

View Full Code Here
   1:     keyTable.put("DEAD_CIRCUMFLEX", new Integer(KeyEvent.VK_DEAD_CIRCUMFLEX));
   2:     keyTable.put("DEAD_TILDE", new Integer(KeyEvent.VK_DEAD_TILDE));
   3:     keyTable.put("DEAD_MACRON", new Integer(KeyEvent.VK_DEAD_MACRON));
   4:     keyTable.put("DEAD_BREVE", new Integer(KeyEvent.VK_DEAD_BREVE));
   5:     keyTable.put("DEAD_ABOVEDOT", new Integer(KeyEvent.VK_DEAD_ABOVEDOT));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_CIRCUMFLEX: return "DEAD_CIRCUMFLEX";
   2:       case KeyEvent.VK_DEAD_TILDE: return "DEAD_TILDE";
   3:       case KeyEvent.VK_DEAD_MACRON: return "DEAD_MACRON";
   4:       case KeyEvent.VK_DEAD_BREVE: return "DEAD_BREVE";
   5:       case KeyEvent.VK_DEAD_ABOVEDOT: return "DEAD_ABOVEDOT";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_CIRCUMFLEX:
   2:       case KeyEvent.VK_DEAD_TILDE:
   3:       case KeyEvent.VK_DEAD_MACRON:
   4:       case KeyEvent.VK_DEAD_BREVE:
   5:       case KeyEvent.VK_DEAD_ABOVEDOT:

View Full Code Here

VK_DEAD_VOICED_SOUND

public static final int VK_DEAD_VOICED_SOUND
Field Value:
142
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DEAD_VOICED_SOUND
   1:         case KeyEvent.VK_DEAD_IOTA:
   2:         case KeyEvent.VK_DEAD_VOICED_SOUND:
   3:         case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   4:         ...
   5:         case KeyEvent.VK_DEAD_IOTA:
   6:         case KeyEvent.VK_DEAD_VOICED_SOUND:
   7:         case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   8:         case KeyEvent.VK_AMPERSAND:
   9:         case KeyEvent.VK_ASTERISK:

View Full Code Here
   1:     keyTable.put("DEAD_IOTA", new Integer(KeyEvent.VK_DEAD_IOTA));
   2:     keyTable.put("DEAD_VOICED_SOUND", new Integer(KeyEvent.VK_DEAD_VOICED_SOUND));
   3:     keyTable.put("DEAD_SEMIVOICED_SOUND", new Integer(KeyEvent.VK_DEAD_SEMIVOICED_SOUND));
   4: 
   5:     keyTable.put("AMPERSAND", new Integer(KeyEvent.VK_AMPERSAND));

View Full Code Here
   1:       case KeyEvent.VK_DEAD_IOTA: return "DEAD_IOTA";
   2:       case KeyEvent.VK_DEAD_VOICED_SOUND: return "DEAD_VOICED_SOUND";
   3:       case KeyEvent.VK_DEAD_SEMIVOICED_SOUND: return "DEAD_SEMIVOICED_SOUND";
   4:       
   5:       case KeyEvent.VK_AMPERSAND: return "AMPERSAND";

View Full Code Here
   1:       case KeyEvent.VK_DEAD_IOTA:
   2:       case KeyEvent.VK_DEAD_VOICED_SOUND:
   3:       case KeyEvent.VK_DEAD_SEMIVOICED_SOUND:
   4:       case KeyEvent.VK_AMPERSAND:
   5:       case KeyEvent.VK_ASTERISK:

View Full Code Here

VK_DECIMAL

public static final int VK_DECIMAL
Field Value:
110
Usages and Demos :

View More Examples of KeyEvent.VK_DECIMAL
   1:     key=0xffad; break;
   2:       case KeyEvent.VK_DECIMAL:
   3:     key=0xffae; break;
   4:       case KeyEvent.VK_DIVIDE:
   5:     key=0xffaf; break;

View Full Code Here
   1:         else key=0xffad; break;
   2:       case KeyEvent.VK_DECIMAL:
   3:     key=0xffae; break;
   4:       case KeyEvent.VK_DIVIDE:
   5:     key=0xffaf; break;

View Full Code Here
   1:     keyTable.put("SUBTRACT", new Integer(KeyEvent.VK_SUBTRACT));
   2:     keyTable.put("DECIMAL", new Integer(KeyEvent.VK_DECIMAL));
   3:     keyTable.put("DIVIDE", new Integer(KeyEvent.VK_DIVIDE));
   4:     keyTable.put("DELETE", new Integer(KeyEvent.VK_DELETE));
   5:     keyTable.put("NUM_LOCK", new Integer(KeyEvent.VK_NUM_LOCK));

View Full Code Here
   1:       case KeyEvent.VK_SUBTRACT: return "SUBTRACT";
   2:       case KeyEvent.VK_DECIMAL: return "DECIMAL";
   3:       case KeyEvent.VK_DIVIDE: return "DIVIDE";
   4:       case KeyEvent.VK_DELETE: return "DELETE";
   5:       case KeyEvent.VK_NUM_LOCK: return "NUM_LOCK";

View Full Code Here
   1:       case KeyEvent.VK_SUBTRACT:
   2:       case KeyEvent.VK_DECIMAL:
   3:       case KeyEvent.VK_DIVIDE:
   4:       case KeyEvent.VK_BACK_QUOTE:
   5:       case KeyEvent.VK_QUOTE:

View Full Code Here

VK_DELETE

public static final int VK_DELETE
Field Value:
127
Usages and Demos :

View More Examples of KeyEvent.VK_DELETE
   1:         break;
   2:     case KeyEvent.VK_DELETE:
   3:         chars[cRow * (maxCol+1) + cCol] = ' ';
   4:         break;
   5:     default: 

View Full Code Here
   1:     key=0xffc9; break;
   2:       case KeyEvent.VK_DELETE:
   3:     key=0xffff; break;
   4:       case KeyEvent.VK_NUM_LOCK:
   5:     key=0xff7f; break;

View Full Code Here
   1:                 && e.getKeyCode() != KeyEvent.VK_ESCAPE
   2:                 && e.getKeyCode() != KeyEvent.VK_DELETE
   3:                 && e.getKeyCode() != KeyEvent.VK_BACK_SPACE
   4:         ...
   5:                 return new KeyStroke(KeyStrokeType.LINE_DOWN);
   6:             case KeyEvent.VK_DELETE:
   7:                 return e.isShiftDown() ? new KeyStroke(KeyStrokeType.CUT)
   8:                         : new KeyStroke(KeyStrokeType.DELETE_AFTER);
   9:             case KeyEvent.VK_BACK_SPACE:

View Full Code Here
   1:           case KeyEvent.VK_BACK_SPACE:
   2:           case KeyEvent.VK_DELETE:
   3:             removeFiles();
   4:         }
   5:       }

View Full Code Here

VK_DIVIDE

public static final int VK_DIVIDE
Field Value:
111
Usages and Demos :

View More Examples of KeyEvent.VK_DIVIDE
   1:     key=0xffae; break;
   2:       case KeyEvent.VK_DIVIDE:
   3:     key=0xffaf; break;
   4:       case KeyEvent.VK_F1:
   5:     key=0xffbe; break;

View Full Code Here
   1:     key=0xffae; break;
   2:       case KeyEvent.VK_DIVIDE:
   3:     key=0xffaf; break;
   4:       case KeyEvent.VK_F1:
   5:     key=0xffbe; break;

View Full Code Here
   1:     keyTable.put("DECIMAL", new Integer(KeyEvent.VK_DECIMAL));
   2:     keyTable.put("DIVIDE", new Integer(KeyEvent.VK_DIVIDE));
   3:     keyTable.put("DELETE", new Integer(KeyEvent.VK_DELETE));
   4:     keyTable.put("NUM_LOCK", new Integer(KeyEvent.VK_NUM_LOCK));
   5:     keyTable.put("SCROLL_LOCK", new Integer(KeyEvent.VK_SCROLL_LOCK));

View Full Code Here
   1:       case KeyEvent.VK_DECIMAL: return "DECIMAL";
   2:       case KeyEvent.VK_DIVIDE: return "DIVIDE";
   3:       case KeyEvent.VK_DELETE: return "DELETE";
   4:       case KeyEvent.VK_NUM_LOCK: return "NUM_LOCK";
   5:       case KeyEvent.VK_SCROLL_LOCK: return "SCROLL_LOCK";

View Full Code Here
   1:       case KeyEvent.VK_DECIMAL:
   2:       case KeyEvent.VK_DIVIDE:
   3:       case KeyEvent.VK_BACK_QUOTE:
   4:       case KeyEvent.VK_QUOTE:
   5:       case KeyEvent.VK_DEAD_GRAVE:

View Full Code Here

VK_DOLLAR

public static final int VK_DOLLAR
Constant for the "$" key.
Field Value:
515
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_DOLLAR
   1:         case KeyEvent.VK_CIRCUMFLEX:
   2:         case KeyEvent.VK_DOLLAR:
   3:         case KeyEvent.VK_EURO_SIGN:
   4:         case KeyEvent.VK_EXCLAMATION_MARK:
   5:         case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:

View Full Code Here
   1:               case Latin1.DOLLAR:
   2:                 mapped = KeyEvent.VK_DOLLAR;
   3:                 break;
   4:               case Latin1.AMPERSAND:
   5:                 mapped = KeyEvent.VK_AMPERSAND;

View Full Code Here
   1:     keyTable.put("CIRCUMFLEX", new Integer(KeyEvent.VK_CIRCUMFLEX));
   2:     keyTable.put("DOLLAR", new Integer(KeyEvent.VK_DOLLAR));
   3:     keyTable.put("EURO_SIGN", new Integer(KeyEvent.VK_EURO_SIGN));
   4:     keyTable.put("EXCLAMATION_MARK", new Integer(KeyEvent.VK_EXCLAMATION_MARK));
   5:     keyTable.put("INVERTED_EXCLAMATION_MARK", new Integer(KeyEvent.VK_INVERTED_EXCLAMATION_MARK));

View Full Code Here
   1:       case KeyEvent.VK_CIRCUMFLEX: return "CIRCUMFLEX";
   2:       case KeyEvent.VK_DOLLAR: return "DOLLAR";
   3:       case KeyEvent.VK_EURO_SIGN: return "EURO_SIGN";
   4:       case KeyEvent.VK_EXCLAMATION_MARK: return "EXCLAMATION_MARK";
   5:       case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:

View Full Code Here
   1:       case KeyEvent.VK_CIRCUMFLEX:
   2:       case KeyEvent.VK_DOLLAR:
   3:       case KeyEvent.VK_EURO_SIGN:
   4:       case KeyEvent.VK_EXCLAMATION_MARK:
   5:       case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:

View Full Code Here

VK_DOWN

public static final int VK_DOWN
Constant for the non-numpad down arrow key.
Field Value:
40
See Also:
VK_KP_DOWN
Usages and Demos :

View More Examples of KeyEvent.VK_DOWN
   1:         break;
   2:     case KeyEvent.VK_DOWN:
   3:         solver.K_NOMINAL -= 0.05;
   4:         solver.constantK.setValue(solver.K_NOMINAL);
   5:         solver.update();

View Full Code Here
   1:            ke.getKeyCode() == KeyEvent.VK_UP ||
   2:            ke.getKeyCode() == KeyEvent.VK_DOWN ||
   3:            ke.getKeyCode() == KeyEvent.VK_LEFT ||
   4:            ke.getKeyCode() == KeyEvent.VK_RIGHT)
   5:         return;

View Full Code Here
   1:            ke.getKeyCode() == KeyEvent.VK_UP ||
   2:            ke.getKeyCode() == KeyEvent.VK_DOWN ||
   3:            ke.getKeyCode() == KeyEvent.VK_LEFT ||
   4:            ke.getKeyCode() == KeyEvent.VK_RIGHT)
   5:         return;

View Full Code Here
   1:            ke.getKeyCode() == KeyEvent.VK_UP ||
   2:            ke.getKeyCode() == KeyEvent.VK_DOWN ||
   3:            ke.getKeyCode() == KeyEvent.VK_LEFT ||
   4:            ke.getKeyCode() == KeyEvent.VK_RIGHT)
   5:         return;

View Full Code Here
   1:         }
   2:       case KeyEvent.VK_DOWN :
   3:         {
   4:           forward= false;
   5:           return;

View Full Code Here

VK_E

public static final int VK_E
Field Value:
69
Usages and Demos :

View More Examples of KeyEvent.VK_E
   1:     public int getShortCut() {
   2:         return KeyEvent.VK_E;
   3:     }
   4: }

View Full Code Here
   1:             putValue(SHORT_DESCRIPTION, "Expands all nodes in the selected subtree");
   2:             putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_E));
   3:         }
   4:         public void actionPerformed(ActionEvent e) {
   5:             if( m_tree != null )

View Full Code Here
   1:     
   2:     public static final Integer EXPLORER_MNEMONIC_KEY = new Integer(KeyEvent.VK_E);
   3:         ...
   4:     public static final KeyStroke EXPLORER_ACCELERATOR_KEY = KeyStroke.getKeyStroke(KeyEvent.VK_E, ActionEvent.CTRL_MASK);
   5:     
   6:     public static final Integer DESIGNER_MNEMONIC_KEY = new Integer(KeyEvent.VK_G);
   7:     

View Full Code Here
   1:       case KeyEvent.VK_D:
   2:       case KeyEvent.VK_E:
   3:       case KeyEvent.VK_F:
   4:       case KeyEvent.VK_G:
   5:       case KeyEvent.VK_H:

View Full Code Here
   1:       case KeyEvent.VK_D:
   2:       case KeyEvent.VK_E:
   3:       case KeyEvent.VK_F:
   4:       case KeyEvent.VK_G:
   5:       case KeyEvent.VK_H:

View Full Code Here

VK_END

public static final int VK_END
Field Value:
35
Usages and Demos :

View More Examples of KeyEvent.VK_END
   1:             switch (keycode) {
   2:             case KeyEvent.VK_END:
   3:             }
   4:         }
   5:     }

View Full Code Here
   1:         if (keyCode == KeyEvent.VK_LEFT || keyCode == KeyEvent.VK_RIGHT ||
   2:         keyCode == KeyEvent.VK_END || keyCode == KeyEvent.VK_HOME) {
   3:         processKey = true;
   4:         }
   5:     }

View Full Code Here
   1:         if (keyCode == KeyEvent.VK_LEFT || keyCode == KeyEvent.VK_RIGHT ||
   2:         keyCode == KeyEvent.VK_END || keyCode == KeyEvent.VK_HOME) {
   3:         processKey = true;
   4:         }
   5:     }

View Full Code Here
   1:         break;
   2:     case KeyEvent.VK_END:
   3:         cCol = maxCol; cRow = maxRow;
   4:         break;
   5:     case KeyEvent.VK_HOME:

View Full Code Here
   1:     key=0xff56; break;
   2:       case KeyEvent.VK_END:
   3:     key=0xff57; break;
   4:       case KeyEvent.VK_HOME:
   5:     key=0xff50; break;

View Full Code Here

VK_ENTER

public static final int VK_ENTER
Field Value:
10
Usages and Demos :

View More Examples of KeyEvent.VK_ENTER
   1:       (ApplicationImages.ICON_PLAY_16), KeyStroke.getKeyStroke(
   2:         KeyEvent.VK_ENTER, 0));
   3:     setEnabled(false);
   4:   }

View Full Code Here
   1:                     KeyStroke.getKeyStroke(
   2:                     KeyEvent.VK_ENTER, 0, true),
   3:                     JComponent.WHEN_IN_FOCUSED_WINDOW);
   4:     
   5:     pack();

View Full Code Here
   1:       KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT, KeyEvent.VK_UP, KeyEvent.VK_DOWN,
   2:       KeyEvent.VK_ENTER, KeyEvent.VK_ESCAPE, KeyEvent.VK_TAB, KeyEvent.VK_SHIFT,
   3:       KeyEvent.VK_ALT, KeyEvent.VK_CONTROL, KeyEvent.VK_META
   4:   };

View Full Code Here
   1:             {
   2:             case KeyEvent.VK_ENTER:
   3:                 if(evt.isControlDown())
   4:                 {
   5:                     replaceSelection("\n");

View Full Code Here
   1:       {
   2:         case KeyEvent.VK_ENTER: case KeyEvent.VK_SPACE:
   3:           textArea.setSelectedText(((String) itemsList.getSelectedValue()).substring(word.length()));
   4:           evt.consume();
   5:           dispose();

View Full Code Here

VK_EQUALS

public static final int VK_EQUALS
Constant for the equals key, "="
Field Value:
61
Usages and Demos :

View More Examples of KeyEvent.VK_EQUALS
   1:       case KeyEvent.VK_SEMICOLON:
   2:       case KeyEvent.VK_EQUALS:
   3:       case KeyEvent.VK_OPEN_BRACKET:
   4:       case KeyEvent.VK_BACK_SLASH:
   5:       case KeyEvent.VK_CLOSE_BRACKET:

View Full Code Here
   1:       case KeyEvent.VK_SEMICOLON:
   2:       case KeyEvent.VK_EQUALS:
   3:       case KeyEvent.VK_OPEN_BRACKET:
   4:       case KeyEvent.VK_BACK_SLASH:
   5:       case KeyEvent.VK_CLOSE_BRACKET:

View Full Code Here
   1:         case KeyEvent.VK_SEMICOLON:
   2:         case KeyEvent.VK_EQUALS   :
   3:         case KeyEvent.VK_A:
   4:         case KeyEvent.VK_B:
   5:         case KeyEvent.VK_C:

View Full Code Here
   1:               case Latin1.EQUAL:
   2:                 mapped = KeyEvent.VK_EQUALS;
   3:                 break;
   4:               case Latin1.GREATER:
   5:                 mapped = KeyEvent.VK_GREATER;

View Full Code Here
   1:     keyTable.put("SEMICOLON", new Integer(KeyEvent.VK_SEMICOLON));
   2:     keyTable.put("EQUALS", new Integer(KeyEvent.VK_EQUALS));
   3: 
   4:     keyTable.put("OPEN_BRACKET", new Integer(KeyEvent.VK_OPEN_BRACKET));
   5:     keyTable.put("BACK_SLASH", new Integer(KeyEvent.VK_BACK_SLASH));

View Full Code Here

VK_ESCAPE

public static final int VK_ESCAPE
Field Value:
27
Usages and Demos :

View More Examples of KeyEvent.VK_ESCAPE
   1:     {
   2:       case KeyEvent.VK_ESCAPE:
   3:         parent.dispose();
   4:         evt.consume();
   5:         break;

View Full Code Here
   1:                     KeyStroke.getKeyStroke(
   2:                     KeyEvent.VK_ESCAPE, 0, true),
   3:                     JComponent.WHEN_IN_FOCUSED_WINDOW);
   4: 
   5:     pane.registerKeyboardAction(OKListener,

View Full Code Here
   1:       KeyEvent.VK_LEFT, KeyEvent.VK_RIGHT, KeyEvent.VK_UP, KeyEvent.VK_DOWN,
   2:       KeyEvent.VK_ENTER, KeyEvent.VK_ESCAPE, KeyEvent.VK_TAB, KeyEvent.VK_SHIFT,
   3:       KeyEvent.VK_ALT, KeyEvent.VK_CONTROL, KeyEvent.VK_META
   4:   };

View Full Code Here
   1:         case KeyEvent.VK_ENTER : if (butOK != null) pushButton(butOK); break;
   2:         case KeyEvent.VK_ESCAPE : if (butCancel != null) pushButton(butCancel); break;
   3:         }
   4:     }
   5:     }

View Full Code Here
   1:           break;
   2:         case KeyEvent.VK_ESCAPE:
   3:           dispose();
   4:           evt.consume();
   5:           break;

View Full Code Here

VK_EURO_SIGN

public static final int VK_EURO_SIGN
Constant for the Euro currency sign key.
Field Value:
516
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_EURO_SIGN
   1:         case KeyEvent.VK_DOLLAR:
   2:         case KeyEvent.VK_EURO_SIGN:
   3:         case KeyEvent.VK_EXCLAMATION_MARK:
   4:         case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   5:         case KeyEvent.VK_LEFT_PARENTHESIS:

View Full Code Here
   1:     keyTable.put("DOLLAR", new Integer(KeyEvent.VK_DOLLAR));
   2:     keyTable.put("EURO_SIGN", new Integer(KeyEvent.VK_EURO_SIGN));
   3:     keyTable.put("EXCLAMATION_MARK", new Integer(KeyEvent.VK_EXCLAMATION_MARK));
   4:     keyTable.put("INVERTED_EXCLAMATION_MARK", new Integer(KeyEvent.VK_INVERTED_EXCLAMATION_MARK));
   5:     keyTable.put("LEFT_PARENTHESIS", new Integer(KeyEvent.VK_LEFT_PARENTHESIS));

View Full Code Here
   1:       case KeyEvent.VK_DOLLAR: return "DOLLAR";
   2:       case KeyEvent.VK_EURO_SIGN: return "EURO_SIGN";
   3:       case KeyEvent.VK_EXCLAMATION_MARK: return "EXCLAMATION_MARK";
   4:       case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   5:         return "INVERTED_EXCLAMATION_MARK";

View Full Code Here
   1:       case KeyEvent.VK_DOLLAR:
   2:       case KeyEvent.VK_EURO_SIGN:
   3:       case KeyEvent.VK_EXCLAMATION_MARK:
   4:       case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   5:       case KeyEvent.VK_LEFT_PARENTHESIS:

View Full Code Here

VK_EXCLAMATION_MARK

public static final int VK_EXCLAMATION_MARK
Constant for the "!" key.
Field Value:
517
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_EXCLAMATION_MARK
   1:         case KeyEvent.VK_EURO_SIGN:
   2:         case KeyEvent.VK_EXCLAMATION_MARK:
   3:         case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   4:         case KeyEvent.VK_LEFT_PARENTHESIS:
   5:         case KeyEvent.VK_NUMBER_SIGN:

View Full Code Here
   1:               case Latin1.EXCLAM:
   2:                 mapped = KeyEvent.VK_EXCLAMATION_MARK;
   3:                 break;
   4:               case Latin1.QUOTE_DBL:
   5:                 mapped = KeyEvent.VK_QUOTEDBL;

View Full Code Here
   1:     keyTable.put("EURO_SIGN", new Integer(KeyEvent.VK_EURO_SIGN));
   2:     keyTable.put("EXCLAMATION_MARK", new Integer(KeyEvent.VK_EXCLAMATION_MARK));
   3:     keyTable.put("INVERTED_EXCLAMATION_MARK", new Integer(KeyEvent.VK_INVERTED_EXCLAMATION_MARK));
   4:     keyTable.put("LEFT_PARENTHESIS", new Integer(KeyEvent.VK_LEFT_PARENTHESIS));
   5:     keyTable.put("NUMBER_SIGN", new Integer(KeyEvent.VK_NUMBER_SIGN));

View Full Code Here
   1:       case KeyEvent.VK_EURO_SIGN: return "EURO_SIGN";
   2:       case KeyEvent.VK_EXCLAMATION_MARK: return "EXCLAMATION_MARK";
   3:       case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   4:         return "INVERTED_EXCLAMATION_MARK";
   5:       case KeyEvent.VK_LEFT_PARENTHESIS: return "LEFT_PARENTHESIS";

View Full Code Here
   1:       case KeyEvent.VK_EURO_SIGN:
   2:       case KeyEvent.VK_EXCLAMATION_MARK:
   3:       case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   4:       case KeyEvent.VK_LEFT_PARENTHESIS:
   5:       case KeyEvent.VK_NUMBER_SIGN:

View Full Code Here

VK_F

public static final int VK_F
Field Value:
70
Usages and Demos :

View More Examples of KeyEvent.VK_F
   1:       case KeyEvent.VK_E:
   2:       case KeyEvent.VK_F:
   3:       case KeyEvent.VK_G:
   4:       case KeyEvent.VK_H:
   5:       case KeyEvent.VK_I:

View Full Code Here
   1:                             PackageResources.Manager.Find.ICON);
   2:             putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_F));
   3:         ...
   4:             putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F,
   5:                             KeyEvent.CTRL_DOWN_MASK));
   6:         }
   7:         

View Full Code Here
   1: 
   2:     forward .setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F,
   3:                             ActionEvent.CTRL_MASK));
   4: 
   5:     reverse .setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_R,

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("Blank"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_F));
   3:   }
   4:   
   5:   public UpdateFlowDetailsAction(YAWLTask task, NetGraph graph) {

View Full Code Here
   1:       case KeyEvent.VK_E:
   2:       case KeyEvent.VK_F:
   3:       case KeyEvent.VK_G:
   4:       case KeyEvent.VK_H:
   5:       case KeyEvent.VK_I:

View Full Code Here

VK_F1

public static final int VK_F1
Constant for the F1 function key.
Field Value:
112
Usages and Demos :

View More Examples of KeyEvent.VK_F1
   1:         
   2:         macros.put(new Integer(KeyEvent.VK_F1), "package");
   3:         macros.put(new Integer(KeyEvent.VK_F2), "import");
   4:         macros.put(new Integer(KeyEvent.VK_F3), "class");
   5:         macros.put(new Integer(KeyEvent.VK_F4), "extends");

View Full Code Here
   1:     KeyStroke postTip=KeyStroke.getKeyStroke(
   2:       KeyEvent.VK_F1,Event.CTRL_MASK);
   3: 
   4:     for (int i = 0; i < keys.length; i++) 
   5:     {

View Full Code Here
   1:     key=0xffaf; break;
   2:       case KeyEvent.VK_F1:
   3:     key=0xffbe; break;
   4:       case KeyEvent.VK_F2:
   5:     key=0xffbf; break;

View Full Code Here
   1: 
   2:         case KeyEvent.VK_F1:
   3:         case KeyEvent.VK_F2:
   4:         case KeyEvent.VK_F3:
   5:         case KeyEvent.VK_F4:

View Full Code Here
   1:     key=0xffaf; break;
   2:       case KeyEvent.VK_F1:
   3:     key=0xffbe; break;
   4:       case KeyEvent.VK_F2:
   5:     key=0xffbf; break;

View Full Code Here

VK_F10

public static final int VK_F10
Constant for the F10 function key.
Field Value:
121
Usages and Demos :

View More Examples of KeyEvent.VK_F10
   1:         put(KeyEvent.VK_F9,"f9");
   2:         put(KeyEvent.VK_F10,"f10");
   3:         put(KeyEvent.VK_F11,"f11");
   4:         put(KeyEvent.VK_F12,"f12");
   5:         put(KeyEvent.VK_LEFT,"left");

View Full Code Here
   1:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   2:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };
   3: 
   4:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,
   5:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,

View Full Code Here
   1:     key=0xffc6; break;
   2:       case KeyEvent.VK_F10:
   3:     key=0xffc7; break;
   4:       case KeyEvent.VK_F11:
   5:     key=0xffc8; break;

View Full Code Here
   1:         case KeyEvent.VK_F9:
   2:         case KeyEvent.VK_F10:
   3:         case KeyEvent.VK_F11:
   4:         case KeyEvent.VK_F12:
   5:         case KeyEvent.VK_F13:

View Full Code Here
   1:     key=0xffc6; break;
   2:       case KeyEvent.VK_F10:
   3:     key=0xffc7; break;
   4:       case KeyEvent.VK_F11:
   5:     key=0xffc8; break;

View Full Code Here

VK_F11

public static final int VK_F11
Constant for the F11 function key.
Field Value:
122
Usages and Demos :

View More Examples of KeyEvent.VK_F11
   1:     public static final KeyStroke   TEST_CONNECTION_KEY = 
   2:         KeyUtils.getCtrlDown(KeyEvent.VK_F11);
   3:     
   4:     public SourcePageController(IntegrationEntityPage page) {
   5:         super(page);

View Full Code Here
   1:     public static final KeyStroke   TEST_CONNECTION_KEY = 
   2:         KeyUtils.getCtrlDown(KeyEvent.VK_F11);
   3:     
   4:     public TargetPageController(IntegrationEntityPage page) {
   5:         super(page);

View Full Code Here
   1:         put(KeyEvent.VK_F10,"f10");
   2:         put(KeyEvent.VK_F11,"f11");
   3:         put(KeyEvent.VK_F12,"f12");
   4:         put(KeyEvent.VK_LEFT,"left");
   5:         put(KeyEvent.VK_RIGHT,"right");

View Full Code Here
   1:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   2:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };
   3: 
   4:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,
   5:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,

View Full Code Here
   1:     key=0xffc7; break;
   2:       case KeyEvent.VK_F11:
   3:     key=0xffc8; break;
   4:       case KeyEvent.VK_F12:
   5:     key=0xffc9; break;

View Full Code Here

VK_F12

public static final int VK_F12
Constant for the F12 function key.
Field Value:
123
Usages and Demos :

View More Examples of KeyEvent.VK_F12
   1:         put(KeyEvent.VK_F11,"f11");
   2:         put(KeyEvent.VK_F12,"f12");
   3:         put(KeyEvent.VK_LEFT,"left");
   4:         put(KeyEvent.VK_RIGHT,"right");
   5:         put(KeyEvent.VK_DOWN,"down");

View Full Code Here
   1:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   2:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };
   3: 
   4:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,
   5:             KeyEvent.VK_3, KeyEvent.VK_4, KeyEvent.VK_5, KeyEvent.VK_6,

View Full Code Here
   1:         m_view = view;
   2:         putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F12, 0));
   3:         setEnabled(true);
   4:     }

View Full Code Here
   1:     key=0xffc8; break;
   2:       case KeyEvent.VK_F12:
   3:     key=0xffc9; break;
   4:       case KeyEvent.VK_DELETE:
   5:     key=0xffff; break;

View Full Code Here
   1:         case KeyEvent.VK_F11:
   2:         case KeyEvent.VK_F12:
   3:         case KeyEvent.VK_F13:
   4:         case KeyEvent.VK_F14:
   5:         case KeyEvent.VK_F15:

View Full Code Here

VK_F13

public static final int VK_F13
Constant for the F13 function key.
Field Value:
61440
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F13
   1:         case KeyEvent.VK_F12:
   2:         case KeyEvent.VK_F13:
   3:         case KeyEvent.VK_F14:
   4:         case KeyEvent.VK_F15:
   5:         case KeyEvent.VK_F16:

View Full Code Here
   1:           case Misc.F13:
   2:             mapped = KeyEvent.VK_F13;
   3:             break;
   4:           case Misc.F14:
   5:             mapped = KeyEvent.VK_F14;

View Full Code Here
   1:     keyTable.put("F12", new Integer(KeyEvent.VK_F12));
   2:     keyTable.put("F13", new Integer(KeyEvent.VK_F13));
   3:     keyTable.put("F14", new Integer(KeyEvent.VK_F14));
   4:     keyTable.put("F15", new Integer(KeyEvent.VK_F15));
   5:     keyTable.put("F16", new Integer(KeyEvent.VK_F16));

View Full Code Here
   1:       case KeyEvent.VK_F12: return "F12";
   2:       case KeyEvent.VK_F13: return "F13";
   3:       case KeyEvent.VK_F14: return "F14";
   4:       case KeyEvent.VK_F15: return "F15";
   5:       case KeyEvent.VK_F16: return "F16";

View Full Code Here

VK_F14

public static final int VK_F14
Constant for the F14 function key.
Field Value:
61441
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F14
   1:         case KeyEvent.VK_F13:
   2:         case KeyEvent.VK_F14:
   3:         case KeyEvent.VK_F15:
   4:         case KeyEvent.VK_F16:
   5:         case KeyEvent.VK_F17:

View Full Code Here
   1:           case Misc.F14:
   2:             mapped = KeyEvent.VK_F14;
   3:             break;
   4:           case Misc.F15:
   5:             mapped = KeyEvent.VK_F15;

View Full Code Here
   1:     keyTable.put("F13", new Integer(KeyEvent.VK_F13));
   2:     keyTable.put("F14", new Integer(KeyEvent.VK_F14));
   3:     keyTable.put("F15", new Integer(KeyEvent.VK_F15));
   4:     keyTable.put("F16", new Integer(KeyEvent.VK_F16));
   5:     keyTable.put("F17", new Integer(KeyEvent.VK_F17));

View Full Code Here
   1:       case KeyEvent.VK_F13: return "F13";
   2:       case KeyEvent.VK_F14: return "F14";
   3:       case KeyEvent.VK_F15: return "F15";
   4:       case KeyEvent.VK_F16: return "F16";
   5:       case KeyEvent.VK_F17: return "F17";

View Full Code Here

VK_F15

public static final int VK_F15
Constant for the F15 function key.
Field Value:
61442
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F15
   1:         case KeyEvent.VK_F14:
   2:         case KeyEvent.VK_F15:
   3:         case KeyEvent.VK_F16:
   4:         case KeyEvent.VK_F17:
   5:         case KeyEvent.VK_F18:

View Full Code Here
   1:           case Misc.F15:
   2:             mapped = KeyEvent.VK_F15;
   3:             break;
   4:           case Misc.F16:
   5:             mapped = KeyEvent.VK_F16;

View Full Code Here
   1:     keyTable.put("F14", new Integer(KeyEvent.VK_F14));
   2:     keyTable.put("F15", new Integer(KeyEvent.VK_F15));
   3:     keyTable.put("F16", new Integer(KeyEvent.VK_F16));
   4:     keyTable.put("F17", new Integer(KeyEvent.VK_F17));
   5:     keyTable.put("F18", new Integer(KeyEvent.VK_F18));

View Full Code Here
   1:       case KeyEvent.VK_F14: return "F14";
   2:       case KeyEvent.VK_F15: return "F15";
   3:       case KeyEvent.VK_F16: return "F16";
   4:       case KeyEvent.VK_F17: return "F17";
   5:       case KeyEvent.VK_F18: return "F18";

View Full Code Here

VK_F16

public static final int VK_F16
Constant for the F16 function key.
Field Value:
61443
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F16
   1:         case KeyEvent.VK_F15:
   2:         case KeyEvent.VK_F16:
   3:         case KeyEvent.VK_F17:
   4:         case KeyEvent.VK_F18:
   5:         case KeyEvent.VK_F19:

View Full Code Here
   1:           case Misc.F16:
   2:             mapped = KeyEvent.VK_F16;
   3:             break;
   4:           case Misc.F17:
   5:             mapped = KeyEvent.VK_F17;

View Full Code Here
   1:     keyTable.put("F15", new Integer(KeyEvent.VK_F15));
   2:     keyTable.put("F16", new Integer(KeyEvent.VK_F16));
   3:     keyTable.put("F17", new Integer(KeyEvent.VK_F17));
   4:     keyTable.put("F18", new Integer(KeyEvent.VK_F18));
   5:     keyTable.put("F19", new Integer(KeyEvent.VK_F19));

View Full Code Here
   1:       case KeyEvent.VK_F15: return "F15";
   2:       case KeyEvent.VK_F16: return "F16";
   3:       case KeyEvent.VK_F17: return "F17";
   4:       case KeyEvent.VK_F18: return "F18";
   5:       case KeyEvent.VK_F19: return "F19";

View Full Code Here

VK_F17

public static final int VK_F17
Constant for the F17 function key.
Field Value:
61444
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F17
   1:         case KeyEvent.VK_F16:
   2:         case KeyEvent.VK_F17:
   3:         case KeyEvent.VK_F18:
   4:         case KeyEvent.VK_F19:
   5:         case KeyEvent.VK_F20:

View Full Code Here
   1:           case Misc.F17:
   2:             mapped = KeyEvent.VK_F17;
   3:             break;
   4:           case Misc.F18:
   5:             mapped = KeyEvent.VK_F18;

View Full Code Here
   1:     keyTable.put("F16", new Integer(KeyEvent.VK_F16));
   2:     keyTable.put("F17", new Integer(KeyEvent.VK_F17));
   3:     keyTable.put("F18", new Integer(KeyEvent.VK_F18));
   4:     keyTable.put("F19", new Integer(KeyEvent.VK_F19));
   5:     keyTable.put("F20", new Integer(KeyEvent.VK_F20));

View Full Code Here
   1:       case KeyEvent.VK_F16: return "F16";
   2:       case KeyEvent.VK_F17: return "F17";
   3:       case KeyEvent.VK_F18: return "F18";
   4:       case KeyEvent.VK_F19: return "F19";
   5:       case KeyEvent.VK_F20: return "F20";

View Full Code Here

VK_F18

public static final int VK_F18
Constant for the F18 function key.
Field Value:
61445
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F18
   1:         case KeyEvent.VK_F17:
   2:         case KeyEvent.VK_F18:
   3:         case KeyEvent.VK_F19:
   4:         case KeyEvent.VK_F20:
   5:         case KeyEvent.VK_F21:

View Full Code Here
   1:           case Misc.F18:
   2:             mapped = KeyEvent.VK_F18;
   3:             break;
   4:           case Misc.F19:
   5:             mapped = KeyEvent.VK_F19;

View Full Code Here
   1:     keyTable.put("F17", new Integer(KeyEvent.VK_F17));
   2:     keyTable.put("F18", new Integer(KeyEvent.VK_F18));
   3:     keyTable.put("F19", new Integer(KeyEvent.VK_F19));
   4:     keyTable.put("F20", new Integer(KeyEvent.VK_F20));
   5:     keyTable.put("F21", new Integer(KeyEvent.VK_F21));

View Full Code Here
   1:       case KeyEvent.VK_F17: return "F17";
   2:       case KeyEvent.VK_F18: return "F18";
   3:       case KeyEvent.VK_F19: return "F19";
   4:       case KeyEvent.VK_F20: return "F20";
   5:       case KeyEvent.VK_F21: return "F21";

View Full Code Here

VK_F19

public static final int VK_F19
Constant for the F19 function key.
Field Value:
61446
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F19
   1:         case KeyEvent.VK_F18:
   2:         case KeyEvent.VK_F19:
   3:         case KeyEvent.VK_F20:
   4:         case KeyEvent.VK_F21:
   5:         case KeyEvent.VK_F22:

View Full Code Here
   1:           case Misc.F19:
   2:             mapped = KeyEvent.VK_F19;
   3:             break;
   4:           case Misc.F20:
   5:             mapped = KeyEvent.VK_F20;

View Full Code Here
   1:     keyTable.put("F18", new Integer(KeyEvent.VK_F18));
   2:     keyTable.put("F19", new Integer(KeyEvent.VK_F19));
   3:     keyTable.put("F20", new Integer(KeyEvent.VK_F20));
   4:     keyTable.put("F21", new Integer(KeyEvent.VK_F21));
   5:     keyTable.put("F22", new Integer(KeyEvent.VK_F22));

View Full Code Here
   1:       case KeyEvent.VK_F18: return "F18";
   2:       case KeyEvent.VK_F19: return "F19";
   3:       case KeyEvent.VK_F20: return "F20";
   4:       case KeyEvent.VK_F21: return "F21";
   5:       case KeyEvent.VK_F22: return "F22";

View Full Code Here

VK_F2

public static final int VK_F2
Constant for the F2 function key.
Field Value:
113
Usages and Demos :

View More Examples of KeyEvent.VK_F2
   1:         macros.put(new Integer(KeyEvent.VK_F1), "package");
   2:         macros.put(new Integer(KeyEvent.VK_F2), "import");
   3:         macros.put(new Integer(KeyEvent.VK_F3), "class");
   4:         macros.put(new Integer(KeyEvent.VK_F4), "extends");
   5:         macros.put(new Integer(KeyEvent.VK_F5), "implements\u0041");

View Full Code Here
   1:     private static final int[] SHORTCUT_KEYS = { KeyEvent.VK_F1,
   2:             KeyEvent.VK_F2, KeyEvent.VK_F3, KeyEvent.VK_F4, KeyEvent.VK_F5,
   3:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   4:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };

View Full Code Here
   1:     key=0xffbe; break;
   2:       case KeyEvent.VK_F2:
   3:     key=0xffbf; break;
   4:       case KeyEvent.VK_F3:
   5:     key=0xffc0; break;

View Full Code Here
   1:         case KeyEvent.VK_F1:
   2:         case KeyEvent.VK_F2:
   3:         case KeyEvent.VK_F3:
   4:         case KeyEvent.VK_F4:
   5:         case KeyEvent.VK_F5:

View Full Code Here
   1:     key=0xffbe; break;
   2:       case KeyEvent.VK_F2:
   3:     key=0xffbf; break;
   4:       case KeyEvent.VK_F3:
   5:     key=0xffc0; break;

View Full Code Here

VK_F20

public static final int VK_F20
Constant for the F20 function key.
Field Value:
61447
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F20
   1:         case KeyEvent.VK_F19:
   2:         case KeyEvent.VK_F20:
   3:         case KeyEvent.VK_F21:
   4:         case KeyEvent.VK_F22:
   5:         case KeyEvent.VK_F23:

View Full Code Here
   1:           case Misc.F20:
   2:             mapped = KeyEvent.VK_F20;
   3:             break;
   4:           case Misc.F21:
   5:             mapped = KeyEvent.VK_F21;

View Full Code Here
   1:     keyTable.put("F19", new Integer(KeyEvent.VK_F19));
   2:     keyTable.put("F20", new Integer(KeyEvent.VK_F20));
   3:     keyTable.put("F21", new Integer(KeyEvent.VK_F21));
   4:     keyTable.put("F22", new Integer(KeyEvent.VK_F22));
   5:     keyTable.put("F23", new Integer(KeyEvent.VK_F23));

View Full Code Here
   1:       case KeyEvent.VK_F19: return "F19";
   2:       case KeyEvent.VK_F20: return "F20";
   3:       case KeyEvent.VK_F21: return "F21";
   4:       case KeyEvent.VK_F22: return "F22";
   5:       case KeyEvent.VK_F23: return "F23";

View Full Code Here

VK_F21

public static final int VK_F21
Constant for the F21 function key.
Field Value:
61448
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F21
   1:         case KeyEvent.VK_F20:
   2:         case KeyEvent.VK_F21:
   3:         case KeyEvent.VK_F22:
   4:         case KeyEvent.VK_F23:
   5:         case KeyEvent.VK_F24:

View Full Code Here
   1:           case Misc.F21:
   2:             mapped = KeyEvent.VK_F21;
   3:             break;
   4:           case Misc.F22:
   5:             mapped = KeyEvent.VK_F22;

View Full Code Here
   1:     keyTable.put("F20", new Integer(KeyEvent.VK_F20));
   2:     keyTable.put("F21", new Integer(KeyEvent.VK_F21));
   3:     keyTable.put("F22", new Integer(KeyEvent.VK_F22));
   4:     keyTable.put("F23", new Integer(KeyEvent.VK_F23));
   5:     keyTable.put("F24", new Integer(KeyEvent.VK_F24));

View Full Code Here
   1:       case KeyEvent.VK_F20: return "F20";
   2:       case KeyEvent.VK_F21: return "F21";
   3:       case KeyEvent.VK_F22: return "F22";
   4:       case KeyEvent.VK_F23: return "F23";
   5:       case KeyEvent.VK_F24: return "F24";

View Full Code Here

VK_F22

public static final int VK_F22
Constant for the F22 function key.
Field Value:
61449
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F22
   1:         case KeyEvent.VK_F21:
   2:         case KeyEvent.VK_F22:
   3:         case KeyEvent.VK_F23:
   4:         case KeyEvent.VK_F24:
   5:         case KeyEvent.VK_PRINTSCREEN:

View Full Code Here
   1:           case Misc.F22:
   2:             mapped = KeyEvent.VK_F22;
   3:             break;
   4:           case Misc.F23:
   5:             mapped = KeyEvent.VK_F23;

View Full Code Here
   1:     keyTable.put("F21", new Integer(KeyEvent.VK_F21));
   2:     keyTable.put("F22", new Integer(KeyEvent.VK_F22));
   3:     keyTable.put("F23", new Integer(KeyEvent.VK_F23));
   4:     keyTable.put("F24", new Integer(KeyEvent.VK_F24));

View Full Code Here
   1:       case KeyEvent.VK_F21: return "F21";
   2:       case KeyEvent.VK_F22: return "F22";
   3:       case KeyEvent.VK_F23: return "F23";
   4:       case KeyEvent.VK_F24: return "F24";
   5:       

View Full Code Here

VK_F23

public static final int VK_F23
Constant for the F23 function key.
Field Value:
61450
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F23
   1:         case KeyEvent.VK_F22:
   2:         case KeyEvent.VK_F23:
   3:         case KeyEvent.VK_F24:
   4:         case KeyEvent.VK_PRINTSCREEN:
   5:         case KeyEvent.VK_SCROLL_LOCK:

View Full Code Here
   1:           case Misc.F23:
   2:             mapped = KeyEvent.VK_F23;
   3:             break;
   4:           case Misc.F24:
   5:             mapped = KeyEvent.VK_F24;

View Full Code Here
   1:     keyTable.put("F22", new Integer(KeyEvent.VK_F22));
   2:     keyTable.put("F23", new Integer(KeyEvent.VK_F23));
   3:     keyTable.put("F24", new Integer(KeyEvent.VK_F24));
   4: 
   5:     keyTable.put("PRINTSCREEN", new Integer(KeyEvent.VK_PRINTSCREEN));

View Full Code Here
   1:       case KeyEvent.VK_F22: return "F22";
   2:       case KeyEvent.VK_F23: return "F23";
   3:       case KeyEvent.VK_F24: return "F24";
   4:       
   5:       case KeyEvent.VK_PRINTSCREEN: return "PRINTSCREEN";

View Full Code Here

VK_F24

public static final int VK_F24
Constant for the F24 function key.
Field Value:
61451
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_F24
   1:         case KeyEvent.VK_F23:
   2:         case KeyEvent.VK_F24:
   3:         case KeyEvent.VK_PRINTSCREEN:
   4:         case KeyEvent.VK_SCROLL_LOCK:
   5:         case KeyEvent.VK_CAPS_LOCK:

View Full Code Here
   1:           case Misc.F24:
   2:             mapped = KeyEvent.VK_F24;
   3:             break;
   4:           case Misc.SHIFT_L:
   5:           case Misc.SHIFT_R:

View Full Code Here
   1:     keyTable.put("F23", new Integer(KeyEvent.VK_F23));
   2:     keyTable.put("F24", new Integer(KeyEvent.VK_F24));
   3: 
   4:     keyTable.put("PRINTSCREEN", new Integer(KeyEvent.VK_PRINTSCREEN));
   5:     keyTable.put("INSERT", new Integer(KeyEvent.VK_INSERT));

View Full Code Here
   1:       case KeyEvent.VK_F23: return "F23";
   2:       case KeyEvent.VK_F24: return "F24";
   3:       
   4:       case KeyEvent.VK_PRINTSCREEN: return "PRINTSCREEN";
   5:       case KeyEvent.VK_INSERT: return "INSERT";

View Full Code Here

VK_F3

public static final int VK_F3
Constant for the F3 function key.
Field Value:
114
Usages and Demos :

View More Examples of KeyEvent.VK_F3
   1:         macros.put(new Integer(KeyEvent.VK_F2), "import");
   2:         macros.put(new Integer(KeyEvent.VK_F3), "class");
   3:         macros.put(new Integer(KeyEvent.VK_F4), "extends");
   4:         macros.put(new Integer(KeyEvent.VK_F5), "implements\u0041");

View Full Code Here
   1:     private static final int[] SHORTCUT_KEYS = { KeyEvent.VK_F1,
   2:             KeyEvent.VK_F2, KeyEvent.VK_F3, KeyEvent.VK_F4, KeyEvent.VK_F5,
   3:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   4:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };

View Full Code Here
   1:     key=0xffbf; break;
   2:       case KeyEvent.VK_F3:
   3:     key=0xffc0; break;
   4:       case KeyEvent.VK_F4:
   5:     key=0xffc1; break;

View Full Code Here
   1:             putValue( MNEMONIC_KEY, new Integer(KeyEvent.VK_N) );
   2:             putValue( ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F3, 0) );
   3:             setEnabled(false);
   4:         }
   5:         

View Full Code Here
   1:         case KeyEvent.VK_F2:
   2:         case KeyEvent.VK_F3:
   3:         case KeyEvent.VK_F4:
   4:         case KeyEvent.VK_F5:
   5:         case KeyEvent.VK_F6:

View Full Code Here

VK_F4

public static final int VK_F4
Constant for the F4 function key.
Field Value:
115
Usages and Demos :

View More Examples of KeyEvent.VK_F4
   1:     public static final KeyStroke CLOSE_KEYSTROKE = 
   2:         KeyStroke.getKeyStroke(KeyEvent.VK_F4, KeyEvent.CTRL_DOWN_MASK);
   3:     
   4:     public abstract boolean processKeyStroke(IPage source, KeyStroke ks);
   5:     

View Full Code Here
   1:         macros.put(new Integer(KeyEvent.VK_F3), "class");
   2:         macros.put(new Integer(KeyEvent.VK_F4), "extends");
   3:         macros.put(new Integer(KeyEvent.VK_F5), "implements\u0041");
   4: 
   5:         ta.addKeyListener(new KeyEventHandler());

View Full Code Here
   1:     private static final int[] SHORTCUT_KEYS = { KeyEvent.VK_F1,
   2:             KeyEvent.VK_F2, KeyEvent.VK_F3, KeyEvent.VK_F4, KeyEvent.VK_F5,
   3:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   4:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };

View Full Code Here
   1:         KeyStroke shiftF4 =
   2:           KeyStroke.getKeyStroke(KeyEvent.VK_F4, InputEvent.SHIFT_MASK);
   3:         inputMap =
   4:           buttonC.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
   5:         inputMap.put(shiftF4, ACTION_KEY);

View Full Code Here
   1:     key=0xffc0; break;
   2:       case KeyEvent.VK_F4:
   3:     key=0xffc1; break;
   4:       case KeyEvent.VK_F5:
   5:     key=0xffc2; break;

View Full Code Here

VK_F5

public static final int VK_F5
Constant for the F5 function key.
Field Value:
116
Usages and Demos :

View More Examples of KeyEvent.VK_F5
   1:         macros.put(new Integer(KeyEvent.VK_F4), "extends");
   2:         macros.put(new Integer(KeyEvent.VK_F5), "implements\u0041");
   3: 
   4:         ta.addKeyListener(new KeyEventHandler());

View Full Code Here
   1:     private static final int[] SHORTCUT_KEYS = { KeyEvent.VK_F1,
   2:             KeyEvent.VK_F2, KeyEvent.VK_F3, KeyEvent.VK_F4, KeyEvent.VK_F5,
   3:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   4:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };

View Full Code Here
   1:     key=0xffc1; break;
   2:       case KeyEvent.VK_F5:
   3:     key=0xffc2; break;
   4:       case KeyEvent.VK_F6:
   5:     key=0xffc3; break;

View Full Code Here
   1:         case KeyEvent.VK_F4:
   2:         case KeyEvent.VK_F5:
   3:         case KeyEvent.VK_F6:
   4:         case KeyEvent.VK_F7:
   5:         case KeyEvent.VK_F8:

View Full Code Here
   1:     key=0xffc1; break;
   2:       case KeyEvent.VK_F5:
   3:     key=0xffc2; break;
   4:       case KeyEvent.VK_F6:
   5:     key=0xffc3; break;

View Full Code Here

VK_F6

public static final int VK_F6
Constant for the F6 function key.
Field Value:
117
Usages and Demos :

View More Examples of KeyEvent.VK_F6
   1:             KeyEvent.VK_F2, KeyEvent.VK_F3, KeyEvent.VK_F4, KeyEvent.VK_F5,
   2:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   3:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };
   4: 
   5:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,

View Full Code Here
   1:     key=0xffc2; break;
   2:       case KeyEvent.VK_F6:
   3:     key=0xffc3; break;
   4:       case KeyEvent.VK_F7:
   5:     key=0xffc4; break;

View Full Code Here
   1:         case KeyEvent.VK_F5:
   2:         case KeyEvent.VK_F6:
   3:         case KeyEvent.VK_F7:
   4:         case KeyEvent.VK_F8:
   5:         case KeyEvent.VK_F9:

View Full Code Here
   1:     key=0xffc2; break;
   2:       case KeyEvent.VK_F6:
   3:     key=0xffc3; break;
   4:       case KeyEvent.VK_F7:
   5:     key=0xffc4; break;

View Full Code Here
   1:           case Misc.F6:
   2:             mapped = KeyEvent.VK_F6;
   3:             break;
   4:           case Misc.F7:
   5:             mapped = KeyEvent.VK_F7;

View Full Code Here

VK_F7

public static final int VK_F7
Constant for the F7 function key.
Field Value:
118
Usages and Demos :

View More Examples of KeyEvent.VK_F7
   1:         InputMap im = getRootPane().getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
   2:         im.put(KeyStroke.getKeyStroke(KeyEvent.VK_F7, 0), "display");
   3:         im.put(KeyStroke.getKeyStroke(KeyEvent.VK_F8, 0), "remove");
   4:         
   5:         ActionMap am = getRootPane().getActionMap();

View Full Code Here
   1:             KeyEvent.VK_F2, KeyEvent.VK_F3, KeyEvent.VK_F4, KeyEvent.VK_F5,
   2:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   3:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };
   4: 
   5:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,

View Full Code Here
   1:     key=0xffc3; break;
   2:       case KeyEvent.VK_F7:
   3:     key=0xffc4; break;
   4:       case KeyEvent.VK_F8:
   5:     key=0xffc5; break;

View Full Code Here
   1:         case KeyEvent.VK_F6:
   2:         case KeyEvent.VK_F7:
   3:         case KeyEvent.VK_F8:
   4:         case KeyEvent.VK_F9:
   5:         case KeyEvent.VK_F10:

View Full Code Here
   1:     key=0xffc3; break;
   2:       case KeyEvent.VK_F7:
   3:     key=0xffc4; break;
   4:       case KeyEvent.VK_F8:
   5:     key=0xffc5; break;

View Full Code Here

VK_F8

public static final int VK_F8
Constant for the F8 function key.
Field Value:
119
Usages and Demos :

View More Examples of KeyEvent.VK_F8
   1:         im.put(KeyStroke.getKeyStroke(KeyEvent.VK_F7, 0), "display");
   2:         im.put(KeyStroke.getKeyStroke(KeyEvent.VK_F8, 0), "remove");
   3:         
   4:         ActionMap am = getRootPane().getActionMap();
   5:         am.put("remove", new AbstractAction() {

View Full Code Here
   1:             KeyEvent.VK_F2, KeyEvent.VK_F3, KeyEvent.VK_F4, KeyEvent.VK_F5,
   2:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   3:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };
   4: 
   5:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,

View Full Code Here
   1:     key=0xffc4; break;
   2:       case KeyEvent.VK_F8:
   3:     key=0xffc5; break;
   4:       case KeyEvent.VK_F9:
   5:     key=0xffc6; break;

View Full Code Here
   1:         case KeyEvent.VK_F7:
   2:         case KeyEvent.VK_F8:
   3:         case KeyEvent.VK_F9:
   4:         case KeyEvent.VK_F10:
   5:         case KeyEvent.VK_F11:

View Full Code Here
   1:     key=0xffc4; break;
   2:       case KeyEvent.VK_F8:
   3:     key=0xffc5; break;
   4:       case KeyEvent.VK_F9:
   5:     key=0xffc6; break;

View Full Code Here

VK_F9

public static final int VK_F9
Constant for the F9 function key.
Field Value:
120
Usages and Demos :

View More Examples of KeyEvent.VK_F9
   1:             KeyEvent.VK_F2, KeyEvent.VK_F3, KeyEvent.VK_F4, KeyEvent.VK_F5,
   2:             KeyEvent.VK_F6, KeyEvent.VK_F7, KeyEvent.VK_F8, KeyEvent.VK_F9,
   3:             KeyEvent.VK_F10, KeyEvent.VK_F11, KeyEvent.VK_F12 };
   4: 
   5:     private static final int[] MNEMONIC_KEYS = { KeyEvent.VK_1, KeyEvent.VK_2,

View Full Code Here
   1:     key=0xffc5; break;
   2:       case KeyEvent.VK_F9:
   3:     key=0xffc6; break;
   4:       case KeyEvent.VK_F10:
   5:     key=0xffc7; break;

View Full Code Here
   1:         case KeyEvent.VK_F8:
   2:         case KeyEvent.VK_F9:
   3:         case KeyEvent.VK_F10:
   4:         case KeyEvent.VK_F11:
   5:         case KeyEvent.VK_F12:

View Full Code Here
   1:     key=0xffc5; break;
   2:       case KeyEvent.VK_F9:
   3:     key=0xffc6; break;
   4:       case KeyEvent.VK_F10:
   5:     key=0xffc7; break;

View Full Code Here
   1:           case Misc.F9:
   2:             mapped = KeyEvent.VK_F9;
   3:             break;
   4:           case Misc.F10:
   5:             mapped = KeyEvent.VK_F10;

View Full Code Here

VK_FINAL

public static final int VK_FINAL
Field Value:
24
Usages and Demos :

View More Examples of KeyEvent.VK_FINAL
   1: 
   2:         case KeyEvent.VK_FINAL:
   3:         case KeyEvent.VK_CONVERT:
   4:         case KeyEvent.VK_NONCONVERT:
   5:         case KeyEvent.VK_ACCEPT:

View Full Code Here
   1: 
   2:     keyTable.put("FINAL", new Integer(KeyEvent.VK_FINAL));
   3:     keyTable.put("CONVERT", new Integer(KeyEvent.VK_CONVERT));
   4:     keyTable.put("NONCONVERT", new Integer(KeyEvent.VK_NONCONVERT));
   5:     keyTable.put("ACCEPT", new Integer(KeyEvent.VK_ACCEPT));

View Full Code Here
   1:       
   2:       case KeyEvent.VK_FINAL: return "FINAL";
   3:       case KeyEvent.VK_CONVERT: return "CONVERT";
   4:       case KeyEvent.VK_NONCONVERT: return "NONCONVERT";
   5:       case KeyEvent.VK_ACCEPT: return "ACCEPT";

View Full Code Here

VK_FIND

public static final int VK_FIND
Field Value:
65488
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_FIND
   1:         case KeyEvent.VK_CUT:
   2:         case KeyEvent.VK_FIND:
   3:         case KeyEvent.VK_PROPS:
   4:         case KeyEvent.VK_STOP:

View Full Code Here
   1:           case Misc.FIND:
   2:             mapped = KeyEvent.VK_FIND;
   3:             break;
   4:           case Misc.CANCEL:
   5:             mapped = KeyEvent.VK_CANCEL;

View Full Code Here
   1:     keyTable.put("AGAIN", new Integer(KeyEvent.VK_AGAIN));
   2:     keyTable.put("FIND", new Integer(KeyEvent.VK_FIND));
   3:     keyTable.put("PROPS", new Integer(KeyEvent.VK_PROPS));
   4:     keyTable.put("STOP", new Integer(KeyEvent.VK_STOP));
   5:     

View Full Code Here
   1:       case KeyEvent.VK_CUT: return "CUT";
   2:       case KeyEvent.VK_FIND: return "FIND";
   3:       case KeyEvent.VK_PROPS: return "PROPS";
   4:       case KeyEvent.VK_STOP: return "STOP";
   5:       

View Full Code Here

VK_FULL_WIDTH

public static final int VK_FULL_WIDTH
Constant for the Full-Width Characters function key.
Field Value:
243
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_FULL_WIDTH
   1:         case KeyEvent.VK_HIRAGANA:
   2:         case KeyEvent.VK_FULL_WIDTH:
   3:         case KeyEvent.VK_HALF_WIDTH:
   4:         case KeyEvent.VK_ROMAN_CHARACTERS:
   5:         case KeyEvent.VK_ALL_CANDIDATES:

View Full Code Here
   1:     keyTable.put("HIRAGANA", new Integer(KeyEvent.VK_HIRAGANA));
   2:     keyTable.put("FULL_WIDTH", new Integer(KeyEvent.VK_FULL_WIDTH));
   3:     keyTable.put("HALF_WIDTH", new Integer(KeyEvent.VK_HALF_WIDTH));
   4:     keyTable.put("ROMAN_CHARACTERS", new Integer(KeyEvent.VK_ROMAN_CHARACTERS));
   5:     keyTable.put("ALL_CANDIDATES", new Integer(KeyEvent.VK_ALL_CANDIDATES));

View Full Code Here
   1:       case KeyEvent.VK_HIRAGANA: return "HIRAGANA";
   2:       case KeyEvent.VK_FULL_WIDTH: return "FULL_WIDTH";
   3:       case KeyEvent.VK_HALF_WIDTH: return "HALF_WIDTH";
   4:       case KeyEvent.VK_ROMAN_CHARACTERS: return "ROMAN_CHARACTERS";
   5:       case KeyEvent.VK_ALL_CANDIDATES: return "ALL_CANDIDATES";

View Full Code Here

VK_G

public static final int VK_G
Field Value:
71
Usages and Demos :

View More Examples of KeyEvent.VK_G
   1:     putValue(Action.LONG_DESCRIPTION, "Toggle the display of grids on nets.");
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_G));
   3:   }
   4: 
   5:   public ShowGridToggleAction() {

View Full Code Here
   1:         putValue(Action.ACCELERATOR_KEY,
   2:             KeyStroke.getKeyStroke(KeyEvent.VK_G,
   3:                 Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
   4:         putValue(SHORT_DESCRIPTION,
   5:             ElanLocale.getString(ELANCommandFactory.GOTO_DLG + "ToolTip"));

View Full Code Here
   1:     
   2:     public static final Integer DESIGNER_MNEMONIC_KEY = new Integer(KeyEvent.VK_G);
   3:     
   4:         ...
   5:     public static final Integer EXIT_MNEMONIC_KEY = new Integer(KeyEvent.VK_G);
   6:     
   7:     public static final Integer RUN_MNEMONIC_KEY = new Integer(KeyEvent.VK_R);
   8:     public static final KeyStroke RUN_ACCELERATOR_KEY = KeyStroke.getKeyStroke(KeyEvent.VK_R, ActionEvent.CTRL_MASK);

View Full Code Here
   1:       putValue(SMALL_ICON, new ImageIcon("images/fav.gif"));
   2:       putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_G));
   3:       updateProperties();
   4:     }
   5:     public void updateProperties() {

View Full Code Here
   1:                     break;
   2:             case  KeyEvent.VK_G:
   3:                     if (groupCmd.isExecutable())
   4:                         groupCmd.execute();
   5:                     break;

View Full Code Here

VK_GREATER

public static final int VK_GREATER
Field Value:
160
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_GREATER
   1:         case KeyEvent.VK_LESS:
   2:         case KeyEvent.VK_GREATER:
   3:         case KeyEvent.VK_BRACELEFT:
   4:         case KeyEvent.VK_BRACERIGHT:
   5:         case KeyEvent.VK_AT:

View Full Code Here
   1:               case Latin1.GREATER:
   2:                 mapped = KeyEvent.VK_GREATER;
   3:                 break;
   4:               case Latin1.AT:
   5:                 mapped = KeyEvent.VK_AT;

View Full Code Here
   1:     
   2:     keyTable.put("GREATER", new Integer(KeyEvent.VK_GREATER));
   3:     keyTable.put("BRACELEFT", new Integer(KeyEvent.VK_BRACELEFT));
   4:     keyTable.put("BRACERIGHT", new Integer(KeyEvent.VK_BRACERIGHT));

View Full Code Here
   1:         rightButton.addActionListener(this);
   2:         rightButton.setMnemonic( KeyEvent.VK_GREATER );
   3:         rightButton.setEnabled( false );
   4:         leftButton  = new JButton("<=");
   5:         leftButton.addActionListener(this);

View Full Code Here
   1:       case KeyEvent.VK_LESS: return "LESS";
   2:       case KeyEvent.VK_GREATER: return "GREATER";
   3:       case KeyEvent.VK_BRACELEFT: return "BRACELEFT";
   4:       case KeyEvent.VK_BRACERIGHT: return "BRACERIGHT";
   5:       case KeyEvent.VK_AT: return "AT";

View Full Code Here

VK_H

public static final int VK_H
Field Value:
72
Usages and Demos :

View More Examples of KeyEvent.VK_H
   1:     putValue(Action.SMALL_ICON, getIconByName("AlignMiddle"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_H));
   3:   }
   4:   
   5:   private AlignMiddleAction() {};  

View Full Code Here
   1:         this.putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(
   2:                 KeyEvent.VK_H, MENU_MASK));
   3:         URL iconUrl = this.getClass().getClassLoader().getResource(
   4:                 "icons/insert_16.gif");
   5:         if (iconUrl != null) {

View Full Code Here
   1:     
   2:     public static final Integer HARD_RESET_MNEMONIC_KEY = new Integer(KeyEvent.VK_H);  
   3:         ...
   4:     public static final KeyStroke HARD_RESET_ACCELERATOR_KEY = KeyStroke.getKeyStroke(KeyEvent.VK_H, ActionEvent.CTRL_MASK);
   5:     
   6:     public static final Integer STOP_MNEMONIC_KEY = new Integer(KeyEvent.VK_T);  
   7:     public static final KeyStroke STOP_ACCELERATOR_KEY = KeyStroke.getKeyStroke(KeyEvent.VK_T, ActionEvent.CTRL_MASK);

View Full Code Here
   1:         button = new JButton(HELP);
   2:                 button.setMnemonic(KeyEvent.VK_H);
   3:         button.setActionCommand(HELP);
   4:         button.addActionListener(this);

View Full Code Here
   1:         cbMenuItem = new JCheckBoxMenuItem("Another one");
   2:         cbMenuItem.setMnemonic(KeyEvent.VK_H);
   3:         menu.add(cbMenuItem);
   4: 
   5:         menu.addSeparator();

View Full Code Here

VK_HALF_WIDTH

public static final int VK_HALF_WIDTH
Constant for the Half-Width Characters function key.
Field Value:
244
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_HALF_WIDTH
   1:         case KeyEvent.VK_FULL_WIDTH:
   2:         case KeyEvent.VK_HALF_WIDTH:
   3:         case KeyEvent.VK_ROMAN_CHARACTERS:
   4:         case KeyEvent.VK_ALL_CANDIDATES:
   5:         case KeyEvent.VK_PREVIOUS_CANDIDATE:

View Full Code Here
   1:     keyTable.put("FULL_WIDTH", new Integer(KeyEvent.VK_FULL_WIDTH));
   2:     keyTable.put("HALF_WIDTH", new Integer(KeyEvent.VK_HALF_WIDTH));
   3:     keyTable.put("ROMAN_CHARACTERS", new Integer(KeyEvent.VK_ROMAN_CHARACTERS));
   4:     keyTable.put("ALL_CANDIDATES", new Integer(KeyEvent.VK_ALL_CANDIDATES));
   5:     keyTable.put("PREVIOUS_CONDIDATE", new Integer(KeyEvent.VK_PREVIOUS_CANDIDATE));

View Full Code Here
   1:       case KeyEvent.VK_FULL_WIDTH: return "FULL_WIDTH";
   2:       case KeyEvent.VK_HALF_WIDTH: return "HALF_WIDTH";
   3:       case KeyEvent.VK_ROMAN_CHARACTERS: return "ROMAN_CHARACTERS";
   4:       case KeyEvent.VK_ALL_CANDIDATES: return "ALL_CANDIDATES";
   5:       case KeyEvent.VK_PREVIOUS_CANDIDATE: return "PREVIOUS_CANDIDATE";

View Full Code Here

VK_HELP

public static final int VK_HELP
Field Value:
156
Usages and Demos :

View More Examples of KeyEvent.VK_HELP
   1:     key=0xff63; break;
   2:       case KeyEvent.VK_HELP:
   3:     key=0xff6a; break;
   4:       case KeyEvent.VK_META:
   5:     key=0xffe7; break;

View Full Code Here
   1: 
   2:         case KeyEvent.VK_HELP:
   3:             return true;
   4:         }
   5:         return false;

View Full Code Here
   1:     key=0xff63; break;
   2:       case KeyEvent.VK_HELP:
   3:     key=0xff6a; break;
   4:       case KeyEvent.VK_META:
   5:     key=0xffe7; break;

View Full Code Here
   1:           case Misc.HELP:
   2:             mapped = KeyEvent.VK_HELP;
   3:             break;
   4:           case Misc.MODE_SWITCH:
   5:             mapped = KeyEvent.VK_MODECHANGE;

View Full Code Here
   1:     keyTable.put("INSERT", new Integer(KeyEvent.VK_INSERT));
   2:     keyTable.put("HELP", new Integer(KeyEvent.VK_HELP));
   3:     keyTable.put("META", new Integer(KeyEvent.VK_META));
   4: 
   5:     keyTable.put("BACK_QUOTE", new Integer(KeyEvent.VK_BACK_QUOTE));

View Full Code Here

VK_HIRAGANA

public static final int VK_HIRAGANA
Constant for the Hiragana function key.
Field Value:
242
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_HIRAGANA
   1:         case KeyEvent.VK_KATAKANA:
   2:         case KeyEvent.VK_HIRAGANA:
   3:         case KeyEvent.VK_FULL_WIDTH:
   4:         case KeyEvent.VK_HALF_WIDTH:
   5:         case KeyEvent.VK_ROMAN_CHARACTERS:

View Full Code Here
   1:     keyTable.put("KATAKANA", new Integer(KeyEvent.VK_KATAKANA));
   2:     keyTable.put("HIRAGANA", new Integer(KeyEvent.VK_HIRAGANA));
   3:     keyTable.put("FULL_WIDTH", new Integer(KeyEvent.VK_FULL_WIDTH));
   4:     keyTable.put("HALF_WIDTH", new Integer(KeyEvent.VK_HALF_WIDTH));
   5:     keyTable.put("ROMAN_CHARACTERS", new Integer(KeyEvent.VK_ROMAN_CHARACTERS));

View Full Code Here
   1:       case KeyEvent.VK_KATAKANA: return "KATAKANA";
   2:       case KeyEvent.VK_HIRAGANA: return "HIRAGANA";
   3:       case KeyEvent.VK_FULL_WIDTH: return "FULL_WIDTH";
   4:       case KeyEvent.VK_HALF_WIDTH: return "HALF_WIDTH";
   5:       case KeyEvent.VK_ROMAN_CHARACTERS: return "ROMAN_CHARACTERS";

View Full Code Here

VK_HOME

public static final int VK_HOME
Field Value:
36
Usages and Demos :

View More Examples of KeyEvent.VK_HOME
   1:         break;
   2:     case KeyEvent.VK_HOME:
   3:         cCol = minRow; cRow = minCol;
   4:         break;
   5:     case KeyEvent.VK_BACK_SPACE:

View Full Code Here
   1:     key=0xff57; break;
   2:       case KeyEvent.VK_HOME:
   3:     key=0xff50; break;
   4:       case KeyEvent.VK_LEFT:
   5:     key=0xff51; break;

View Full Code Here
   1:                 return new KeyStroke(KeyStrokeType.DELETE_BEFORE);
   2:             case KeyEvent.VK_HOME:
   3:                 return e.isControlDown() ? new KeyStroke(
   4:                         KeyStrokeType.DOCUMENT_BEGINNING) : new KeyStroke(
   5:                         KeyStrokeType.LINE_BEGINNING);

View Full Code Here
   1: 
   2:         case KeyEvent.VK_HOME:
   3:         case KeyEvent.VK_END:
   4:         case KeyEvent.VK_PAGE_UP:
   5:         case KeyEvent.VK_PAGE_DOWN:

View Full Code Here

VK_I

public static final int VK_I
Field Value:
73
Usages and Demos :

View More Examples of KeyEvent.VK_I
   1:     putValue(Action.LONG_DESCRIPTION, "Iconify all Nets");
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_I));
   3:   }
   4:   
   5:   public void actionPerformed(ActionEvent event) {

View Full Code Here
   1:         JButton button = new JButton("I'm a Swing button!");
   2:         button.setMnemonic(KeyEvent.VK_I);
   3:         button.addActionListener(new ActionListener() {
   4:             public void actionPerformed(ActionEvent e) {
   5:                 numClicks++;

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("IncreaseSize"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_I));
   3:     putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_DOWN,InputEvent.CTRL_MASK));
   4:   }
   5:   

View Full Code Here
   1:       case KeyEvent.VK_H:
   2:       case KeyEvent.VK_I:
   3:       case KeyEvent.VK_J:
   4:       case KeyEvent.VK_K:
   5:       case KeyEvent.VK_L:

View Full Code Here
   1:       case KeyEvent.VK_H:
   2:       case KeyEvent.VK_I:
   3:       case KeyEvent.VK_J:
   4:       case KeyEvent.VK_K:
   5:       case KeyEvent.VK_L:

View Full Code Here

VK_INPUT_METHOD_ON_OFF

public static final int VK_INPUT_METHOD_ON_OFF
Constant for the input method on/off key.
Field Value:
263
Since:
1.3
Usages and Demos :

View More Examples of KeyEvent.VK_INPUT_METHOD_ON_OFF
   1:         case KeyEvent.VK_KANA_LOCK:
   2:         case KeyEvent.VK_INPUT_METHOD_ON_OFF:
   3: 
   4:         case KeyEvent.VK_AGAIN:
   5:         case KeyEvent.VK_UNDO:

View Full Code Here
   1:       case KeyEvent.VK_KANA_LOCK: return "KANA_LOCK";
   2:       case KeyEvent.VK_INPUT_METHOD_ON_OFF: return "INPUT_METHOD_ON_OFF";
   3:       
   4:       case KeyEvent.VK_AGAIN: return "AGAIN";
   5:       case KeyEvent.VK_UNDO: return "UNDO";

View Full Code Here
   1:                 return DOMKeyEvent.DOM_VK_UNDEFINED;
   2:             case KeyEvent.VK_INPUT_METHOD_ON_OFF:
   3:                 return DOMKeyEvent.DOM_VK_UNDEFINED;
   4:             default:
   5:                 return keyCode;

View Full Code Here

VK_INSERT

public static final int VK_INSERT
Field Value:
155
Usages and Demos :

View More Examples of KeyEvent.VK_INSERT
   1:         KeyStroke key = KeyStroke.getKeyStroke(
   2:                 KeyEvent.VK_INSERT, Event.CTRL_MASK);
   3:         im.put(key, DefaultEditorKit.copyAction);
   4:         ...
   5:         key = KeyStroke.getKeyStroke(
   6:                 KeyEvent.VK_INSERT, Event.SHIFT_MASK);
   7:         im.put(key, DefaultEditorKit.pasteAction);
   8:     }

View Full Code Here
   1:     key=0xff61; break;
   2:       case KeyEvent.VK_INSERT:
   3:     key=0xff63; break;
   4:       case KeyEvent.VK_HELP:
   5:     key=0xff6a; break;

View Full Code Here
   1:                             .isShiftDown(), e.isAltDown());
   2:             case KeyEvent.VK_INSERT:
   3:                 if (e.isShiftDown() && !e.isControlDown())
   4:                     return new KeyStroke(KeyStrokeType.PASTE);
   5:                 if (e.isControlDown() && !e.isShiftDown())

View Full Code Here
   1:             }},
   2:             KeyStroke.getKeyStroke(KeyEvent.VK_INSERT, Event.CTRL_MASK),
   3:             JComponent.WHEN_IN_FOCUSED_WINDOW);
   4: 
   5:     theList.registerKeyboardAction(new ActionListener() {

View Full Code Here
   1:         case KeyEvent.VK_PAUSE:
   2:         case KeyEvent.VK_INSERT:
   3: 
   4:         case KeyEvent.VK_FINAL:
   5:         case KeyEvent.VK_CONVERT:

View Full Code Here

VK_INVERTED_EXCLAMATION_MARK

public static final int VK_INVERTED_EXCLAMATION_MARK
Constant for the inverted exclamation mark key.
Field Value:
518
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_INVERTED_EXCLAMATION_MARK
   1:         case KeyEvent.VK_EXCLAMATION_MARK:
   2:         case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   3:         case KeyEvent.VK_LEFT_PARENTHESIS:
   4:         case KeyEvent.VK_NUMBER_SIGN:
   5:         case KeyEvent.VK_PLUS:

View Full Code Here
   1:               case Latin1.EXCLAM_DOWN:
   2:                 mapped = KeyEvent.VK_INVERTED_EXCLAMATION_MARK;
   3:                 break;
   4:               default:
   5:                 mapped = KeyEvent.VK_UNDEFINED;

View Full Code Here
   1:     keyTable.put("EXCLAMATION_MARK", new Integer(KeyEvent.VK_EXCLAMATION_MARK));
   2:     keyTable.put("INVERTED_EXCLAMATION_MARK", new Integer(KeyEvent.VK_INVERTED_EXCLAMATION_MARK));
   3:     keyTable.put("LEFT_PARENTHESIS", new Integer(KeyEvent.VK_LEFT_PARENTHESIS));
   4:     keyTable.put("NUMBER_SIGN", new Integer(KeyEvent.VK_NUMBER_SIGN));
   5:     keyTable.put("PLUS", new Integer(KeyEvent.VK_PLUS));

View Full Code Here
   1:       case KeyEvent.VK_EXCLAMATION_MARK: return "EXCLAMATION_MARK";
   2:       case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   3:         return "INVERTED_EXCLAMATION_MARK";
   4:       case KeyEvent.VK_LEFT_PARENTHESIS: return "LEFT_PARENTHESIS";
   5:       case KeyEvent.VK_NUMBER_SIGN: return "NUMBER_SIGN";

View Full Code Here
   1:       case KeyEvent.VK_EXCLAMATION_MARK:
   2:       case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   3:       case KeyEvent.VK_LEFT_PARENTHESIS:
   4:       case KeyEvent.VK_NUMBER_SIGN:
   5:       case KeyEvent.VK_PLUS:

View Full Code Here

VK_J

public static final int VK_J
Field Value:
74
Usages and Demos :

View More Examples of KeyEvent.VK_J
   1:         jobMenu = new JMenu("Job");
   2:         jobMenu.setMnemonic(KeyEvent.VK_J);    
   3:         jobActions.populateMenu(jobMenu);
   4:         
   5:         popup = new JPopupMenu();

View Full Code Here
   1:         this.putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(
   2:                 KeyEvent.VK_J, MENU_MASK));
   3:         URL iconUrl = this.getClass().getClassLoader().getResource(ICON_URL);
   4:         if (iconUrl != null) {
   5:             this.putValue(Action.SMALL_ICON, new ImageIcon(iconUrl));

View Full Code Here
   1:       case KeyEvent.VK_I:
   2:       case KeyEvent.VK_J:
   3:       case KeyEvent.VK_K:
   4:       case KeyEvent.VK_L:
   5:       case KeyEvent.VK_M:

View Full Code Here
   1:       case KeyEvent.VK_I:
   2:       case KeyEvent.VK_J:
   3:       case KeyEvent.VK_K:
   4:       case KeyEvent.VK_L:
   5:       case KeyEvent.VK_M:

View Full Code Here
   1:         case KeyEvent.VK_I:
   2:         case KeyEvent.VK_J:
   3:         case KeyEvent.VK_K:
   4:         case KeyEvent.VK_L:
   5:         case KeyEvent.VK_M:

View Full Code Here

VK_JAPANESE_HIRAGANA

public static final int VK_JAPANESE_HIRAGANA
Constant for the Japanese-Hiragana function key. This key switches to a Japanese input method and selects its Hiragana input mode.
Field Value:
260
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_JAPANESE_HIRAGANA
   1:         case KeyEvent.VK_JAPANESE_KATAKANA:
   2:         case KeyEvent.VK_JAPANESE_HIRAGANA:
   3:         case KeyEvent.VK_JAPANESE_ROMAN:
   4:         case KeyEvent.VK_KANA_LOCK:
   5:         case KeyEvent.VK_INPUT_METHOD_ON_OFF:

View Full Code Here
   1:     keyTable.put("JAPANESE_KATAKANA", new Integer(KeyEvent.VK_JAPANESE_KATAKANA));
   2:     keyTable.put("JAPANESE_HIRAGANA", new Integer(KeyEvent.VK_JAPANESE_HIRAGANA));
   3:     keyTable.put("JAPANESE_ROMAN", new Integer(KeyEvent.VK_JAPANESE_ROMAN));
   4: 
   5:     keyTable.put("CUT", new Integer(KeyEvent.VK_CUT));

View Full Code Here
   1:       case KeyEvent.VK_JAPANESE_KATAKANA: return "JAPANESE_KATAKANA";
   2:       case KeyEvent.VK_JAPANESE_HIRAGANA: return "JAPANESE_HIRAGANA";
   3:       case KeyEvent.VK_JAPANESE_ROMAN: return "JAPANESE_ROMAN";
   4:       case KeyEvent.VK_KANA_LOCK: return "KANA_LOCK";
   5:       case KeyEvent.VK_INPUT_METHOD_ON_OFF: return "INPUT_METHOD_ON_OFF";

View Full Code Here

VK_JAPANESE_KATAKANA

public static final int VK_JAPANESE_KATAKANA
Constant for the Japanese-Katakana function key. This key switches to a Japanese input method and selects its Katakana input mode.
Field Value:
259
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_JAPANESE_KATAKANA
   1:         case KeyEvent.VK_CODE_INPUT:
   2:         case KeyEvent.VK_JAPANESE_KATAKANA:
   3:         case KeyEvent.VK_JAPANESE_HIRAGANA:
   4:         case KeyEvent.VK_JAPANESE_ROMAN:
   5:         case KeyEvent.VK_KANA_LOCK:

View Full Code Here
   1:     keyTable.put("CODE_INPUT", new Integer(KeyEvent.VK_CODE_INPUT));
   2:     keyTable.put("JAPANESE_KATAKANA", new Integer(KeyEvent.VK_JAPANESE_KATAKANA));
   3:     keyTable.put("JAPANESE_HIRAGANA", new Integer(KeyEvent.VK_JAPANESE_HIRAGANA));
   4:     keyTable.put("JAPANESE_ROMAN", new Integer(KeyEvent.VK_JAPANESE_ROMAN));

View Full Code Here
   1:       case KeyEvent.VK_CODE_INPUT: return "CODE_INPUT";
   2:       case KeyEvent.VK_JAPANESE_KATAKANA: return "JAPANESE_KATAKANA";
   3:       case KeyEvent.VK_JAPANESE_HIRAGANA: return "JAPANESE_HIRAGANA";
   4:       case KeyEvent.VK_JAPANESE_ROMAN: return "JAPANESE_ROMAN";
   5:       case KeyEvent.VK_KANA_LOCK: return "KANA_LOCK";

View Full Code Here

VK_JAPANESE_ROMAN

public static final int VK_JAPANESE_ROMAN
Constant for the Japanese-Roman function key. This key switches to a Japanese input method and selects its Roman-Direct input mode.
Field Value:
261
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_JAPANESE_ROMAN
   1:         case KeyEvent.VK_JAPANESE_HIRAGANA:
   2:         case KeyEvent.VK_JAPANESE_ROMAN:
   3:         case KeyEvent.VK_KANA_LOCK:
   4:         case KeyEvent.VK_INPUT_METHOD_ON_OFF:

View Full Code Here
   1:     keyTable.put("JAPANESE_HIRAGANA", new Integer(KeyEvent.VK_JAPANESE_HIRAGANA));
   2:     keyTable.put("JAPANESE_ROMAN", new Integer(KeyEvent.VK_JAPANESE_ROMAN));
   3: 
   4:     keyTable.put("CUT", new Integer(KeyEvent.VK_CUT));
   5:     keyTable.put("COPY", new Integer(KeyEvent.VK_COPY));

View Full Code Here
   1:       case KeyEvent.VK_JAPANESE_HIRAGANA: return "JAPANESE_HIRAGANA";
   2:       case KeyEvent.VK_JAPANESE_ROMAN: return "JAPANESE_ROMAN";
   3:       case KeyEvent.VK_KANA_LOCK: return "KANA_LOCK";
   4:       case KeyEvent.VK_INPUT_METHOD_ON_OFF: return "INPUT_METHOD_ON_OFF";
   5:       

View Full Code Here

VK_K

public static final int VK_K
Field Value:
75
Usages and Demos :

View More Examples of KeyEvent.VK_K
   1:         putValue(Action.ACCELERATOR_KEY,
   2:             KeyStroke.getKeyStroke(KeyEvent.VK_K,
   3:                 Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
   4:         putValue(SHORT_DESCRIPTION,
   5:             ElanLocale.getString(ELANCommandFactory.SELECTION_MODE + "ToolTip"));

View Full Code Here
   1:       case KeyEvent.VK_J:
   2:       case KeyEvent.VK_K:
   3:       case KeyEvent.VK_L:
   4:       case KeyEvent.VK_M:
   5:       case KeyEvent.VK_N:

View Full Code Here
   1:       case KeyEvent.VK_J:
   2:       case KeyEvent.VK_K:
   3:       case KeyEvent.VK_L:
   4:       case KeyEvent.VK_M:
   5:       case KeyEvent.VK_N:

View Full Code Here
   1:         kill = new JMenu("Kill");
   2:         kill.setMnemonic(KeyEvent.VK_K);
   3: 
   4:         ...
   5:         item.setForeground(Color.red);
   6:         item.setMnemonic(KeyEvent.VK_K);
   7:         item.addActionListener(new ActionListener() {
   8:             public void actionPerformed(ActionEvent e) {
   9:                 startit.sinfo.killAllApps();

View Full Code Here
   1:         case KeyEvent.VK_J:
   2:         case KeyEvent.VK_K:
   3:         case KeyEvent.VK_L:
   4:         case KeyEvent.VK_M:
   5:         case KeyEvent.VK_N:

View Full Code Here

VK_KANA

public static final int VK_KANA
Field Value:
21
Usages and Demos :

View More Examples of KeyEvent.VK_KANA
   1:         case KeyEvent.VK_MODECHANGE:
   2:         case KeyEvent.VK_KANA:
   3:         case KeyEvent.VK_KANJI:
   4:         case KeyEvent.VK_ALPHANUMERIC:
   5:         case KeyEvent.VK_KATAKANA:

View Full Code Here
   1:     keyTable.put("MODECHANGE", new Integer(KeyEvent.VK_MODECHANGE));
   2:     keyTable.put("KANA", new Integer(KeyEvent.VK_KANA));
   3:     keyTable.put("KANJI", new Integer(KeyEvent.VK_KANJI));
   4: 
   5:     keyTable.put("ALPHANUMERIC", new Integer(KeyEvent.VK_ALPHANUMERIC));

View Full Code Here
   1:       case KeyEvent.VK_MODECHANGE: return "MODECHANGE";
   2:       case KeyEvent.VK_KANA: return "KANA";
   3:       case KeyEvent.VK_KANJI: return "KANJI";
   4:       case KeyEvent.VK_ALPHANUMERIC: return "ALPHANUMERIC";
   5:       case KeyEvent.VK_KATAKANA: return "KATAKANA";

View Full Code Here

VK_KANA_LOCK

public static final int VK_KANA_LOCK
Constant for the locking Kana function key. This key locks the keyboard into a Kana layout.
Field Value:
262
Since:
1.3
Usages and Demos :

View More Examples of KeyEvent.VK_KANA_LOCK
   1:         case KeyEvent.VK_JAPANESE_ROMAN:
   2:         case KeyEvent.VK_KANA_LOCK:
   3:         case KeyEvent.VK_INPUT_METHOD_ON_OFF:
   4: 
   5:         case KeyEvent.VK_AGAIN:

View Full Code Here
   1:       case KeyEvent.VK_JAPANESE_ROMAN: return "JAPANESE_ROMAN";
   2:       case KeyEvent.VK_KANA_LOCK: return "KANA_LOCK";
   3:       case KeyEvent.VK_INPUT_METHOD_ON_OFF: return "INPUT_METHOD_ON_OFF";
   4:       
   5:       case KeyEvent.VK_AGAIN: return "AGAIN";

View Full Code Here
   1:                     return DOMKeyEvent.DOM_VK_ENTER; 
   2:             case KeyEvent.VK_KANA_LOCK:
   3:                 return DOMKeyEvent.DOM_VK_UNDEFINED;
   4:             case KeyEvent.VK_INPUT_METHOD_ON_OFF:
   5:                 return DOMKeyEvent.DOM_VK_UNDEFINED;

View Full Code Here

VK_KANJI

public static final int VK_KANJI
Field Value:
25
Usages and Demos :

View More Examples of KeyEvent.VK_KANJI
   1:         case KeyEvent.VK_KANA:
   2:         case KeyEvent.VK_KANJI:
   3:         case KeyEvent.VK_ALPHANUMERIC:
   4:         case KeyEvent.VK_KATAKANA:
   5:         case KeyEvent.VK_HIRAGANA:

View Full Code Here
   1:     keyTable.put("KANA", new Integer(KeyEvent.VK_KANA));
   2:     keyTable.put("KANJI", new Integer(KeyEvent.VK_KANJI));
   3: 
   4:     keyTable.put("ALPHANUMERIC", new Integer(KeyEvent.VK_ALPHANUMERIC));
   5:     keyTable.put("KATAKANA", new Integer(KeyEvent.VK_KATAKANA));

View Full Code Here
   1:       case KeyEvent.VK_KANA: return "KANA";
   2:       case KeyEvent.VK_KANJI: return "KANJI";
   3:       case KeyEvent.VK_ALPHANUMERIC: return "ALPHANUMERIC";
   4:       case KeyEvent.VK_KATAKANA: return "KATAKANA";
   5:       case KeyEvent.VK_HIRAGANA: return "HIRAGANA";

View Full Code Here

VK_KATAKANA

public static final int VK_KATAKANA
Constant for the Katakana function key.
Field Value:
241
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_KATAKANA
   1:         case KeyEvent.VK_ALPHANUMERIC:
   2:         case KeyEvent.VK_KATAKANA:
   3:         case KeyEvent.VK_HIRAGANA:
   4:         case KeyEvent.VK_FULL_WIDTH:
   5:         case KeyEvent.VK_HALF_WIDTH:

View Full Code Here
   1:     keyTable.put("ALPHANUMERIC", new Integer(KeyEvent.VK_ALPHANUMERIC));
   2:     keyTable.put("KATAKANA", new Integer(KeyEvent.VK_KATAKANA));
   3:     keyTable.put("HIRAGANA", new Integer(KeyEvent.VK_HIRAGANA));
   4:     keyTable.put("FULL_WIDTH", new Integer(KeyEvent.VK_FULL_WIDTH));
   5:     keyTable.put("HALF_WIDTH", new Integer(KeyEvent.VK_HALF_WIDTH));

View Full Code Here
   1:       case KeyEvent.VK_ALPHANUMERIC: return "ALPHANUMERIC";
   2:       case KeyEvent.VK_KATAKANA: return "KATAKANA";
   3:       case KeyEvent.VK_HIRAGANA: return "HIRAGANA";
   4:       case KeyEvent.VK_FULL_WIDTH: return "FULL_WIDTH";
   5:       case KeyEvent.VK_HALF_WIDTH: return "HALF_WIDTH";

View Full Code Here

VK_KP_DOWN

public static final int VK_KP_DOWN
Constant for the numeric keypad down arrow key.
Field Value:
225
Since:
1.2
See Also:
VK_DOWN
Usages and Demos :

View More Examples of KeyEvent.VK_KP_DOWN
   1:         case KeyEvent.VK_KP_RIGHT:
   2:         case KeyEvent.VK_KP_DOWN:
   3: 
   4:         case KeyEvent.VK_F1:
   5:         case KeyEvent.VK_F2:

View Full Code Here
   1:           case Misc.KP_DOWN:
   2:             mapped = KeyEvent.VK_KP_DOWN;
   3:             break;
   4:           case Misc.F1:
   5:             mapped = KeyEvent.VK_F1;

View Full Code Here
   1:     keyTable.put("KP_UP", new Integer(KeyEvent.VK_KP_UP));
   2:     keyTable.put("KP_DOWN", new Integer(KeyEvent.VK_KP_DOWN));
   3:     keyTable.put("KP_LEFT", new Integer(KeyEvent.VK_KP_LEFT));
   4:     keyTable.put("KP_RIGHT", new Integer(KeyEvent.VK_KP_RIGHT));

View Full Code Here

VK_KP_LEFT

public static final int VK_KP_LEFT
Constant for the numeric keypad left arrow key.
Field Value:
226
Since:
1.2
See Also:
VK_LEFT
Usages and Demos :

View More Examples of KeyEvent.VK_KP_LEFT
   1: 
   2:         case KeyEvent.VK_KP_LEFT:
   3:         case KeyEvent.VK_KP_UP:
   4:         case KeyEvent.VK_KP_RIGHT:
   5:         case KeyEvent.VK_KP_DOWN:

View Full Code Here
   1:           case Misc.KP_LEFT:
   2:             mapped = KeyEvent.VK_KP_LEFT;
   3:             break;
   4:           case Misc.KP_UP:
   5:             mapped = KeyEvent.VK_KP_UP;

View Full Code Here
   1:     keyTable.put("KP_DOWN", new Integer(KeyEvent.VK_KP_DOWN));
   2:     keyTable.put("KP_LEFT", new Integer(KeyEvent.VK_KP_LEFT));
   3:     keyTable.put("KP_RIGHT", new Integer(KeyEvent.VK_KP_RIGHT));
   4: 
   5:     keyTable.put("DEAD_GRAVE", new Integer(KeyEvent.VK_DEAD_GRAVE));

View Full Code Here

VK_KP_RIGHT

public static final int VK_KP_RIGHT
Constant for the numeric keypad right arrow key.
Field Value:
227
Since:
1.2
See Also:
VK_RIGHT
Usages and Demos :

View More Examples of KeyEvent.VK_KP_RIGHT
   1:         case KeyEvent.VK_KP_UP:
   2:         case KeyEvent.VK_KP_RIGHT:
   3:         case KeyEvent.VK_KP_DOWN:
   4: 
   5:         case KeyEvent.VK_F1:

View Full Code Here
   1:           case Misc.KP_RIGHT:
   2:             mapped = KeyEvent.VK_KP_RIGHT;
   3:             break;
   4:           case Misc.KP_DOWN:
   5:             mapped = KeyEvent.VK_KP_DOWN;

View Full Code Here
   1:     keyTable.put("KP_LEFT", new Integer(KeyEvent.VK_KP_LEFT));
   2:     keyTable.put("KP_RIGHT", new Integer(KeyEvent.VK_KP_RIGHT));
   3: 
   4:     keyTable.put("DEAD_GRAVE", new Integer(KeyEvent.VK_DEAD_GRAVE));
   5:     keyTable.put("DEAD_ACUTE", new Integer(KeyEvent.VK_DEAD_ACUTE));

View Full Code Here

VK_KP_UP

public static final int VK_KP_UP
Constant for the numeric keypad up arrow key.
Field Value:
224
Since:
1.2
See Also:
VK_UP
Usages and Demos :

View More Examples of KeyEvent.VK_KP_UP
   1:         case KeyEvent.VK_KP_LEFT:
   2:         case KeyEvent.VK_KP_UP:
   3:         case KeyEvent.VK_KP_RIGHT:
   4:         case KeyEvent.VK_KP_DOWN:

View Full Code Here
   1:           case Misc.KP_UP:
   2:             mapped = KeyEvent.VK_KP_UP;
   3:             break;
   4:           case Misc.KP_RIGHT:
   5:             mapped = KeyEvent.VK_KP_RIGHT;

View Full Code Here
   1: 
   2:     keyTable.put("KP_UP", new Integer(KeyEvent.VK_KP_UP));
   3:     keyTable.put("KP_DOWN", new Integer(KeyEvent.VK_KP_DOWN));
   4:     keyTable.put("KP_LEFT", new Integer(KeyEvent.VK_KP_LEFT));
   5:     keyTable.put("KP_RIGHT", new Integer(KeyEvent.VK_KP_RIGHT));

View Full Code Here

VK_L

public static final int VK_L
Field Value:
76
Usages and Demos :

View More Examples of KeyEvent.VK_L
   1:     buttonOK=new JButton("Load");
   2:     buttonOK.setMnemonic(KeyEvent.VK_L);
   3:     buttonOK.addActionListener(this);
   4:     container.add(buttonOK);
   5:     setContentPane(container);

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("AlignLeft"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_L));
   3:   }
   4:   
   5:   private AlignLeftAction() {};  

View Full Code Here
   1:     putValue(Action.SMALL_ICON, getIconByName("LabelElement"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_L));
   3:   }
   4:   
   5:   public LabelElementAction(YAWLVertex vertex, NetGraph net) {

View Full Code Here
   1:   public ElementsMenu() {
   2:     super("Elements",KeyEvent.VK_L);
   3:   }
   4:         ...
   5:     JMenu alignmentMenu = new JMenu("Alignment");
   6:     alignmentMenu.setMnemonic(KeyEvent.VK_L);
   7:     
   8:     alignmentMenu.add(new YAWLMenuItem(AlignTopAction.getInstance()));
   9:     alignmentMenu.add(new YAWLMenuItem(AlignMiddleAction.getInstance()));

View Full Code Here
   1:             super("Save All");
   2:             putValue(MNEMONIC_KEY, new Integer(KeyEvent.VK_L));
   3:         }
   4:         
   5:         public void actionPerformed(ActionEvent e) {

View Full Code Here

VK_LEFT

public static final int VK_LEFT
Constant for the non-numpad left arrow key.
Field Value:
37
See Also:
VK_KP_LEFT
Usages and Demos :

View More Examples of KeyEvent.VK_LEFT
   1:            ke.getKeyCode() == KeyEvent.VK_DOWN ||
   2:            ke.getKeyCode() == KeyEvent.VK_LEFT ||
   3:            ke.getKeyCode() == KeyEvent.VK_RIGHT)
   4:         return;
   5:         if(!(ke.getKeyChar() >= '0' && ke.getKeyChar() <= '9')) {

View Full Code Here
   1:            ke.getKeyCode() == KeyEvent.VK_DOWN ||
   2:            ke.getKeyCode() == KeyEvent.VK_LEFT ||
   3:            ke.getKeyCode() == KeyEvent.VK_RIGHT)
   4:         return;
   5:         if(!(ke.getKeyChar() >= '0' && ke.getKeyChar() <= '9')) {

View Full Code Here
   1:            ke.getKeyCode() == KeyEvent.VK_DOWN ||
   2:            ke.getKeyCode() == KeyEvent.VK_LEFT ||
   3:            ke.getKeyCode() == KeyEvent.VK_RIGHT)
   4:         return;
   5:         if(!(ke.getKeyChar() >= '0' && ke.getKeyChar() <= '9') &&

View Full Code Here
   1:         break;
   2:     case KeyEvent.VK_LEFT:
   3:     case (int)'j':
   4:         x.setText(Util.textOf(simCntl.moveDeviceLeft(),3));
   5:         break;

View Full Code Here
   1:     switch(keyCode) {
   2:     case KeyEvent.VK_LEFT: 
   3:         textElement.deleteLastChar();
   4:         break;
   5:     case KeyEvent.VK_BACK_SPACE:

View Full Code Here

VK_LEFT_PARENTHESIS

public static final int VK_LEFT_PARENTHESIS
Constant for the "(" key.
Field Value:
519
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_LEFT_PARENTHESIS
   1:         case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   2:         case KeyEvent.VK_LEFT_PARENTHESIS:
   3:         case KeyEvent.VK_NUMBER_SIGN:
   4:         case KeyEvent.VK_PLUS:
   5:         case KeyEvent.VK_RIGHT_PARENTHESIS:

View Full Code Here
   1:               case Latin1.PAREN_LEFT:
   2:                 mapped = KeyEvent.VK_LEFT_PARENTHESIS;
   3:                 break;
   4:               case Latin1.PAREN_RIGHT:
   5:                 mapped = KeyEvent.VK_RIGHT_PARENTHESIS;

View Full Code Here
   1:     keyTable.put("INVERTED_EXCLAMATION_MARK", new Integer(KeyEvent.VK_INVERTED_EXCLAMATION_MARK));
   2:     keyTable.put("LEFT_PARENTHESIS", new Integer(KeyEvent.VK_LEFT_PARENTHESIS));
   3:     keyTable.put("NUMBER_SIGN", new Integer(KeyEvent.VK_NUMBER_SIGN));
   4:     keyTable.put("PLUS", new Integer(KeyEvent.VK_PLUS));
   5:     keyTable.put("RIGHT_PARENTHESIS", new Integer(KeyEvent.VK_RIGHT_PARENTHESIS));

View Full Code Here
   1:         return "INVERTED_EXCLAMATION_MARK";
   2:       case KeyEvent.VK_LEFT_PARENTHESIS: return "LEFT_PARENTHESIS";
   3:       case KeyEvent.VK_NUMBER_SIGN: return "NUMBER_SIGN";
   4:       case KeyEvent.VK_MINUS: return "MINUS";
   5:       case KeyEvent.VK_PLUS: return "PLUS";

View Full Code Here
   1:       case KeyEvent.VK_INVERTED_EXCLAMATION_MARK:
   2:       case KeyEvent.VK_LEFT_PARENTHESIS:
   3:       case KeyEvent.VK_NUMBER_SIGN:
   4:       case KeyEvent.VK_PLUS:
   5:       case KeyEvent.VK_RIGHT_PARENTHESIS:

View Full Code Here

VK_LESS

public static final int VK_LESS
Field Value:
153
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_LESS
   1:         case KeyEvent.VK_QUOTEDBL:
   2:         case KeyEvent.VK_LESS:
   3:         case KeyEvent.VK_GREATER:
   4:         case KeyEvent.VK_BRACELEFT:
   5:         case KeyEvent.VK_BRACERIGHT:

View Full Code Here
   1:               case Latin1.LESS:
   2:                 mapped = KeyEvent.VK_LESS;
   3:                 break;
   4:               case Latin1.EQUAL:
   5:                 mapped = KeyEvent.VK_EQUALS;

View Full Code Here
   1:     keyTable.put("QUOTEDBL", new Integer(KeyEvent.VK_QUOTEDBL));
   2:     keyTable.put("LESS", new Integer(KeyEvent.VK_LESS));
   3:     
   4:     keyTable.put("GREATER", new Integer(KeyEvent.VK_GREATER));
   5:     keyTable.put("BRACELEFT", new Integer(KeyEvent.VK_BRACELEFT));

View Full Code Here
   1:         leftButton.addActionListener(this);
   2:         leftButton.setMnemonic( KeyEvent.VK_LESS );
   3:         leftButton.setEnabled( false );
   4:         JPanel arrowPanel = new JPanel();
   5:         GridBagLayout arrowGridbag = new GridBagLayout();

View Full Code Here
   1:       case KeyEvent.VK_QUOTEDBL: return "QUOTEDBL";
   2:       case KeyEvent.VK_LESS: return "LESS";
   3:       case KeyEvent.VK_GREATER: return "GREATER";
   4:       case KeyEvent.VK_BRACELEFT: return "BRACELEFT";
   5:       case KeyEvent.VK_BRACERIGHT: return "BRACERIGHT";

View Full Code Here

VK_M

public static final int VK_M
Field Value:
77
Usages and Demos :

View More Examples of KeyEvent.VK_M
   1:     putValue(Action.SMALL_ICON, getIconByName("Import"));
   2:     putValue(Action.MNEMONIC_KEY, new Integer(java.awt.event.KeyEvent.VK_M));
   3:   }
   4:   
   5:   public void actionPerformed(ActionEvent event) {

View Full Code Here
   1:       JComponent.WHEN_IN_FOCUSED_WINDOW);
   2:     p.registerKeyboardAction(amarelo,KeyStroke.getKeyStroke(KeyEvent.VK_M,0),
   3:       JComponent.WHEN_IN_FOCUSED_WINDOW);
   4:     p.registerKeyboardAction((ActionListener)cinza,KeyStroke.getKeyStroke(KeyEvent.VK_C,0),
   5:       JComponent.WHEN_IN_FOCUSED_WINDOW);

View Full Code Here
   1:         putValue(Action.ACCELERATOR_KEY,
   2:             KeyStroke.getKeyStroke(KeyEvent.VK_M, ActionEvent.ALT_MASK));
   3:         putValue(SHORT_DESCRIPTION,
   4:             ElanLocale.getString(ELANCommandFactory.MODIFY_ANNOTATION +
   5:                 "ToolTip"));

View Full Code Here
   1:         ButtonGroup buttonGroup = new ButtonGroup();
   2:         menu.setMnemonic(KeyEvent.VK_M);
   3: 
   4:         JRadioButtonMenuItem emptyMenuItem = 
   5:           new JRadioButtonMenuItem();

View Full Code Here
   1:       case KeyEvent.VK_L:
   2:       case KeyEvent.VK_M:
   3:       case KeyEvent.VK_N:
   4:       case KeyEvent.VK_O:
   5:       case KeyEvent.VK_P:

View Full Code Here

VK_META

public static final int VK_META
Field Value:
157
Usages and Demos :

View More Examples of KeyEvent.VK_META
   1:     key=0xff6a; break;
   2:       case KeyEvent.VK_META:
   3:     key=0xffe7; break;
   4:       default:
   5:     key=e.getKeyChar();

View Full Code Here
   1:     key=0xff6a; break;
   2:       case KeyEvent.VK_META:
   3:     key=0xffe7; break;
   4: 
   5:       default:

View Full Code Here
   1:             keyCode == KeyEvent.VK_ALT ||
   2:             keyCode == KeyEvent.VK_META)
   3:             return;
   4: 
   5:         if((modifiers & ~KeyEvent.SHIFT_MASK) != 0

View Full Code Here
   1:         case KeyEvent.VK_SHIFT:
   2:         case KeyEvent.VK_META:
   3:         case KeyEvent.VK_DEAD_GRAVE:
   4:         case KeyEvent.VK_DEAD_ACUTE:
   5:         case KeyEvent.VK_DEAD_CIRCUMFLEX:

View Full Code Here
   1:       keyCode == KeyEvent.VK_ALT ||
   2:       keyCode == KeyEvent.VK_META)
   3:       return;
   4: 
   5:     if((modifiers & ~KeyEvent.SHIFT_MASK) != 0

View Full Code Here

VK_MINUS

public static final int VK_MINUS
Constant for the minus key, "-"
Field Value:
45
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_MINUS
   1:         case KeyEvent.VK_COMMA:
   2:         case KeyEvent.VK_MINUS:
   3:         case KeyEvent.VK_PERIOD:
   4:         case KeyEvent.VK_SLASH:
   5:         case KeyEvent.VK_0:

View Full Code Here
   1:         decrease_font.putValue(Action.ACCELERATOR_KEY, 
   2:             KeyStroke.getKeyStroke(KeyEvent.VK_MINUS,
   3:                 Toolkit.getDefaultToolkit().getMenuShortcutKeyMask()));
   4:         decrease_font.putValue(Action.MNEMONIC_KEY, new Integer(KeyEvent.VK_D));
   5:         

View Full Code Here
   1:               case Latin1.MINUS:
   2:                 mapped = KeyEvent.VK_MINUS;
   3:                 break;
   4:               case Latin1.PERIOD:
   5:                 mapped = KeyEvent.VK_PERIOD;

View Full Code Here
   1:     keyTable.put("COMMA", new Integer(KeyEvent.VK_COMMA));
   2:     keyTable.put("MINUS", new Integer(KeyEvent.VK_MINUS));
   3:     keyTable.put("PERIOD", new Integer(KeyEvent.VK_PERIOD));
   4:     keyTable.put("SLASH", new Integer(KeyEvent.VK_SLASH));

View Full Code Here
   1:         case KeyEvent.VK_SUBTRACT: 
   2:         case KeyEvent.VK_MINUS: tray.setIndexIncrement(-1); break;
   3:         case KeyEvent.VK_PAGE_UP: tray.gotoPreviousDirectory(); restart(); break;
   4:         case KeyEvent.VK_PAGE_DOWN: tray.gotoNextDirectory(); restart(); break;
   5:         case KeyEvent.VK_RIGHT: tray.setIndexIncrement(1); restart(); break;

View Full Code Here

VK_MODECHANGE

public static final int VK_MODECHANGE
Field Value:
31
Usages and Demos :

View More Examples of KeyEvent.VK_MODECHANGE
   1:         case KeyEvent.VK_ACCEPT:
   2:         case KeyEvent.VK_MODECHANGE:
   3:         case KeyEvent.VK_KANA:
   4:         case KeyEvent.VK_KANJI:
   5:         case KeyEvent.VK_ALPHANUMERIC:

View Full Code Here
   1:           case Misc.MODE_SWITCH:
   2:             mapped = KeyEvent.VK_MODECHANGE;
   3:             break;
   4:           case Misc.NUM_LOCK:
   5:             mapped = KeyEvent.VK_NUM_LOCK;

View Full Code Here
   1:     keyTable.put("ACCEPT", new Integer(KeyEvent.VK_ACCEPT));
   2:     keyTable.put("MODECHANGE", new Integer(KeyEvent.VK_MODECHANGE));
   3:     keyTable.put("KANA", new Integer(KeyEvent.VK_KANA));
   4:     keyTable.put("KANJI", new Integer(KeyEvent.VK_KANJI));

View Full Code Here
   1:       case KeyEvent.VK_ACCEPT: return "ACCEPT";
   2:       case KeyEvent.VK_MODECHANGE: return "MODECHANGE";
   3:       case KeyEvent.VK_KANA: return "KANA";
   4:       case KeyEvent.VK_KANJI: return "KANJI";
   5:       case KeyEvent.VK_ALPHANUMERIC: return "ALPHANUMERIC";

View Full Code Here

VK_MULTIPLY

public static final int VK_MULTIPLY
Field Value:
106
Usages and Demos :

View More Examples of KeyEvent.VK_MULTIPLY
   1:     key=0xffb9; break;
   2:       case KeyEvent.VK_MULTIPLY:
   3:     key=0xffaa; break;
   4:       case KeyEvent.VK_ADD:
   5:     key=0xffab; break;

View Full Code Here
   1:     key=0xffb9; break;
   2:       case KeyEvent.VK_MULTIPLY:
   3:     key=0xffaa; break;
   4:       case KeyEvent.VK_ADD:
   5:     key=0xffab; break;

View Full Code Here
   1:         case KeyEvent.VK_NUMPAD9:
   2:         case KeyEvent.VK_MULTIPLY:
   3:         case KeyEvent.VK_ADD:
   4:                     if(modifiers == InputEvent.ALT_MASK)
   5:                         last = LAST_ALT;

View Full Code Here
   1:     keyTable.put("NUMPAD9", new Integer(KeyEvent.VK_NUMPAD9));
   2:     keyTable.put("MULTIPLY", new Integer(KeyEvent.VK_MULTIPLY));
   3:     keyTable.put("ADD", new Integer(KeyEvent.VK_ADD));
   4:     keyTable.put("SEPARATER", new Integer(KeyEvent.VK_SEPARATER));
   5:     keyTable.put("SUBTRACT", new Integer(KeyEvent.VK_SUBTRACT));

View Full Code Here
   1:       
   2:       case KeyEvent.VK_MULTIPLY: return "MULTIPLY";
   3:       case KeyEvent.VK_ADD: return "ADD";
   4:       case KeyEvent.VK_SEPARATOR: return "SEPARATOR";
   5:       case KeyEvent.VK_SUBTRACT: return "SUBTRACT";

View Full Code Here

VK_N

public static final int VK_N
Field Value:
78
Usages and Demos :

View More Examples of KeyEvent.VK_N
   1:             defaultMenuItem = new UpdatableCommandMenuItem(new NewDefaultDrawingCommand(),
   2:                                                            KeyEvent.VK_N);
   3:         }
   4:         result.add(defaultMenuItem);
   5:         result.add(new CommandMenuItem(new NewDrawingCommand()));

View Full Code Here
   1: 
   2:     public static final Integer NEW_MNEMONIC_KEY = new Integer(KeyEvent.VK_N);
   3:         ...
   4:     public static final KeyStroke NEW_ACCELERATOR_KEY = KeyStroke.getKeyStroke(KeyEvent.VK_N, ActionEvent.CTRL_MASK);
   5:         
   6:     public static final Integer OPEN_MNEMONIC_KEY = new Integer(KeyEvent.VK_O); 
   7:     public static final KeyStroke OPEN_ACCELERATOR_KEY = KeyStroke.getKeyStroke(KeyEvent.VK_O, ActionEvent.CTRL_MASK);

View Full Code Here
   1:       case KeyEvent.VK_M:
   2:       case KeyEvent.VK_N:
   3:       case KeyEvent.VK_O:
   4:       case KeyEvent.VK_P:
   5:       case KeyEvent.VK_Q:

View Full Code Here
   1:                             PackageResources.Manager.FindNext.ICON);
   2:             putValue( MNEMONIC_KEY, new Integer(KeyEvent.VK_N) );
   3:             putValue( ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_F3, 0) );
   4:             setEnabled(false);
   5:         }

View Full Code Here
   1:     {
   2:       putValue(ActionDowngrade.MNEMONIC_KEY, new Integer(KeyEvent.VK_N));
   3:       putValue(ActionDowngrade.NAME, "New");
   4:         ...
   5:       putValue(ActionDowngrade.ACCELERATOR_KEY,
   6:               KeyStroke.getKeyStroke(KeyEvent.VK_N, ActionEvent.ALT_MASK));
   7:     }
   8: 
   9:   protected void attemptPreview()

View Full Code Here

VK_NONCONVERT

public static final int VK_NONCONVERT
Constant for the Don't Convert function key.
Field Value:
29
Usages and Demos :

View More Examples of KeyEvent.VK_NONCONVERT
   1:         case KeyEvent.VK_CONVERT:
   2:         case KeyEvent.VK_NONCONVERT:
   3:         case KeyEvent.VK_ACCEPT:
   4:         case KeyEvent.VK_MODECHANGE:
   5:         case KeyEvent.VK_KANA:

View Full Code Here
   1:     keyTable.put("CONVERT", new Integer(KeyEvent.VK_CONVERT));
   2:     keyTable.put("NONCONVERT", new Integer(KeyEvent.VK_NONCONVERT));
   3:     keyTable.put("ACCEPT", new Integer(KeyEvent.VK_ACCEPT));
   4:     keyTable.put("MODECHANGE", new Integer(KeyEvent.VK_MODECHANGE));
   5:     keyTable.put("KANA", new Integer(KeyEvent.VK_KANA));

View Full Code Here
   1:       case KeyEvent.VK_CONVERT: return "CONVERT";
   2:       case KeyEvent.VK_NONCONVERT: return "NONCONVERT";
   3:       case KeyEvent.VK_ACCEPT: return "ACCEPT";
   4:       case KeyEvent.VK_MODECHANGE: return "MODECHANGE";
   5:       case KeyEvent.VK_KANA: return "KANA";

View Full Code Here

VK_NUMBER_SIGN

public static final int VK_NUMBER_SIGN
Constant for the "#" key.
Field Value:
520
Since:
1.2
Usages and Demos :

View More Examples of KeyEvent.VK_NUMBER_SIGN
   1:         case KeyEvent.VK_LEFT_PARENTHESIS:
   2:         case KeyEvent.VK_NUMBER_SIGN:
   3:         case KeyEvent.VK_PLUS:
   4:         case KeyEvent.VK_RIGHT_PARENTHESIS:
   5:         case KeyEvent.VK_UNDERSCORE:

View Full Code Here
   1:               case Latin1.NUMBER_SIGN:
   2:                 mapped = KeyEvent.VK_NUMBER_SIGN;
   3:                 break;
   4:               case Latin1.DOLLAR:
   5:                 mapped = KeyEvent.VK_DOLLAR;

View Full Code Here
   1:     keyTable.put("LEFT_PARENTHESIS", new Integer(KeyEvent.VK_LEFT_PARENTHESIS));
   2:     keyTable.put("NUMBER_SIGN", new Integer(KeyEvent.VK_NUMBER_SIGN));
   3:     keyTable.put("PLUS", new Integer(KeyEvent.VK_PLUS));
   4:     keyTable.put("RIGHT_PARENTHESIS", new Integer(KeyEvent.VK_RIGHT_PARENTHESIS));
   5:     keyTable.put("UNDERSCORE", new Integer(KeyEvent.VK_UNDERSCORE));

View Full Code Here
   1:       case KeyEvent.VK_LEFT_PARENTHESIS: return "LEFT_PARENTHESIS";
   2:       case KeyEvent.VK_NUMBER_SIGN: return "NUMBER_SIGN";
   3:       case KeyEvent.VK_MINUS: return "MINUS";
   4:       case KeyEvent.VK_PLUS: return "PLUS";
   5:       case KeyEvent.VK_RIGHT_PARENTHESIS: return "RIGHT_PARENTHESIS";

View Full Code Here
   1:       case KeyEvent.VK_LEFT_PARENTHESIS:
   2:       case KeyEvent.VK_NUMBER_SIGN:
   3:       case KeyEvent.VK_PLUS:
   4:       case KeyEvent.VK_RIGHT_PARENTHESIS:
   5:       case KeyEvent.VK_UNDERSCORE:

View Full Code Here

VK_NUMPAD0

public static final int VK_NUMPAD0
Field Value:
96
Usages and Demos :

View More Examples of KeyEvent.VK_NUMPAD0
   1:     key=0xff54; break;
   2:       case KeyEvent.VK_NUMPAD0:
   3:     key=0xffb0; break;
   4:       case KeyEvent.VK_NUMPAD1:
   5:     key=0xffb1; break;

View Full Code Here
   1:     key=0xff54; break;
   2:       case KeyEvent.VK_NUMPAD0:
   3:     key=0xffb0; break;
   4:       case KeyEvent.VK_NUMPAD1:
   5:     key=0xffb1; break;

View Full Code Here
   1:         {
   2:         case KeyEvent.VK_NUMPAD0:
   3:         case KeyEvent.VK_NUMPAD1:
   4:         case KeyEvent.VK_NUMPAD2:
   5:         case KeyEvent.VK_NUMPAD3:

View Full Code Here
   1: 
   2:     keyTable.put("NUMPAD0", new Integer(KeyEvent.VK_NUMPAD0));
   3:     keyTable.put("NUMPAD1", new Integer(KeyEvent.VK_NUMPAD1));
   4:     keyTable.put("NUMPAD2", new Integer(KeyEvent.VK_NUMPAD2));
   5:     keyTable.put("NUMPAD3", new Integer(KeyEvent.VK_NUMPAD3));

View Full Code Here
   1:       case KeyEvent.VK_CLOSE_BRACKET:
   2:       case KeyEvent.VK_NUMPAD0:
   3:       case KeyEvent.VK_NUMPAD1:
   4:       case KeyEvent.VK_NUMPAD2:
   5:       case KeyEvent.VK_NUMPAD3:

View Full Code Here

VK_NUMPAD1

public static final int VK_NUMPAD1
Field Value:
97
Usages and Demos :

View More Examples of KeyEvent.VK_NUMPAD1
   1:     key=0xffb0; break;
   2:       case KeyEvent.VK_NUMPAD1:
   3:     key=0xffb1; break;
   4:       case KeyEvent.VK_NUMPAD2:
   5:     key=0xffb2; break;

View Full Code Here
   1:     key=0xffb0; break;
   2:       case KeyEvent.VK_NUMPAD1:
   3:     key=0xffb1; break;
   4:       case KeyEvent.VK_NUMPAD2:
   5:     key=0xffb2; break;

View Full Code Here
   1:         case KeyEvent.VK_NUMPAD0:
   2:         case KeyEvent.VK_NUMPAD1:
   3:         case KeyEvent.VK_NUMPAD2:
   4:         case KeyEvent.VK_NUMPAD3:
   5:         case KeyEvent.VK_NUMPAD4:

View Full Code Here
   1:     keyTable.put("NUMPAD0", new Integer(KeyEvent.VK_NUMPAD0));
   2:     keyTable.put("NUMPAD1", new Integer(KeyEvent.VK_NUMPAD1));
   3:     keyTable.put("NUMPAD2", new Integer(KeyEvent.VK_NUMPAD