Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
java.awt.FocusTraversalPolicy

Packages that use FocusTraversalPolicy
java.awt | Contains all of the classes for creating user interfaces and for painting graphics and images.
javax.swing | Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.

Uses of FocusTraversalPolicy in java.awt

Subclasses of FocusTraversalPolicy in java.awt
`class` | `ContainerOrderFocusTraversalPolicy` A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container.
`class` | `DefaultFocusTraversalPolicy` A FocusTraversalPolicy that determines traversal order based on the order of child Components in a Container.

Methods in java.awt that return FocusTraversalPolicy
`FocusTraversalPolicy` | `KeyboardFocusManager.getDefaultFocusTraversalPolicy()` Returns the default FocusTraversalPolicy.
`FocusTraversalPolicy` | `Container.getFocusTraversalPolicy()` Returns the focus traversal policy that will manage keyboard traversal of this Container's children, or null if this Container is not a focus cycle root.

Methods in java.awt with parameters of type FocusTraversalPolicy
`void` | `KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy defaultPolicy)` Sets the default FocusTraversalPolicy.
`void` | `Container.setFocusTraversalPolicy(FocusTraversalPolicy policy)` Sets the focus traversal policy that will manage keyboard traversal of this Container's children, if this Container is a focus cycle root.

Uses of FocusTraversalPolicy in javax.swing

Subclasses of FocusTraversalPolicy in javax.swing
`class` | `InternalFrameFocusTraversalPolicy` A FocusTraversalPolicy which can optionally provide an algorithm for determining a JInternalFrame's initial Component.
`class` | `LayoutFocusTraversalPolicy` A SortingFocusTraversalPolicy which sorts Components based on their size, position, and orientation.
`class` | `SortingFocusTraversalPolicy` A FocusTraversalPolicy that determines traversal order by sorting the Components of a focus traversal cycle based on a given Comparator.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Java™ Platform Standard Ed. 6
PREV NEXT | FRAMES NO FRAMES

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2011, Oracle and/or its affiliates. All rights reserved.