Package net.pricefx.common.api
Enum InputButtonAction
- Object
-
- Enum<InputButtonAction>
-
- InputButtonAction
-
- All Implemented Interfaces:
Serializable
,Comparable<InputButtonAction>
public enum InputButtonAction extends Enum<InputButtonAction>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
isValid(String s)
static InputButtonAction
valueOf(String name)
Returns the enum constant of this type with the specified name.static InputButtonAction[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCEL
public static final InputButtonAction CANCEL
-
CLEAR
public static final InputButtonAction CLEAR
-
RESET
public static final InputButtonAction RESET
-
OK
public static final InputButtonAction OK
-
ALL
public static final InputButtonAction ALL
-
-
Method Detail
-
values
public static InputButtonAction[] 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 (InputButtonAction c : InputButtonAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputButtonAction 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
-
isValid
public static boolean isValid(String s)
-
-