public static enum JebUI.ButtonGroupType extends java.lang.Enum<JebUI.ButtonGroupType>
This enumeration represents button group types to be used in dialog boxes.
| Enum Constant and Description |
|---|
OK
A single OK button.
|
OK_CANCEL
Two buttons, OK and Cancel.
|
YES_NO
Two buttons, YES and NO.
|
YES_NO_CANCEL
Three buttons, YES, NO, and CANCEL.
|
| Modifier and Type | Method and Description |
|---|---|
static JebUI.ButtonGroupType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JebUI.ButtonGroupType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JebUI.ButtonGroupType OK
A single OK button.
public static final JebUI.ButtonGroupType OK_CANCEL
Two buttons, OK and Cancel.
public static final JebUI.ButtonGroupType YES_NO
Two buttons, YES and NO.
public static final JebUI.ButtonGroupType YES_NO_CANCEL
Three buttons, YES, NO, and CANCEL.
public static JebUI.ButtonGroupType[] values()
for (JebUI.ButtonGroupType c : JebUI.ButtonGroupType.values()) System.out.println(c);
public static JebUI.ButtonGroupType 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