public enum Action extends Enum<Action>
| Enum Constant and Description |
|---|
ADD |
CANCEL |
CLOSE |
COPY |
CREATE |
DOWN |
DUBLICATE |
EDIT |
EXIT |
INSERT |
LIST |
NO |
OK |
PASTE |
REMOVE |
UP |
VIEW |
YES |
| Modifier and Type | Method and Description |
|---|---|
static Action |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Action[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Action OK
public static final Action CANCEL
public static final Action YES
public static final Action NO
public static final Action CLOSE
public static final Action EXIT
public static final Action CREATE
public static final Action VIEW
public static final Action LIST
public static final Action EDIT
public static final Action COPY
public static final Action DUBLICATE
public static final Action PASTE
public static final Action INSERT
public static final Action ADD
public static final Action REMOVE
public static final Action UP
public static final Action DOWN
public static Action[] values()
for (Action c : Action.values()) System.out.println(c);
public static 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 nullCopyright © 2018. All rights reserved.