public static enum ConsistentColor.ColorVisionDeficiency extends java.lang.Enum<ConsistentColor.ColorVisionDeficiency>
Represents a color vision deficiency, used to re-map the angle to map it away from ranges which can not be distinguished by people with the respective color vision deficiencies.
Enum Constant and Description |
---|
BLUE_BLINDNESS
Blue blindness.
|
NONE
No color vision deficiency.
|
RED_GREEN_BLINDNESS
Red-green blindness.
|
Modifier and Type | Method and Description |
---|---|
static ConsistentColor.ColorVisionDeficiency |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConsistentColor.ColorVisionDeficiency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsistentColor.ColorVisionDeficiency NONE
public static final ConsistentColor.ColorVisionDeficiency RED_GREEN_BLINDNESS
public static final ConsistentColor.ColorVisionDeficiency BLUE_BLINDNESS
public static ConsistentColor.ColorVisionDeficiency[] values()
for (ConsistentColor.ColorVisionDeficiency c : ConsistentColor.ColorVisionDeficiency.values()) System.out.println(c);
public static ConsistentColor.ColorVisionDeficiency valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.