public enum EditState extends Enum<EditState>
| Enum Constant and Description |
|---|
CHANGE |
DISABLED |
HOVER |
LOCKED |
SELECTED |
VISIBLE |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getFlag() |
static List<String> |
getFlagNames(int flags) |
static int |
getFlags(EditState... stats) |
static List<EditState> |
getFlags(int flags) |
static boolean |
hasFlag(int flags,
EditState state) |
static boolean |
isActionState(EditState state) |
static int |
setFlag(int flags,
EditState state) |
static EditState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EditState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EditState VISIBLE
public static final EditState HOVER
public static final EditState SELECTED
public static final EditState LOCKED
public static final EditState DISABLED
public static final EditState CHANGE
public static EditState[] values()
for (EditState c : EditState.values()) System.out.println(c);
public static 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 nullpublic Integer getFlag()
public static int getFlags(EditState... stats)
stats - public static boolean hasFlag(int flags,
EditState state)
flags - state - public static int setFlag(int flags,
EditState state)
flags - state - public static boolean isActionState(EditState state)
state - Copyright © 2011-2014. All Rights Reserved.