Example usage for Java java.awt KeyboardFocusManager fields, constructors, methods, implement or subclass
The text is from its open source code.
int | FORWARD_TRAVERSAL_KEYS The identifier for the Forward focus traversal keys. |
int | BACKWARD_TRAVERSAL_KEYS The identifier for the Backward focus traversal keys. |
int | UP_CYCLE_TRAVERSAL_KEYS The identifier for the Up Cycle focus traversal keys. |
void | addKeyEventDispatcher(KeyEventDispatcher dispatcher) Adds a KeyEventDispatcher to this KeyboardFocusManager's dispatcher chain. |
void | addKeyEventPostProcessor(KeyEventPostProcessor processor) Adds a KeyEventPostProcessor to this KeyboardFocusManager's post- processor chain. |
void | addPropertyChangeListener(PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list. |
void | addPropertyChangeListener(String propertyName, PropertyChangeListener listener) Adds a PropertyChangeListener to the listener list for a specific property. |
void | clearGlobalFocusOwner() Clears the global focus owner at both the Java and native levels. |
void | downFocusCycle() Moves the focus down one focus traversal cycle from the current focus owner, if and only if the current focus owner is a Container that is a focus cycle root. |
void | focusNextComponent() Focuses the Component after the current focus owner. |
Window | getActiveWindow() Returns the active Window, if the active Window is in the same context as the calling thread. |
KeyboardFocusManager | getCurrentKeyboardFocusManager() Returns the current KeyboardFocusManager instance for the calling thread's context. |
Set | getDefaultFocusTraversalKeys(int id) Returns a Set of default focus traversal keys for a given traversal operation. |
Window | getFocusedWindow() Returns the focused Window, if the focused Window is in the same context as the calling thread. |
Component | getFocusOwner() Returns the focus owner, if the focus owner is in the same context as the calling thread. |
void | setCurrentKeyboardFocusManager(KeyboardFocusManager newManager) Sets the current KeyboardFocusManager instance for the calling thread's context. |
void | setDefaultFocusTraversalKeys(int id, Set extends AWTKeyStroke> keystrokes) Sets the default focus traversal keys for a given traversal operation. |