private static enum EditSitePane.EditState extends Enum<EditSitePane.EditState>
| Enum Constant and Description |
|---|
DISPLAY
The state is viewing a site
|
EDIT_ERROR
The state is editing a site (syntactically invalid)
|
EDIT_OK
The state is editing a site (syntactically valid)
|
| Modifier and Type | Method and Description |
|---|---|
static EditSitePane.EditState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EditSitePane.EditState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EditSitePane.EditState DISPLAY
public static final EditSitePane.EditState EDIT_OK
public static final EditSitePane.EditState EDIT_ERROR
public static EditSitePane.EditState[] values()
for (EditSitePane.EditState c : EditSitePane.EditState.values()) System.out.println(c);
public static EditSitePane.EditState 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 null