Enum Class Color
- All Implemented Interfaces:
Serializable, Comparable<Color>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAmber color set in the theme.Black color set in the theme.Blue color set in the theme.Blue grey color set in the theme.Brown color set in the theme.Cyan color set in the theme.Deep orange color set in the theme.Deep purple color set in the theme.Green color set in the theme.Grey color set in the theme.Indigo color set in the theme.Light blue color set in the theme.Light green color set in the theme.Lime color set in the theme.No color that renders as text color.Orange color set in the theme.Pink color set in the theme.Purple color set in the theme.Red color set in the theme.Teal color set in the theme.Yellow color set in the theme. -
Method Summary
-
Enum Constant Details
-
RED
Red color set in the theme. -
PINK
Pink color set in the theme. -
PURPLE
Purple color set in the theme. -
DEEP_PURPLE
Deep purple color set in the theme. -
INDIGO
Indigo color set in the theme. -
BLUE
Blue color set in the theme. -
LIGHT_BLUE
Light blue color set in the theme. -
CYAN
Cyan color set in the theme. -
TEAL
Teal color set in the theme. -
GREEN
Green color set in the theme. -
LIGHT_GREEN
Light green color set in the theme. -
LIME
Lime color set in the theme. -
YELLOW
Yellow color set in the theme. -
AMBER
Amber color set in the theme. -
ORANGE
Orange color set in the theme. -
DEEP_ORANGE
Deep orange color set in the theme. -
BROWN
Brown color set in the theme. -
GREY
Grey color set in the theme. -
BLUE_GREY
Blue grey color set in the theme. -
BLACK
Black color set in the theme. -
NONE
No color that renders as text color.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getByName
-