| public abstract class javax.swing FocusManager
|
Java SE 6 |
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.
| version | 1.29, 11/17/05 |
| See also | (UNLABELED) |
| Fields | |||
|---|---|---|---|
| final public static 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 KeyboardFocusManager.getCurrentKeyboardFocusManager().
See the Focus Specification for more information.
| ||
| Constructors | |
|---|---|
| public | FocusManager() |
| Methods | |||||
|---|---|---|---|---|---|
| public static void | disableSwingFocusManager() Changes the current KeyboardFocusManager's default
FocusTraversalPolicy to
DefaultFocusTraversalPolicy.
| ||||
| Properties | |||||||
|---|---|---|---|---|---|---|---|
| public static void | setCurrentManager(FocusManager aFocusManager) throws SecurityException Sets the current KeyboardFocusManager instance
for the calling thread's context. If null is
specified, then the current KeyboardFocusManager
is replaced with a new instance of
DefaultKeyboardFocusManager.
If a
| ||||||
| public static FocusManager | getCurrentManager() Returns the current KeyboardFocusManager instance
for the calling thread's context.
| ||||||
| public static boolean | isFocusManagerEnabled() Returns whether the application has invoked disableSwingFocusManager().
| ||||||
| About DocWeb · Bundles · Export · Export All | Top 10 · Statistics · Login |
| About Sun · Contact · Privacy · Terms of Use · Trademarks | Java SE 6 · Copyright © 1994-2009 Sun Microsystems, Inc.All rights reserved. Use is subject to license terms |
![]() |
![]() |
|