Enum Class FocusTraversalType
- All Implemented Interfaces:
Serializable, Comparable<FocusTraversalType>, Constable
An abstraction for frequently used focus traversal policy types.
Used by the
ListViewBuilder and FormBuilder.- Since:
- 1.9
- Version:
- $Revision: 1.2 $
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA focus traversal type that shall be turned into a focus traversal policy that is based on the container order, for exampleContainerOrderFocusTraversalPolicyorJGContainerOrderFocusTraversalPolicy.A focus traversal type that shall be turned into a focus traversal policy that is based on the layout, for exampleLayoutFocusTraversalPolicyorJGLayoutFocusTraversalPolicy. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic FocusTraversalTypeReturns the enum constant of this class with the specified name.static FocusTraversalType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LAYOUT
A focus traversal type that shall be turned into a focus traversal policy that is based on the layout, for exampleLayoutFocusTraversalPolicyorJGLayoutFocusTraversalPolicy. -
CONTAINER_ORDER
A focus traversal type that shall be turned into a focus traversal policy that is based on the container order, for exampleContainerOrderFocusTraversalPolicyorJGContainerOrderFocusTraversalPolicy.
-
-
Constructor Details
-
FocusTraversalType
private FocusTraversalType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-