public enum UpdateOn extends Enum<UpdateOn>
Enum Constant and Description |
---|
FOCUS_LOST
Update when field loses focus.
|
KEYSTROKE
Update on each keystroke.
|
Modifier and Type | Method and Description |
---|---|
static UpdateOn |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UpdateOn[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UpdateOn FOCUS_LOST
public static final UpdateOn KEYSTROKE
public static UpdateOn[] values()
for (UpdateOn c : UpdateOn.values()) System.out.println(c);
public static UpdateOn 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 null