public enum ShowFocusPolicy extends Enum<ShowFocusPolicy>
FocusIndicatorManager
.FocusIndicatorManager
Enum Constant and Description |
---|
ALWAYS
Indicates that irrespectively of the keyboard focus, the focus should always be rendered for the
FocusedItem . |
WHEN_FOCUSED
Indicates that depending on the value of
Focused the
focus should only be rendered if this property is set to true . |
Modifier and Type | Method and Description |
---|---|
static ShowFocusPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static ShowFocusPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShowFocusPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShowFocusPolicy ALWAYS
FocusedItem
.public static final ShowFocusPolicy WHEN_FOCUSED
Focused
the
focus should only be rendered if this property is set to true
.public static final ShowFocusPolicy fromOrdinal(int ordinal)
public int value()
public static ShowFocusPolicy valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static ShowFocusPolicy[] values()
for (ShowFocusPolicy c : ShowFocusPolicy.values()) System.out.println(c);