|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object bibliothek.gui.dock.displayer.DisplayerFocusTraversalPolicy
public class DisplayerFocusTraversalPolicy
A traversal policy for DockableDisplayer
s. This policy changes between
the DockTitle
and the Dockable
that is on the displayer.
Constructor Summary | |
---|---|
DisplayerFocusTraversalPolicy(DockableDisplayer displayer)
Creates a new policy. |
Method Summary | |
---|---|
java.awt.Component |
getAfter(java.awt.Container container,
java.awt.Component component)
Gets the Component which should be focused next. |
java.awt.Component |
getBefore(java.awt.Container container,
java.awt.Component component)
Gets the Component which should be focused when stepping through
the circle backwards. |
java.awt.Component |
getDefault(java.awt.Container container)
Gets the Component which should be focused per default. |
java.awt.Component |
getFirst(java.awt.Container container)
Gets the Component which should be focused when entering the circle. |
java.awt.Component |
getLast(java.awt.Container container)
Gets the Component which should be focused when entering the
circle backwards. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DisplayerFocusTraversalPolicy(DockableDisplayer displayer)
displayer
- the owner of this policyMethod Detail |
---|
public java.awt.Component getAfter(java.awt.Container container, java.awt.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 java.awt.Component getBefore(java.awt.Container container, java.awt.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 java.awt.Component getDefault(java.awt.Container container)
SimplifiedFocusTraversalPolicy
Component
which should be focused per default.
getDefault
in interface SimplifiedFocusTraversalPolicy
container
- the root or provider of this policy
null
public java.awt.Component getFirst(java.awt.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 java.awt.Component getLast(java.awt.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 |