public enum ActionType extends Enum<ActionType>
| Enum Constant and Description |
|---|
BUTTON
Show a button
|
SELECT
Show a dropdown/selector
|
| Modifier and Type | Method and Description |
|---|---|
static ActionType |
get(String key) |
String |
toString() |
static ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionType BUTTON
public static final ActionType SELECT
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType 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 static ActionType get(String key) throws UnmappedKeyException
UnmappedKeyExceptionpublic String toString()
toString in class Enum<ActionType>Copyright © 2019. All rights reserved.