public static enum ModeStatus.Action extends Enum<ModeStatus.Action>
Enum Constant and Description |
---|
ADD
This mode is being added.
|
REMOVE
This mode is being removed.
|
Modifier and Type | Method and Description |
---|---|
char |
getChar()
Gets the character that represents this action.
|
static ModeStatus.Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModeStatus.Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModeStatus.Action ADD
public static final ModeStatus.Action REMOVE
public static ModeStatus.Action[] values()
for (ModeStatus.Action c : ModeStatus.Action.values()) System.out.println(c);
public static ModeStatus.Action 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 char getChar()
Copyright © 2013–2021 Kitteh. All rights reserved.