Share via


Component.isFocusTraversable

Class Overview | Class Members | This Package | All Packages

Syntax

public boolean isFocusTraversable()

Returns

true if this component is focus-traverable; false otherwise.

Description

Returns the value of a flag that indicates whether this component can be traversed using Tab or Shift-Tab keyboard focus traversal. If this method returns "false", this component may still request the keyboard focus using requestFocus(), but it will not automatically be assigned focus during tab traversal.