public enum EscapeKeyEditAction extends java.lang.Enum<EscapeKeyEditAction> implements ValueEnum
Enum Constant and Description |
---|
CANCEL
cancels the current edit and discards edit values
|
DONE
end editing (will save edit values if
ListGrid.autoSaveEdits is true). |
EXIT
exit the editor (edit values will be left intact but not saved).
|
IGNORE
do nothing special when the Escape key is pressed (ie, just ignore it)
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static EscapeKeyEditAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EscapeKeyEditAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EscapeKeyEditAction CANCEL
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "cancel".
public static final EscapeKeyEditAction DONE
ListGrid.autoSaveEdits
is true).
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "done".
public static final EscapeKeyEditAction EXIT
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "exit".
public static final EscapeKeyEditAction IGNORE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "ignore".
public static EscapeKeyEditAction[] values()
for (EscapeKeyEditAction c : EscapeKeyEditAction.values()) System.out.println(c);
public static EscapeKeyEditAction 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 null