public static enum EditToolbar.Command extends Enum<EditToolbar.Command>
Enum Constant and Description |
---|
MakeContext |
MakeCut |
None |
UnmakeContext |
Modifier and Type | Method and Description |
---|---|
static EditToolbar.Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EditToolbar.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EditToolbar.Command MakeContext
public static final EditToolbar.Command MakeCut
public static final EditToolbar.Command UnmakeContext
public static final EditToolbar.Command None
public static EditToolbar.Command[] values()
for (EditToolbar.Command c : EditToolbar.Command.values()) System.out.println(c);
public static EditToolbar.Command 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