public enum FocusTraversalType extends Enum<FocusTraversalType>
ListViewBuilder
and FormBuilder
.Enum Constant and Description |
---|
CONTAINER_ORDER
A focus traversal type that shall be turned into a focus traversal
policy that is based on the container order, for example
ContainerOrderFocusTraversalPolicy or
JGContainerOrderFocusTraversalPolicy . |
LAYOUT
A focus traversal type that shall be turned into a focus traversal
policy that is based on the layout, for example
LayoutFocusTraversalPolicy or
JGLayoutFocusTraversalPolicy . |
Modifier and Type | Method and Description |
---|---|
static FocusTraversalType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FocusTraversalType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FocusTraversalType LAYOUT
LayoutFocusTraversalPolicy
or
JGLayoutFocusTraversalPolicy
.public static final FocusTraversalType CONTAINER_ORDER
ContainerOrderFocusTraversalPolicy
or
JGContainerOrderFocusTraversalPolicy
.public static FocusTraversalType[] values()
for (FocusTraversalType c : FocusTraversalType.values()) System.out.println(c);
public static FocusTraversalType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002-2015 JGoodies Software GmbH. All Rights Reserved.