Additional top-level classes in compilation unit: LegacyLayoutFocusTraversalPolicy, CompareTabOrderComparator.
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 final LayoutComparator | |
| pack-priv final FocusTraversalPolicy | |
| private final FocusTraversalPolicy |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: a comparison of the components by their focus traversal cycle orderthe first component a, Component the second component b)Compares the components by their focus traversal cycle order. |
| public Component | Returns: the component aftera container aContainer, Component a component aComponent)Returns the component after. |
| public Component | Returns: the component beforea container aContainer, Component a component aComponent)Returns the component before. |
| public Component | Returns: the first componenta container aContainer)Returns the first component. |
| public Component | Returns: the last componenta container aContainer)Returns the last component. |
| comparator | back to summary |
|---|---|
| private final LayoutComparator comparator | |
| gluePolicy | back to summary |
|---|---|
| pack-priv final FocusTraversalPolicy gluePolicy | |
| layoutPolicy | back to summary |
|---|---|
| private final FocusTraversalPolicy layoutPolicy | |
| DefaultFocusManager | back to summary |
|---|---|
| public DefaultFocusManager() Constructs a | |
| compareTabOrder | back to summary |
|---|---|
| public boolean compareTabOrder(Component a, Component b) Compares the components by their focus traversal cycle order. | |
| getComponentAfter | back to summary |
|---|---|
| public Component getComponentAfter(Container aContainer, Component aComponent) Returns the component after. | |
| getComponentBefore | back to summary |
|---|---|
| public Component getComponentBefore(Container aContainer, Component aComponent) Returns the component before. | |
| getFirstComponent | back to summary |
|---|---|
| public Component getFirstComponent(Container aContainer) Returns the first component. | |
| getLastComponent | back to summary |
|---|---|
| public Component getLastComponent(Container aContainer) Returns the last component. | |