Enum AccessibilityColorVisionDeficiency
java.lang.Object
java.lang.Enum<AccessibilityColorVisionDeficiency>
com.codename1.ui.AccessibilityColorVisionDeficiency
- All Implemented Interfaces:
Comparable<AccessibilityColorVisionDeficiency>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReduced sensitivity to green light.Colors are presented as shades of gray.The platform reports that no color-vision correction is enabled.Reduced sensitivity to red light.Reduced sensitivity to blue light.The platform doesn't expose the selected correction mode. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static AccessibilityColorVisionDeficiency[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, getDeclaringClass, getEnumValues, hashCode, name, ordinal, setEnumValues, toString, valueOf
-
Enum Constant Details
-
NONE
The platform reports that no color-vision correction is enabled. -
PROTANOPIA
Reduced sensitivity to red light. -
DEUTERANOPIA
Reduced sensitivity to green light. -
TRITANOPIA
Reduced sensitivity to blue light. -
MONOCHROMACY
Colors are presented as shades of gray. -
UNKNOWN
The platform doesn't expose the selected correction mode.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-