| Modifier and Type | Method and Description |
|---|---|
static FormType |
byName(java.lang.String name)
Get a form type by its name.
|
java.lang.String |
getName() |
java.lang.Class<? extends Form> |
getType() |
static FormType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FormType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormType MODAL
public static final FormType ACTION
public static final FormType CUSTOM
public static FormType[] values()
for (FormType c : FormType.values()) System.out.println(c);
public static FormType 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@Nullable public static FormType byName(java.lang.String name)
name - The name of the form typepublic java.lang.Class<? extends Form> getType()
public java.lang.String getName()