public static class WindowSkin.WindowFocusTraversalPolicy extends Object implements FocusTraversalPolicy
| Constructor and Description |
|---|
WindowSkin.WindowFocusTraversalPolicy() |
| Modifier and Type | Method and Description |
|---|---|
Component |
getNextComponent(Container container,
Component component,
FocusTraversalDirection direction)
Returns the next focus destination according to this traversal policy.
|
public WindowSkin.WindowFocusTraversalPolicy()
public Component getNextComponent(Container container, Component component, FocusTraversalDirection direction)
FocusTraversalPolicygetNextComponent in interface FocusTraversalPolicycontainer - The container to which the traversal policy applies.component - The component from which focus is being transferred. If null,
implementations should return the first component for a forward
traversal and the last component for a backward traversal.direction - The direction in which to transfer focus.