public class CombinedStackDockFocusTraversalPolicy extends Object implements SimplifiedFocusTraversalPolicy
CombinedStackDockComponent, this
policy switches between current Dockable, its Tab and
the optional info component.| Constructor and Description |
|---|
CombinedStackDockFocusTraversalPolicy(CombinedStackDockContentPane pane)
Creates a new traversal policy.
|
| 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. |
public CombinedStackDockFocusTraversalPolicy(CombinedStackDockContentPane pane)
pane - the owner of this policy, not nullpublic Component getAfter(Container container, Component component)
SimplifiedFocusTraversalPolicyComponent which should be focused next.getAfter in interface SimplifiedFocusTraversalPolicycontainer - the root or provider of this policycomponent - the currently focused componentnullpublic Component getBefore(Container container, Component component)
SimplifiedFocusTraversalPolicyComponent which should be focused when stepping through
the circle backwards.getBefore in interface SimplifiedFocusTraversalPolicycontainer - the root or provider of this policycomponent - the currently focused componentnullpublic Component getDefault(Container container)
SimplifiedFocusTraversalPolicyComponent which should be focused per default.getDefault in interface SimplifiedFocusTraversalPolicycontainer - the root or provider of this policynullpublic Component getFirst(Container container)
SimplifiedFocusTraversalPolicyComponent which should be focused when entering the circle.getFirst in interface SimplifiedFocusTraversalPolicycontainer - the root or provider of this policynullpublic Component getLast(Container container)
SimplifiedFocusTraversalPolicyComponent which should be focused when entering the
circle backwards.getLast in interface SimplifiedFocusTraversalPolicycontainer - the root or provider of this policynullCopyright © 2017 Docking Frames. All rights reserved.