public interface SimplifiedFocusTraversalPolicy
FocusTraversalPolicy
but implementing classes are not required to respect any other
focus cycle roots,
policy providers or
visibility, focusability, displayability nor the enabled state. This
SimplifiedFocusTraversalPolicy will be put into a DockFocusTraversalPolicy
which will handle all these issues.| Modifier and Type | Method and Description |
|---|---|
Component |
getAfter(Container container,
Component component)
Gets the
Component which should be focused next. |
Component |
getBefore(Container container,
Component component)
Gets the
Component which should be focused when stepping through
the circle backwards. |
Component |
getDefault(Container container)
Gets the
Component which should be focused per default. |
Component |
getFirst(Container container)
Gets the
Component which should be focused when entering the circle. |
Component |
getLast(Container container)
Gets the
Component which should be focused when entering the
circle backwards. |
Component getAfter(Container container, Component component)
Component which should be focused next.container - the root or provider of this policycomponent - the currently focused componentnullComponent getBefore(Container container, Component component)
Component which should be focused when stepping through
the circle backwards.container - the root or provider of this policycomponent - the currently focused componentnullComponent getFirst(Container container)
Component which should be focused when entering the circle.container - the root or provider of this policynullComponent getLast(Container container)
Component which should be focused when entering the
circle backwards.container - the root or provider of this policynullCopyright © 2017 Docking Frames. All rights reserved.