public enum ButtonColor extends Enum<ButtonColor>
KeyBoard.| Enum Constant and Description |
|---|
DEFAULT |
NEGATIVE |
POSITIVE |
PRIMARY |
| Modifier and Type | Method and Description |
|---|---|
static ButtonColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ButtonColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonColor PRIMARY
public static final ButtonColor DEFAULT
public static final ButtonColor NEGATIVE
public static final ButtonColor POSITIVE
public static ButtonColor[] values()
for (ButtonColor c : ButtonColor.values()) System.out.println(c);
public static ButtonColor 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 © 2020. All rights reserved.