public enum CalendarSaveScenario extends java.lang.Enum<CalendarSaveScenario> implements ValueEnum
Enum Constant and Description |
---|
DIALOG
the user saved via the
Dialog.eventDialog |
EDITOR
the user saved via the Editor.eventEditor
|
MOUSE
the user moved or resized an
event with the mouse |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static CalendarSaveScenario |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CalendarSaveScenario[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarSaveScenario DIALOG
Dialog.eventDialog
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "dialog".
public static final CalendarSaveScenario EDITOR
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "editor".
public static final CalendarSaveScenario MOUSE
event
with the mouse
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "mouse".
public static CalendarSaveScenario[] values()
for (CalendarSaveScenario c : CalendarSaveScenario.values()) System.out.println(c);
public static CalendarSaveScenario 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