public enum RoleState extends Enum<RoleState>
| Enum Constant and Description |
|---|
CLEAN
The state that occurs when an object has been displayed, but not
altered by the user.
|
CLEARED
The initial state of the node.
|
DIRTY
The state that occurs when an CLEAN node was altered by the
user.
|
EDITED
The state that occurs when an initially CLEARED node has been altered
by the user.
|
| Modifier and Type | Method and Description |
|---|---|
static RoleState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoleState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoleState CLEARED
public static final RoleState EDITED
public static final RoleState CLEAN
public static final RoleState DIRTY
public static RoleState[] values()
for (RoleState c : RoleState.values()) System.out.println(c);
public static RoleState 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 © 2006–2020 Esito AS. All rights reserved.