Enum Class Modifier
- All Implemented Interfaces:
Serializable, Comparable<Modifier>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionFloats: adds.Colors only: traditional alpha blending; the argument is an ARGB color.Booleans only.Floats only: keeps the larger of the two values.Floats only: keeps the smaller of the two values.Floats: multiplies.Booleans only.Booleans only.Booleans only.Replaces the previous value outright.Floats: subtracts.Booleans only.Booleans only. -
Method Summary
-
Enum Constant Details
-
OVERRIDE
Replaces the previous value outright. The default and the only form written bare. -
ADD
Floats: adds. Colors: component-wise additive blending. -
SUBTRACT
Floats: subtracts. Colors: component-wise subtractive blending. -
MULTIPLY
Floats: multiplies. Colors: component-wise multiplicative blending. -
MINIMUM
Floats only: keeps the smaller of the two values. -
MAXIMUM
Floats only: keeps the larger of the two values. -
ALPHA_BLEND
Colors only: traditional alpha blending; the argument is an ARGB color. -
AND
Booleans only. -
NAND
Booleans only. -
OR
Booleans only. -
NOR
Booleans only. -
XOR
Booleans only. -
XNOR
Booleans only.
-
-
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
-
id
Returns the identifier expected on the wire.- Returns:
- the identifier expected on the wire
-