Searched refs:getKeyStroke (Results 1 - 25 of 64) sorted by relevance

123

/openjdk7/jdk/test/java/beans/XMLEncoder/
H A Djavax_swing_KeyStroke.java41 return KeyStroke.getKeyStroke(KeyEvent.VK_A, InputEvent.SHIFT_DOWN_MASK, true);
45 return KeyStroke.getKeyStroke(KeyEvent.VK_Z, InputEvent.CTRL_DOWN_MASK);
H A DTest6501431.java41 menu.setAccelerator(KeyStroke.getKeyStroke("ctrl F2"));
/openjdk7/jdk/src/share/classes/javax/swing/
H A DKeyStroke.java45 * create a KeyStroke; a variant of <code>getKeyStroke</code> must be used
59 * @see #getKeyStroke
86 public static KeyStroke getKeyStroke(char keyChar) { method in class:KeyStroke
103 * @deprecated use getKeyStroke(char)
106 public static KeyStroke getKeyStroke(char keyChar, boolean onKeyRelease) { method in class:KeyStroke
116 * <code>getKeyStroke(int keyCode, int modifiers)</code>.
147 public static KeyStroke getKeyStroke(Character keyChar, int modifiers) { method in class:KeyStroke
197 public static KeyStroke getKeyStroke(int keyCode, int modifiers, method in class:KeyStroke
246 public static KeyStroke getKeyStroke(int keyCode, int modifiers) { method in class:KeyStroke
287 * "INSERT" => getKeyStroke(KeyEven
303 public static KeyStroke getKeyStroke(String s) { method in class:KeyStroke
[all...]
/openjdk7/jdk/src/share/classes/com/sun/java/swing/plaf/motif/
H A DMotifTextUI.java157 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_INSERT,
160 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_INSERT,
163 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_DELETE,
166 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_LEFT,
169 new JTextComponent.KeyBinding(KeyStroke.getKeyStroke(KeyEvent.VK_RIGHT,
/openjdk7/hotspot/agent/src/share/classes/com/sun/java/swing/action/
H A DAlignCenterAction.java56 public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(69, 2);
H A DAlignLeftAction.java56 public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(76, 2);
H A DAlignRightAction.java56 public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(82, 2);
H A DHelpAction.java56 public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(112, 0);
H A DNewAction.java56 public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(78, 2);
H A DOpenAction.java56 public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(79, 2);
H A DSaveAction.java56 public static final KeyStroke VALUE_ACCELERATOR = KeyStroke.getKeyStroke(83, 2);
/openjdk7/jdk/test/javax/swing/LookAndFeel/6474153/
H A Dbug6474153.java49 if (!KeyStroke.getKeyStroke("UP").equals(keyActionArray[0].key)) {
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/Coordinator/src/com/sun/hotspot/igv/coordinator/actions/
H A DRemoveAllAction.java49 putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_SHIFT, InputEvent.CTRL_MASK));
H A DSaveAllAction.java53 putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_S, InputEvent.CTRL_MASK));
/openjdk7/hotspot/src/share/tools/IdealGraphVisualizer/View/src/com/sun/hotspot/igv/view/actions/
H A DExtractAction.java49 putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_X, Event.CTRL_MASK, false));
H A DHideAction.java49 putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_H, Event.CTRL_MASK, false));
H A DShowAllAction.java49 putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_A, InputEvent.CTRL_MASK));
H A DZoomInAction.java52 putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_EQUALS, Event.CTRL_MASK, false));
H A DZoomOutAction.java50 putValue(Action.ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_MINUS, Event.CTRL_MASK, false));
/openjdk7/jdk/test/javax/swing/JMenuItem/ActionListenerCalledTwice/
H A DActionListenerCalledTwiceTest.java40 KeyStroke.getKeyStroke(KeyEvent.VK_E, InputEvent.META_MASK),
41 KeyStroke.getKeyStroke(KeyEvent.VK_DELETE, 0)
/openjdk7/jdk/test/java/awt/event/KeyEvent/AcceleratorTest/
H A DAcceleratorTest.java75 menuItem.setAccelerator(KeyStroke.getKeyStroke(java.awt.event.KeyEvent.getExtendedKeyCodeForChar('\u0431'),
79 menuItemEnglish.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_PERIOD,
82 menuItemE1.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_N,
93 ks = KeyStroke.getKeyStroke(KeyEvent.getExtendedKeyCodeForChar('\u0436'), java.awt.event.InputEvent.ALT_DOWN_MASK);
/openjdk7/jdk/test/javax/swing/SwingUtilities/4917669/
H A Dbug4917669.java82 menuItem.setAccelerator(KeyStroke.getKeyStroke("control O"));
/openjdk7/jdk/src/macosx/classes/com/apple/laf/
H A DAquaComboBoxUI.java208 inputMap.put(KeyStroke.getKeyStroke("DOWN"), highlightNextAction);
209 inputMap.put(KeyStroke.getKeyStroke("KP_DOWN"), highlightNextAction);
210 inputMap.put(KeyStroke.getKeyStroke("UP"), highlightPreviousAction);
211 inputMap.put(KeyStroke.getKeyStroke("KP_UP"), highlightPreviousAction);
213 inputMap.put(KeyStroke.getKeyStroke("HOME"), highlightFirstAction);
214 inputMap.put(KeyStroke.getKeyStroke("END"), highlightLastAction);
215 inputMap.put(KeyStroke.getKeyStroke("PAGE_UP"), highlightPageUpAction);
216 inputMap.put(KeyStroke.getKeyStroke("PAGE_DOWN"), highlightPageDownAction);
219 inputMap.put(KeyStroke.getKeyStroke("ENTER"), new AbstractAction() {
471 final Object obj = im.get(KeyStroke.getKeyStroke(KeyEven
[all...]
/openjdk7/jdk/test/javax/swing/JMenuItem/ShortcutNotDiplayed/
H A DShortcutNotDisplayedTest.java61 newItem.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_E, java.awt.event.InputEvent.META_MASK));
/openjdk7/jdk/test/javax/swing/KeyboardManager/8013370/
H A DTest8013370.java87 map.put(KeyStroke.getKeyStroke(KeyEvent.VK_A + i, CTRL_DOWN_MASK), name);

Completed in 34 milliseconds

123