Enum DefaultActions
- java.lang.Object
-
- java.lang.Enum<DefaultActions>
-
- net.n2oapp.framework.config.metadata.compile.action.DefaultActions
-
- All Implemented Interfaces:
Serializable,Comparable<DefaultActions>
public enum DefaultActions extends Enum<DefaultActions>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFormSubmitLabel()StringgetHotKey()StringgetIcon()StringgetLabel()StringgetPageName()UploadTypegetUpload()booleanisContext()booleanisDefaultAction()booleanisModal()booleanisPrimary()static DefaultActionsvalueOf(String name)Returns the enum constant of this type with the specified name.static DefaultActions[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
create
public static final DefaultActions create
-
update
public static final DefaultActions update
-
delete
public static final DefaultActions delete
-
-
Method Detail
-
values
public static DefaultActions[] 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 (DefaultActions c : DefaultActions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultActions 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
-
getIcon
public String getIcon()
-
isContext
public boolean isContext()
-
isDefaultAction
public boolean isDefaultAction()
-
getLabel
public String getLabel()
-
isModal
public boolean isModal()
-
getHotKey
public String getHotKey()
-
getFormSubmitLabel
public String getFormSubmitLabel()
-
getPageName
public String getPageName()
-
isPrimary
public boolean isPrimary()
-
getUpload
public UploadType getUpload()
-
-