Package de.xima.fc.form.common.models
Enum ESubmitButtonAction
- java.lang.Object
-
- java.lang.Enum<ESubmitButtonAction>
-
- de.xima.fc.form.common.models.ESubmitButtonAction
-
- All Implemented Interfaces:
Serializable
,Comparable<ESubmitButtonAction>
public enum ESubmitButtonAction extends Enum<ESubmitButtonAction>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description GOTO_PAGE
NONE
SUBMIT
SUBMIT_NO_CHECK
SUBMIT_PREVIEW
SUBMIT_PREVIEW_WINDOWED
SUBMIT_SAVE
SUBMIT_SAVE_NO_CHECK
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isShouldValidate()
boolean
isSubmitsForm()
static ESubmitButtonAction
ofPage(String page)
static ESubmitButtonAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static ESubmitButtonAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GOTO_PAGE
public static final ESubmitButtonAction GOTO_PAGE
-
NONE
public static final ESubmitButtonAction NONE
-
SUBMIT
public static final ESubmitButtonAction SUBMIT
-
SUBMIT_NO_CHECK
public static final ESubmitButtonAction SUBMIT_NO_CHECK
-
SUBMIT_PREVIEW
public static final ESubmitButtonAction SUBMIT_PREVIEW
-
SUBMIT_PREVIEW_WINDOWED
public static final ESubmitButtonAction SUBMIT_PREVIEW_WINDOWED
-
SUBMIT_SAVE
public static final ESubmitButtonAction SUBMIT_SAVE
-
SUBMIT_SAVE_NO_CHECK
public static final ESubmitButtonAction SUBMIT_SAVE_NO_CHECK
-
-
Method Detail
-
values
public static ESubmitButtonAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ESubmitButtonAction c : ESubmitButtonAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ESubmitButtonAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
ofPage
public static ESubmitButtonAction ofPage(String page)
-
isSubmitsForm
public boolean isSubmitsForm()
-
isShouldValidate
public boolean isShouldValidate()
-
-