APIdia Launch Partner
Top Constructors Methods
javax.swing

pack-priv Class SwingDefaultFocusTraversalPolicy

Located in compilation unit of javax.swing.LayoutFocusTraversalPolicy.

extends DefaultFocusTraversalPolicy
Class Inheritance
Annotations
@SuppressWarnings:serial

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
accept(Component aComponent)

Overrides java.awt.DefaultFocusTraversalPolicy.accept.

Determines whether a Component is an acceptable choice as the new focus owner.

Constructor Detail

SwingDefaultFocusTraversalPolicyback to summary
pack-priv SwingDefaultFocusTraversalPolicy()

Method Detail

acceptback to summary
public boolean accept(Component aComponent)

Overrides java.awt.DefaultFocusTraversalPolicy.accept.

Doc from java.awt.DefaultFocusTraversalPolicy.accept.

Determines whether a Component is an acceptable choice as the new focus owner. The Component must be visible, displayable, and enabled to be accepted. If client code has explicitly set the focusability of the Component by either overriding Component.isFocusTraversable() or Component.isFocusable(), or by calling Component.setFocusable(), then the Component will be accepted if and only if it is focusable. If, however, the Component is relying on default focusability, then all Canvases, Labels, Panels, Scrollbars, ScrollPanes, Windows, and lightweight Components will be rejected.