public enum CalendarColor extends Enum<CalendarColor>
| Enum Constant and Description |
|---|
ANTHRACITE
Anthracite.
|
BLUEBERRY
Blueberry.
|
GREEN_BASIL
Green basil.
|
LAVENDER
Lavender.
|
LIGHT_PINK
Light pink.
|
MANDARIN
Mandarin.
|
PEACOCK_BLUE
Peacock blue.
|
PRIMARY
Default color (primary).
|
PURPLE_GRAPE
Purple grape.
|
RED_TOMATO
Red tomato.
|
SAGE_GREEN
Sage green.
|
YELLOW_BANANA
Yellow banana.
|
| Modifier and Type | Field and Description |
|---|---|
static CalendarColor |
DEFAULT
Default calendar color.
|
| Modifier and Type | Method and Description |
|---|---|
static CalendarColor |
fromId(String id)
Get color from identifier.
|
String |
getBackgroundClass()
Getter for backgroundClass.
|
String |
getId()
Getter for id.
|
String |
getKey()
Getter for key.
|
String |
getTextClass()
Getter for textClass.
|
static CalendarColor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CalendarColor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CalendarColor RED_TOMATO
public static final CalendarColor LIGHT_PINK
public static final CalendarColor MANDARIN
public static final CalendarColor YELLOW_BANANA
public static final CalendarColor SAGE_GREEN
public static final CalendarColor GREEN_BASIL
public static final CalendarColor PEACOCK_BLUE
public static final CalendarColor BLUEBERRY
public static final CalendarColor LAVENDER
public static final CalendarColor PURPLE_GRAPE
public static final CalendarColor ANTHRACITE
public static final CalendarColor PRIMARY
public static final CalendarColor DEFAULT
public static CalendarColor[] values()
for (CalendarColor c : CalendarColor.values()) System.out.println(c);
public static CalendarColor 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 static CalendarColor fromId(String id)
id - color identifierpublic String getId()
public String getKey()
public String getTextClass()
public String getBackgroundClass()
Copyright © 2021 OSIVIA. All rights reserved.