@NotStorableClass public enum EnumFilePersistenceCloseAction extends Enum<EnumFilePersistenceCloseAction>
Enum Constant and Description |
---|
CLEAR
do not save modification, cancel save asked by other session close, clear
all persisted data
|
DO_NOT_SAVE
do not save modification, cancel save asked by other session close
|
SAVE
save modification, can be cancel by do not save asked by other session
|
Modifier and Type | Method and Description |
---|---|
static EnumFilePersistenceCloseAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnumFilePersistenceCloseAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnumFilePersistenceCloseAction SAVE
public static final EnumFilePersistenceCloseAction DO_NOT_SAVE
public static final EnumFilePersistenceCloseAction CLEAR
public static EnumFilePersistenceCloseAction[] values()
for (EnumFilePersistenceCloseAction c : EnumFilePersistenceCloseAction.values()) System.out.println(c);
public static EnumFilePersistenceCloseAction 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 nullCopyright © 2007-2012 Luc Peuvrier. All Rights Reserved.