Lines Matching refs:getKeyStroke
45 * create a KeyStroke; a variant of <code>getKeyStroke</code> must be used
59 * @see #getKeyStroke
86 public static KeyStroke getKeyStroke(char keyChar) {
103 * @deprecated use getKeyStroke(char)
106 public static KeyStroke getKeyStroke(char keyChar, boolean onKeyRelease) {
116 * <code>getKeyStroke(int keyCode, int modifiers)</code>.
147 public static KeyStroke getKeyStroke(Character keyChar, int modifiers) {
197 public static KeyStroke getKeyStroke(int keyCode, int modifiers,
246 public static KeyStroke getKeyStroke(int keyCode, int modifiers) {
287 * "INSERT" => getKeyStroke(KeyEvent.VK_INSERT, 0);
288 * "control DELETE" => getKeyStroke(KeyEvent.VK_DELETE, InputEvent.CTRL_MASK);
289 * "alt shift X" => getKeyStroke(KeyEvent.VK_X, InputEvent.ALT_MASK | InputEvent.SHIFT_MASK);
290 * "alt shift released X" => getKeyStroke(KeyEvent.VK_X, InputEvent.ALT_MASK | InputEvent.SHIFT_MASK, true);
291 * "typed a" => getKeyStroke('a');
303 public static KeyStroke getKeyStroke(String s) {