javax.swing
Class SwingContainerOrderFocusTraversalPolicy

java.lang.Object
  extended byjava.awt.FocusTraversalPolicy
      extended byjava.awt.ContainerOrderFocusTraversalPolicy
          extended byjavax.swing.SwingContainerOrderFocusTraversalPolicy
All Implemented Interfaces:
Serializable

class SwingContainerOrderFocusTraversalPolicy
extends ContainerOrderFocusTraversalPolicy


Nested Class Summary
 
Nested classes inherited from class java.awt.ContainerOrderFocusTraversalPolicy
 
Field Summary
 
Fields inherited from class java.awt.ContainerOrderFocusTraversalPolicy
 
Constructor Summary
(package private) SwingContainerOrderFocusTraversalPolicy()
           
 
Method Summary
 boolean accept(Component aComponent)
          Determines whether a Component is an acceptable choice as the new focus owner.
 
Methods inherited from class java.awt.ContainerOrderFocusTraversalPolicy
getComponentAfter, getComponentBefore, getDefaultComponent, getFirstComponent, getImplicitDownCycleTraversal, getLastComponent, setImplicitDownCycleTraversal
 
Methods inherited from class java.awt.FocusTraversalPolicy
getInitialComponent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SwingContainerOrderFocusTraversalPolicy

SwingContainerOrderFocusTraversalPolicy()
Method Detail

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