Uses of Class javax.swing.KeyStroke

Uses in package javax.swing.plaf.basic

Fields of type javax.swing.KeyStroke

KeyStroke
The KeyStroke associated with closing JInternalFrames.
KeyStroke
KeyStroke
KeyStroke
This is the keystroke for moving down.
KeyStroke
KeyStroke
KeyStroke
KeyStroke
KeyStroke
This is the keystroke for moving left.
KeyStroke
KeyStroke
The KeyStroke associated with maximizing JInternalFrames.
KeyStroke
The KeyStroke associated with minimizing JInternalFrames.
KeyStroke
The KeyStroke associated with navigating (forward?)
KeyStroke
The KeyStroke associated with navigating (backward?)
KeyStroke
The Keystroke bound to open the menu.
KeyStroke
KeyStroke
This is the keystroke for moving right.
KeyStroke
KeyStroke
KeyStroke
This is the keystroke for moving up.
KeyStroke

Uses in package javax.swing.text

Constructors with parameter type javax.swing.KeyStroke

Creates a new KeyBinding instance.

Fields of type javax.swing.KeyStroke

KeyStroke

Methods with parameter type javax.swing.KeyStroke

void
Action
boolean
void

Methods with return type javax.swing.KeyStroke

KeyStroke[]
KeyStroke[]

Uses in package javax.swing

Methods with parameter type javax.swing.KeyStroke

Object
InputMap.get(KeyStroke keystroke)
Returns the binding for the specified keystroke, if there is one.
ActionListener
Get the ActionListener (typically an Action object) which is associated with a particular keystroke.
int
Return the condition that determines whether a registered action occurs in response to the specified keystroke.
boolean
SwingUtilities.notifyAction(Action action, KeyStroke ks, KeyEvent event, Object sender, int modifiers)
boolean
JComponent.processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)
boolean
JMenuBar.processKeyBinding(KeyStroke ks, KeyEvent e, int condition, boolean pressed)
This method overrides JComponent.processKeyBinding to allow the JMenuBar to check all the child components (recursiveley) to see if they'll consume the event.
void
Puts a new entry into the InputMap.
void
InputMap.put(KeyStroke keystroke, Object actionMapKey)
Puts a new entry into the InputMap.
void
An obsolete method to register a keyboard action on this component.
void
A variant of registerKeyboardAction(ActionListener,String,KeyStroke,int) which provides null for the command name.
void
Remove an entry from the InputMap.
void
Removes an entry from this InputMap.
void
This method is overriden with empty implementation, s.t the accelerator couldn't be set for the menu.
void
Sets the key combination which invokes the menu item's action listeners without navigating the menu hierarchy.
void
Remove a keyboard action registry.

Methods with return type javax.swing.KeyStroke

KeyStroke[]
Returns all keys of entries in this InputMap and all its parents.
KeyStroke
Return accelerator for this menu item.
KeyStroke
KeyStroke.getKeyStroke(char keyChar)
KeyStroke
KeyStroke.getKeyStroke(char keyChar, boolean onKeyRelease)
KeyStroke
KeyStroke.getKeyStroke(int keyCode, int modifiers)
KeyStroke
KeyStroke.getKeyStroke(int keyCode, int modifiers, boolean onKeyRelease)
KeyStroke
KeyStroke.getKeyStroke(Character keyChar, int modifiers)
KeyStroke
Returns the KeyStroke according to getAWTKeyStroke().
KeyStroke
KeyStroke[]
Return the set of KeyStroke objects which are registered to initiate actions on this component.
KeyStroke[]
Returns all keys of entries in this InputMap.