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