javax.swing
Class SwingContainerOrderFocusTraversalPolicy
java.lang.Object
|
+--java.awt.FocusTraversalPolicy
|
+--java.awt.ContainerOrderFocusTraversalPolicy
|
+--javax.swing.SwingContainerOrderFocusTraversalPolicy
- All Implemented Interfaces:
- Serializable
- class SwingContainerOrderFocusTraversalPolicy
- extends ContainerOrderFocusTraversalPolicy
Method Summary |
boolean |
accept(Component aComponent)
Determines whether a Component is an acceptable choice as the new
focus owner. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SwingContainerOrderFocusTraversalPolicy
SwingContainerOrderFocusTraversalPolicy()
accept
public boolean accept(Component aComponent)
- Description copied from class:
ContainerOrderFocusTraversalPolicy
- Determines whether a Component is an acceptable choice as the new
focus owner. By default, this method will accept a Component if and
only if it is visible, displayable, enabled, and focusable.
- Overrides:
accept
in class ContainerOrderFocusTraversalPolicy
- Parameters:
aComponent
- the Component whose fitness as a focus owner is to
be tested
- Returns:
true
if aComponent is visible, displayable,
enabled, and focusable; false
otherwise
comments?