|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbibliothek.extension.gui.dock.theme.eclipse.EclipseFocusTraversalPolicy
public class EclipseFocusTraversalPolicy
A policy observing an EclipseStackDockComponent
, ensures that
either a Dockable
, a tab or its actions are selected.
Constructor Summary | |
---|---|
EclipseFocusTraversalPolicy(EclipseStackDockComponent stack)
Creates a new traversal policy. |
Method Summary | |
---|---|
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. |
protected Component[] |
list()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EclipseFocusTraversalPolicy(EclipseStackDockComponent stack)
stack
- the component for which this policy will be used.Method Detail |
---|
protected Component[] list()
public Component getAfter(Container container, Component component)
SimplifiedFocusTraversalPolicy
Component
which should be focused next.
getAfter
in interface SimplifiedFocusTraversalPolicy
container
- the root or provider of this policycomponent
- the currently focused component
null
public Component getBefore(Container container, Component component)
SimplifiedFocusTraversalPolicy
Component
which should be focused when stepping through
the circle backwards.
getBefore
in interface SimplifiedFocusTraversalPolicy
container
- the root or provider of this policycomponent
- the currently focused component
null
public Component getDefault(Container container)
SimplifiedFocusTraversalPolicy
Component
which should be focused per default.
getDefault
in interface SimplifiedFocusTraversalPolicy
container
- the root or provider of this policy
null
public Component getFirst(Container container)
SimplifiedFocusTraversalPolicy
Component
which should be focused when entering the circle.
getFirst
in interface SimplifiedFocusTraversalPolicy
container
- the root or provider of this policy
null
public Component getLast(Container container)
SimplifiedFocusTraversalPolicy
Component
which should be focused when entering the
circle backwards.
getLast
in interface SimplifiedFocusTraversalPolicy
container
- the root or provider of this policy
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |