|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.wtk.skin.ContainerSkin.IndexFocusTraversalPolicy
public static class ContainerSkin.IndexFocusTraversalPolicy
Focus traversal policy that determines traversal order based on the order of components in the container's component sequence.
Constructor Summary | |
---|---|
ContainerSkin.IndexFocusTraversalPolicy()
|
|
ContainerSkin.IndexFocusTraversalPolicy(boolean wrap)
|
Method Summary | |
---|---|
Component |
getNextComponent(Container container,
Component component,
Direction direction)
Returns the next focus destination according to this traversal policy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ContainerSkin.IndexFocusTraversalPolicy()
public ContainerSkin.IndexFocusTraversalPolicy(boolean wrap)
Method Detail |
---|
public Component getNextComponent(Container container, Component component, Direction direction)
FocusTraversalPolicy
getNextComponent
in interface FocusTraversalPolicy
container
- The container to which the traversal policy applies.component
- The component from which focus is being transferred. If null,
implementations should return the first component for a forward
traversal and the last component for a backward traversal.direction
- The direction in which to transfer focus.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |