Enum ColorBlindMode
- java.lang.Object
-
- java.lang.Enum<ColorBlindMode>
-
- net.runelite.client.plugins.gpu.config.ColorBlindMode
-
- All Implemented Interfaces:
Serializable
,Comparable<ColorBlindMode>
public enum ColorBlindMode extends Enum<ColorBlindMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEUTERANOPE
NONE
PROTANOPE
TRITANOPE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ColorBlindMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static ColorBlindMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final ColorBlindMode NONE
-
PROTANOPE
public static final ColorBlindMode PROTANOPE
-
DEUTERANOPE
public static final ColorBlindMode DEUTERANOPE
-
TRITANOPE
public static final ColorBlindMode TRITANOPE
-
-
Method Detail
-
values
public static ColorBlindMode[] 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 (ColorBlindMode c : ColorBlindMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ColorBlindMode 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
-
-