|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.awt.FocusTraversalPolicy
public abstract class FocusTraversalPolicy
| Constructor Summary | |
|---|---|
FocusTraversalPolicy()
Creates a FocusTraversalPolicy object. |
|
| Method Summary | |
|---|---|
abstract Component |
getComponentAfter(Container root,
Component current)
Returns the Component that should receive the focus after a Component. |
abstract Component |
getComponentBefore(Container root,
Component current)
Returns the Component that should receive the focus before a Component. |
abstract Component |
getDefaultComponent(Container root)
Returns the default Component to focus. |
abstract Component |
getFirstComponent(Container root)
Returns the first Component in the traversal cycle. |
Component |
getInitialComponent(Window window)
Returns the Component that should receive the focus when a Window is made visible for the first time. |
abstract Component |
getLastComponent(Container root)
Returns the last Component in the traversal cycle. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FocusTraversalPolicy()
FocusTraversalPolicy object.
| Method Detail |
|---|
public abstract Component getComponentAfter(Container root,
Component current)
IllegalArgumentException - If root or current is null,
or if root is not a focus cycle root of current.
public abstract Component getComponentBefore(Container root,
Component current)
IllegalArgumentException - If root or current is null,
or if root is not a focus cycle root of current.public abstract Component getFirstComponent(Container root)
IllegalArgumentException - If root is null.public abstract Component getLastComponent(Container root)
IllegalArgumentException - If root is null.public abstract Component getDefaultComponent(Container root)
IllegalArgumentException - If root is null.public Component getInitialComponent(Window window)
IllegalArgumentException - If window is null.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||