Enum DisplayClickResult
- java.lang.Object
-
- java.lang.Enum<DisplayClickResult>
-
- me.keehl.elevators.api.services.interaction.DisplayClickResult
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<DisplayClickResult>
public enum DisplayClickResult extends java.lang.Enum<DisplayClickResult>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DisplayClickResultcombineResults(DisplayClickResult defaultClickResult, DisplayClickResult... results)static DisplayClickResultvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static DisplayClickResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CANCEL
public static final DisplayClickResult CANCEL
-
ALLOW
public static final DisplayClickResult ALLOW
-
DEFAULT
public static final DisplayClickResult DEFAULT
-
-
Method Detail
-
values
public static DisplayClickResult[] 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 (DisplayClickResult c : DisplayClickResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DisplayClickResult valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
combineResults
public static DisplayClickResult combineResults(DisplayClickResult defaultClickResult, DisplayClickResult... results)
-
-