public static enum GenericDialog.ButtonType extends Enum<GenericDialog.ButtonType>
Enum Constant and Description |
---|
CLOSE
The dialog contains a CLOSE button.
|
NO_BUTTON
The dialog has no buttons.
|
OK
The dialog contains a OK button.
|
OK_CANCEL
The dialog contains OK and CANCEL buttons.
|
Modifier and Type | Method and Description |
---|---|
static GenericDialog.ButtonType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GenericDialog.ButtonType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GenericDialog.ButtonType OK_CANCEL
public static final GenericDialog.ButtonType OK
public static final GenericDialog.ButtonType CLOSE
public static final GenericDialog.ButtonType NO_BUTTON
public static GenericDialog.ButtonType[] values()
for (GenericDialog.ButtonType c : GenericDialog.ButtonType.values()) System.out.println(c);
public static GenericDialog.ButtonType 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 © 2010-2017 ForgeRock AS. All Rights Reserved.