|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SimplifiedFocusTraversalPolicy
An interface which mimics the behavior of 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.
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. |
Method Detail |
---|
java.awt.Component getAfter(java.awt.Container container, java.awt.Component component)
Component
which should be focused next.
container
- the root or provider of this policycomponent
- the currently focused component
null
java.awt.Component getBefore(java.awt.Container container, java.awt.Component component)
Component
which should be focused when stepping through
the circle backwards.
container
- the root or provider of this policycomponent
- the currently focused component
null
java.awt.Component getFirst(java.awt.Container container)
Component
which should be focused when entering the circle.
container
- the root or provider of this policy
null
java.awt.Component getLast(java.awt.Container container)
Component
which should be focused when entering the
circle backwards.
container
- the root or provider of this policy
null
java.awt.Component getDefault(java.awt.Container container)
Component
which should be focused per default.
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 |