|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpivot.wtk.skin.WindowSkin.WindowFocusTraversalPolicy
public static class WindowSkin.WindowFocusTraversalPolicy
Focus traversal policy that always returns the window's content. This ensures that focus does not traverse out of the window.
Constructor Summary | |
---|---|
WindowSkin.WindowFocusTraversalPolicy()
|
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 WindowSkin.WindowFocusTraversalPolicy()
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 |