Package org.opends.quicksetup
Enum ButtonName
- java.lang.Object
-
- java.lang.Enum<ButtonName>
-
- org.opends.quicksetup.ButtonName
-
- All Implemented Interfaces:
Serializable,Comparable<ButtonName>
public enum ButtonName extends Enum<ButtonName>
This enumeration defines the logical names of the buttons that appear on the the wizard dialog.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLOSEThe Close button.CONTINUE_INSTALLThe Continue with install button.FINISHThe Finish button.INPUT_PANEL_BUTTONInput panel button.LAUNCH_STATUS_PANELThe Launch Status Panel button.NEXTThe Next button.PREVIOUSThe Previous button.QUITThe Quit button.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ButtonNamevalueOf(String name)Returns the enum constant of this type with the specified name.static ButtonName[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NEXT
public static final ButtonName NEXT
The Next button.
-
PREVIOUS
public static final ButtonName PREVIOUS
The Previous button.
-
QUIT
public static final ButtonName QUIT
The Quit button.
-
CONTINUE_INSTALL
public static final ButtonName CONTINUE_INSTALL
The Continue with install button.
-
CLOSE
public static final ButtonName CLOSE
The Close button.
-
FINISH
public static final ButtonName FINISH
The Finish button.
-
LAUNCH_STATUS_PANEL
public static final ButtonName LAUNCH_STATUS_PANEL
The Launch Status Panel button.
-
INPUT_PANEL_BUTTON
public static final ButtonName INPUT_PANEL_BUTTON
Input panel button. This is used to identify generic buttons inside the panels and the notifications are used for instance to update the visibility of the steps on the right.
-
-
Method Detail
-
values
public static ButtonName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ButtonName c : ButtonName.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ButtonName valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-