public static enum JFButton.ButtonType extends java.lang.Enum<JFButton.ButtonType>
| Enum Constant and Description |
|---|
BLUE
Blue button.
|
DEFAULT
Default look.
|
GREEN
Green button.
|
RED
Red button.
|
| Modifier and Type | Method and Description |
|---|---|
static JFButton.ButtonType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JFButton.ButtonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JFButton.ButtonType DEFAULT
public static final JFButton.ButtonType GREEN
public static final JFButton.ButtonType RED
public static final JFButton.ButtonType BLUE
public static JFButton.ButtonType[] values()
for (JFButton.ButtonType c : JFButton.ButtonType.values()) System.out.println(c);
public static JFButton.ButtonType 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 nullCopyright © 2025. All rights reserved.