public class FocusTraversalOnArray
extends java.awt.FocusTraversalPolicy
This class may be freely distributed as part of any application or plugin.
Constructor and Description |
---|
FocusTraversalOnArray(java.awt.Component[] components) |
Modifier and Type | Method and Description |
---|---|
java.awt.Component |
getComponentAfter(java.awt.Container container,
java.awt.Component component) |
java.awt.Component |
getComponentBefore(java.awt.Container container,
java.awt.Component component) |
java.awt.Component |
getDefaultComponent(java.awt.Container container) |
java.awt.Component |
getFirstComponent(java.awt.Container container) |
java.awt.Component |
getLastComponent(java.awt.Container container) |
public FocusTraversalOnArray(java.awt.Component[] components)
public java.awt.Component getComponentAfter(java.awt.Container container, java.awt.Component component)
getComponentAfter
in class java.awt.FocusTraversalPolicy
public java.awt.Component getComponentBefore(java.awt.Container container, java.awt.Component component)
getComponentBefore
in class java.awt.FocusTraversalPolicy
public java.awt.Component getFirstComponent(java.awt.Container container)
getFirstComponent
in class java.awt.FocusTraversalPolicy
public java.awt.Component getLastComponent(java.awt.Container container)
getLastComponent
in class java.awt.FocusTraversalPolicy
public java.awt.Component getDefaultComponent(java.awt.Container container)
getDefaultComponent
in class java.awt.FocusTraversalPolicy