public class ListFocusTraversalPolicy
extends javax.swing.LayoutFocusTraversalPolicy
Constructor and Description |
---|
ListFocusTraversalPolicy(java.util.List<? extends java.awt.Component> components) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
accept(java.awt.Component aComponent) |
java.awt.Component |
getComponentAfter(java.awt.Container aContainer,
java.awt.Component aComponent) |
java.awt.Component |
getComponentBefore(java.awt.Container aContainer,
java.awt.Component aComponent) |
java.awt.Component |
getFirstComponent(java.awt.Container aContainer) |
java.awt.Component |
getLastComponent(java.awt.Container aContainer) |
public ListFocusTraversalPolicy(java.util.List<? extends java.awt.Component> components)
protected boolean accept(java.awt.Component aComponent)
accept
in class javax.swing.LayoutFocusTraversalPolicy
public java.awt.Component getFirstComponent(java.awt.Container aContainer)
getFirstComponent
in class javax.swing.LayoutFocusTraversalPolicy
public java.awt.Component getLastComponent(java.awt.Container aContainer)
getLastComponent
in class javax.swing.LayoutFocusTraversalPolicy
public java.awt.Component getComponentAfter(java.awt.Container aContainer, java.awt.Component aComponent)
getComponentAfter
in class javax.swing.LayoutFocusTraversalPolicy
public java.awt.Component getComponentBefore(java.awt.Container aContainer, java.awt.Component aComponent)
getComponentBefore
in class javax.swing.LayoutFocusTraversalPolicy