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) tools.jackson.databind.node.ObjectNodeSerialize this calendar to a JSON object node (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 tools.jackson.databind.node.ObjectNode toJsonObject()Serialize this calendar to a JSON object node (excluding its ID).
-