java.awt.KeyboardFocusManager and
java.awt.DefaultKeyboardFocusManager instead.
Please see How to Use the Focus Subsystem, a section in The Java Tutorial, and the Focus Specification for more information.
| Modifier and Type | Field and Description |
|---|---|
| private static boolean | |
| public static final String | FOCUS_MANAGER_CLASS_PROPERTY
This field is obsolete, and its use is discouraged since its specification is incompatible with the 1.4 focus APIs. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | disableSwingFocusManager()
Deprecated
as of 1.4, replaced by
KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy)
Changes the current |
| public static FocusManager | Returns: this thread's context'sKeyboardFocusManagerReturns the current |
| public static boolean | Returns: true if focus manager is enabled.
Deprecated
As of 1.4, replaced by
KeyboardFocusManager.getDefaultFocusTraversalPolicy()
Returns whether the application has invoked
|
| public static void | setCurrentManager(FocusManager
the new aFocusManager)KeyboardFocusManager
for this thread's contextSets the current |
| enabled | back to summary |
|---|---|
| private static boolean enabled | |
| FOCUS_MANAGER_CLASS_PROPERTY | back to summary |
|---|---|
| public static final String FOCUS_MANAGER_CLASS_PROPERTY This field is obsolete, and its use is discouraged since its
specification is incompatible with the 1.4 focus APIs.
The current FocusManager is no longer a property of the UI.
Client code must query for the current FocusManager using
| |
| FocusManager | back to summary |
|---|---|
| protected FocusManager() Constructor for subclasses to call. | |
| disableSwingFocusManager | back to summary |
|---|---|
| public static void disableSwingFocusManager()
Deprecated as of 1.4, replaced by
Changes the current | |
| getCurrentManager | back to summary |
|---|---|
| public static FocusManager getCurrentManager() Returns the current
| |
| isFocusManagerEnabled | back to summary |
|---|---|
| public static boolean isFocusManagerEnabled()
Deprecated As of 1.4, replaced by
Returns whether the application has invoked
| |
| setCurrentManager | back to summary |
|---|---|
| public static void setCurrentManager(FocusManager aFocusManager) Sets the current
| |