Class Calendar
java.lang.Object
org.vaadin.addons.componentfactory.schedulexcalendar.model.Calendar
- All Implemented Interfaces:
Serializable
Represents a single calendar definition.
The events of a single calendar can be sorted into different categories, called calendars.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRepresents a theme color block (light or dark). -
Constructor Summary
ConstructorsConstructorDescriptionCalendar(String colorName, Calendar.ColorDefinition lightColors) Calendar(String colorName, Calendar.ColorDefinition lightColors, Calendar.ColorDefinition darkColors) -
Method Summary
Modifier and TypeMethodDescriptionvoidsetColorName(String colorName) voidsetDarkColors(Calendar.ColorDefinition darkColors) voidsetLightColors(Calendar.ColorDefinition lightColors) elemental.json.JsonObjectSerialize this calendar to a JsonObject (excluding its ID).
-
Constructor Details
-
Calendar
-
Calendar
-
Calendar
public Calendar(String colorName, Calendar.ColorDefinition lightColors, Calendar.ColorDefinition darkColors)
-
-
Method Details
-
getColorName
-
setColorName
-
getLightColors
-
setLightColors
-
getDarkColors
-
setDarkColors
-
toJsonObject
public elemental.json.JsonObject toJsonObject()Serialize this calendar to a JsonObject (excluding its ID).
-