| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
KeyboardFocusManager.setDefaultFocusTraversalPolicy(FocusTraversalPolicy
Sets the default FocusTraversalPolicy.
|
void |
Container.setFocusTraversalPolicy(FocusTraversalPolicy
Sets the focus traversal policy that will manage keyboard traversal of this Container's children, if this Container is a focus cycle root.
|
| Modifier and Type | Class and Description |
|---|---|
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.
|