Enum Class SkyboxPayload.Action
- All Implemented Interfaces:
Serializable, Comparable<SkyboxPayload.Action>, Constable
- Enclosing class:
SkyboxPayload
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionOn if the first value isn't 0, off otherwise.Flips it: on if it's off, off if it's on (as the client sees it). -
Method Summary
Modifier and TypeMethodDescriptionstatic SkyboxPayload.ActionReturns the enum constant of this class with the specified name.static SkyboxPayload.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ENABLE
-
DISABLE
-
ENABLE_FOR
-
ENABLE_INSTANTLY
-
DISABLE_INSTANTLY
-
SET_LAYER_VISIBLE
-
SET_LAYER_ALPHA
-
SET_LAYER_PARAM
-
RESET_LAYER
-
TOGGLE
Flips it: on if it's off, off if it's on (as the client sees it). -
SET_ENABLED
On if the first value isn't 0, off otherwise.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-