Lines Matching refs:KeyStroke

171  * @see KeyStroke
202 private static Set<KeyStroke> managingFocusForwardTraversalKeys;
208 private static Set<KeyStroke> managingFocusBackwardTraversalKeys;
304 * An array of <code>KeyStroke</code>s used for
418 * Returns the Set of <code>KeyStroke</code>s to use if the component
421 static Set<KeyStroke> getManagingFocusForwardTraversalKeys() {
424 managingFocusForwardTraversalKeys = new HashSet<KeyStroke>(1);
426 KeyStroke.getKeyStroke(KeyEvent.VK_TAB,
434 * Returns the Set of <code>KeyStroke</code>s to use if the component
437 static Set<KeyStroke> getManagingFocusBackwardTraversalKeys() {
440 managingFocusBackwardTraversalKeys = new HashSet<KeyStroke>(1);
442 KeyStroke.getKeyStroke(KeyEvent.VK_TAB,
2024 * similiar behavior. For example, to bind the <code>KeyStroke</code>
2038 * The <code>KeyStroke</code> object defines a
2068 * combination (using the KeyStroke class) and direct to a parent or
2081 * @param aKeyStroke the <code>KeyStroke</code> to bind to the action
2083 * @see KeyStroke
2085 public void registerKeyboardAction(ActionListener anAction,String aCommand,KeyStroke aKeyStroke,int aCondition) {
2111 KeyStroke[] strokes;
2112 Hashtable<KeyStroke, KeyStroke> registered = (Hashtable)getClientProperty
2136 Enumeration<KeyStroke> keys = registered.keys();
2139 KeyStroke ks = keys.nextElement();
2147 registered = new Hashtable<KeyStroke, KeyStroke>(strokes.length);
2161 * <code>WHEN_IN_FOCUSED_WINDOW</code> <code>KeyStroke</code> bindings.
2171 KeyStroke ks = (KeyStroke)keys.nextElement();
2197 private void registerWithKeyboardManager(KeyStroke aKeyStroke) {
2201 private void unregisterWithKeyboardManager(KeyStroke aKeyStroke) {
2211 public void registerKeyboardAction(ActionListener anAction,KeyStroke aKeyStroke,int aCondition) {
2229 public void unregisterKeyboardAction(KeyStroke aKeyStroke) {
2248 * @return an array of <code>KeyStroke</code> objects
2251 public KeyStroke[] getRegisteredKeyStrokes() {
2253 KeyStroke[][] strokes = new KeyStroke[3][];
2261 KeyStroke[] retValue = new KeyStroke[counts[0] + counts[1] +
2277 * For Java 2 platform v1.3, a <code>KeyStroke</code> can be associated
2285 public int getConditionForKeyStroke(KeyStroke aKeyStroke) {
2302 public ActionListener getActionForKeyStroke(KeyStroke aKeyStroke) {
2441 * <code>Action</code> to fire for particular <code>KeyStroke</code>
2855 * @param ks the <code>KeyStroke</code> queried
2869 protected boolean processKeyBinding(KeyStroke ks, KeyEvent e,
2901 // Get the KeyStroke
2904 KeyStroke ks;
2905 KeyStroke ksE = null;
2908 ks = KeyStroke.getKeyStroke(e.getKeyChar());
2911 ks = KeyStroke.getKeyStroke(e.getKeyCode(),e.getModifiers(),
2914 ksE = KeyStroke.getKeyStroke(e.getExtendedKeyCode(),e.getModifiers(),