public static enum Form.State extends Enum<Form.State>
| Enum Constant and Description |
|---|
EDITING
The model is shown in edit mode
|
EMPTY
No model is bound to the form
|
READONLY
The model is shown in read-only mode
|
| Modifier and Type | Method and Description |
|---|---|
static Form.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Form.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Form.State EMPTY
public static final Form.State READONLY
public static final Form.State EDITING
public static Form.State[] values()
for (Form.State c : Form.State.values()) System.out.println(c);
public static Form.State 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 © 2018 JBoss, a division of Red Hat. All rights reserved.