public class IdeFocusTraversalPolicy
extends javax.swing.LayoutFocusTraversalPolicy
Constructor and Description |
---|
IdeFocusTraversalPolicy() |
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 |
getDefaultComponent(java.awt.Container focusCycleRoot) |
static javax.swing.JComponent |
getPreferredFocusedComponent(javax.swing.JComponent component) |
static javax.swing.JComponent |
getPreferredFocusedComponent(javax.swing.JComponent component,
java.awt.FocusTraversalPolicy policyToIgnore) |
protected Project |
getProject() |
getFirstComponent, getLastComponent
public java.awt.Component getDefaultComponent(java.awt.Container focusCycleRoot)
getDefaultComponent
in class javax.swing.SortingFocusTraversalPolicy
public static javax.swing.JComponent getPreferredFocusedComponent(javax.swing.JComponent component)
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
protected Project getProject()
public static javax.swing.JComponent getPreferredFocusedComponent(javax.swing.JComponent component, java.awt.FocusTraversalPolicy policyToIgnore)
component
.
Method can return component itself if the component
is legal
(JTextField)focusableprotected final boolean accept(java.awt.Component aComponent)
accept
in class javax.swing.LayoutFocusTraversalPolicy