public static enum ButtonComponent.ButtonState extends java.lang.Enum<ButtonComponent.ButtonState>
Enum Constant and Description |
---|
Hovered
Specifies that the button is hovered with the mouse.
|
Normal
Specifies a normal state.
|
Pressed
Specifies that the button is pressed.
|
Modifier and Type | Method and Description |
---|---|
static ButtonComponent.ButtonState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ButtonComponent.ButtonState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ButtonComponent.ButtonState Normal
public static final ButtonComponent.ButtonState Hovered
public static final ButtonComponent.ButtonState Pressed
public static ButtonComponent.ButtonState[] values()
for (ButtonComponent.ButtonState c : ButtonComponent.ButtonState.values()) System.out.println(c);
public static ButtonComponent.ButtonState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null