public static enum AccessibilityProfile.ColorContrast extends Enum<AccessibilityProfile.ColorContrast>
Enum Constant and Description |
---|
HIGH
Color contrast value for users who prefer styles/content optimized
for high contrast settings.
|
STANDARD
Color contrast value for users who prefer the default
(non-high contrast-optimized) styles/content.
|
Modifier and Type | Method and Description |
---|---|
static AccessibilityProfile.ColorContrast |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AccessibilityProfile.ColorContrast[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessibilityProfile.ColorContrast HIGH
public static final AccessibilityProfile.ColorContrast STANDARD
public static AccessibilityProfile.ColorContrast[] values()
for (AccessibilityProfile.ColorContrast c : AccessibilityProfile.ColorContrast.values()) System.out.println(c);
public static AccessibilityProfile.ColorContrast valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2001-2017 The Apache Software Foundation. All Rights Reserved.