public static enum ActionHelper.KeyBindFocus extends java.lang.Enum<ActionHelper.KeyBindFocus>
Enum Constant and Description |
---|
Child
The component or any of its child components must have the focus
|
Self
The component itself must have the focus
|
Window
The component's top-level window must have the focus
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static ActionHelper.KeyBindFocus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionHelper.KeyBindFocus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionHelper.KeyBindFocus Child
public static final ActionHelper.KeyBindFocus Self
public static final ActionHelper.KeyBindFocus Window
public static ActionHelper.KeyBindFocus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ActionHelper.KeyBindFocus[] values()
for (ActionHelper.KeyBindFocus c : ActionHelper.KeyBindFocus.values()) System.out.println(c);