public enum TextColor extends Enum<TextColor>
| Enum Constant and Description |
|---|
BODY |
DISABLED |
ERROR |
ERROR_CONTRAST |
HEADER |
PRIMARY |
PRIMARY_CONTRAST |
SECONDARY |
SUCCESS |
SUCCESS_CONTRAST |
TERTIARY |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static TextColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextColor HEADER
public static final TextColor BODY
public static final TextColor SECONDARY
public static final TextColor TERTIARY
public static final TextColor DISABLED
public static final TextColor PRIMARY
public static final TextColor PRIMARY_CONTRAST
public static final TextColor ERROR
public static final TextColor ERROR_CONTRAST
public static final TextColor SUCCESS
public static final TextColor SUCCESS_CONTRAST
public static TextColor[] values()
for (TextColor c : TextColor.values()) System.out.println(c);
public static TextColor 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 nullpublic String getValue()
Copyright © 2021. All rights reserved.