Java java.awt KeyboardFocusManager fields, constructors, methods, implement or subclass

Example usage for Java java.awt KeyboardFocusManager fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.awt KeyboardFocusManager.

The text is from its open source code.

Field

intFORWARD_TRAVERSAL_KEYS
The identifier for the Forward focus traversal keys.
intBACKWARD_TRAVERSAL_KEYS
The identifier for the Backward focus traversal keys.
intUP_CYCLE_TRAVERSAL_KEYS
The identifier for the Up Cycle focus traversal keys.

Method

voidaddKeyEventDispatcher(KeyEventDispatcher dispatcher)
Adds a KeyEventDispatcher to this KeyboardFocusManager's dispatcher chain.
voidaddKeyEventPostProcessor(KeyEventPostProcessor processor)
Adds a KeyEventPostProcessor to this KeyboardFocusManager's post- processor chain.
voidaddPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list.
voidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener)
Adds a PropertyChangeListener to the listener list for a specific property.
voidclearGlobalFocusOwner()
Clears the global focus owner at both the Java and native levels.
voiddownFocusCycle()
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.
voidfocusNextComponent()
Focuses the Component after the current focus owner.
WindowgetActiveWindow()
Returns the active Window, if the active Window is in the same context as the calling thread.
KeyboardFocusManagergetCurrentKeyboardFocusManager()
Returns the current KeyboardFocusManager instance for the calling thread's context.
SetgetDefaultFocusTraversalKeys(int id)
Returns a Set of default focus traversal keys for a given traversal operation.
WindowgetFocusedWindow()
Returns the focused Window, if the focused Window is in the same context as the calling thread.
ComponentgetFocusOwner()
Returns the focus owner, if the focus owner is in the same context as the calling thread.
voidsetCurrentKeyboardFocusManager(KeyboardFocusManager newManager)
Sets the current KeyboardFocusManager instance for the calling thread's context.
voidsetDefaultFocusTraversalKeys(int id, Set keystrokes)
Sets the default focus traversal keys for a given traversal operation.