Class SimpleCalendarEvent.Builder
- Enclosing class:
- SimpleCalendarEvent
SimpleCalendarEvent.- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds an event.See full description here:CalendarEvent.getAdditionalProperties().See full description here:CalendarEvent.getAllDay().See full description here:CalendarEvent.getBackgroundColor().See full description here:CalendarEvent.getBorderColor().See full description here:CalendarEvent.getClassNames().See full description here:CalendarEvent.getConstraint().See full description here:CalendarEvent.getDescription().See full description here:CalendarEvent.getDisplay().See full description here:CalendarEvent.getDurationEditable().See full description here:CalendarEvent.getEndDateTime().See full description here:CalendarEvent.getGroupId().See full description here:CalendarEvent.getInteractive().See full description here:CalendarEvent.getOverlap().See full description here:CalendarEvent.getRecurringDaysOfWeek().See full description here:CalendarEvent.getRecurringEndDate().See full description here:CalendarEvent.getRecurringEndTime().See full description here:CalendarEvent.getRecurringStartDate().See full description here:CalendarEvent.getRecurringStartDate().See full description here:CalendarEvent.getStartDateTime().See full description here:CalendarEvent.getStartEditable().See full description here:CalendarEvent.getTextColor().getTitle()See full description here:CalendarEvent.getTitle().withAdditionalProperties(Map<String, Object> additionalProperties) Sets additional properties and their values.withAllDay(Boolean allDay) Sets all-day option.withBackgroundColor(String backgroundColor) Sets an event background color.withBorderColor(String borderColor) Sets an event border color.withClassNames(String classNames) Sets event class names.withConstraint(Object constraint) Sets an event constraint.withDescription(String description) Sets event description.withDisplay(Display display) Sets the type of event rendering.withDurationEditable(Boolean durationEditable) Sets whether an event can be resized in the calendar componentSets end date-time.withGroupId(Object groupId) Sets group ID.withInteractive(Boolean interactive) Sets event interactivity.withOverlap(Boolean overlap) Sets whether the event can be dragged/resized over other events and prevents other events from being dragged/resized over this event.withRecurringDaysOfWeek(DaysOfWeek daysOfWeek) Sets recurring days of week.withRecurringEndDate(LocalDate recurringEndDate) Sets recurring end date.withRecurringEndTime(LocalTime recurringEndTime) Sets recurring end time.withRecurringStartDate(LocalDate recurringStartDate) Sets recurring start date.withRecurringStartTime(LocalTime recurringStartTime) Sets recurring start time.withStartDateTime(LocalDateTime start) Sets start date-time.withStartEditable(Boolean startEditable) Sets whether an event can be dragged in the calendar component.withTextColor(String textColor) Sets an event text color.Sets event title.
- 
Field Details- 
event
 
- 
- 
Constructor Details- 
Builderpublic Builder()Creates builder withUUIDas an event ID.
- 
BuilderCreates builder.- Parameters:
- id- event ID
 
 
- 
- 
Method Details- 
getGroupIdSee full description here:CalendarEvent.getGroupId().- Returns:
- group ID or nullif not set
 
- 
withGroupIdSets group ID.See full description here: CalendarEvent.getGroupId().- Parameters:
- groupId- group ID
- Returns:
- current instance of builder
 
- 
getAllDaySee full description here:CalendarEvent.getAllDay().- Returns:
- all-day option or nullif not set
 
- 
withAllDaySets all-day option.See full description here: CalendarEvent.setAllDay(Boolean).- Parameters:
- allDay- all-day option
- Returns:
- current instance of builder
 
- 
getStartDateTimeSee full description here:CalendarEvent.getStartDateTime().- Returns:
- start date-time or nullif not set
 
- 
withStartDateTimeSets start date-time.See full description here: CalendarEvent.setStartDateTime(java.time.LocalDateTime).- Parameters:
- start- start date-time
- Returns:
- current instance of builder
 
- 
getEndDateTimeSee full description here:CalendarEvent.getEndDateTime().- Returns:
- end date-time or nullif not set
 
- 
withEndDateTimeSets end date-time.See full description here: CalendarEvent.setEndDateTime(LocalDateTime).- Parameters:
- end- end date-time
- Returns:
- current instance of builder
 
- 
getTitleSee full description here:CalendarEvent.getTitle().- Returns:
- event title or nullif not set
 
- 
withTitleSets event title.See full description here: CalendarEvent.getTitle().- Parameters:
- title- event title
- Returns:
- current instance of builder
 
- 
getDescriptionSee full description here:CalendarEvent.getDescription().- Returns:
- description or nullif not set
 
- 
withDescriptionSets event description.See full description here: CalendarEvent.getDescription().- Parameters:
- description- event description
- Returns:
- current instance of builder
 
- 
getInteractiveSee full description here:CalendarEvent.getInteractive().- Returns:
- whether events can be navigated by TAB key or nullif not set
 
- 
withInteractiveSets event interactivity.See full description here: CalendarEvent.getInteractive().- Parameters:
- interactive- interactive option
- Returns:
- current instance of builder
 
- 
getClassNamesSee full description here:CalendarEvent.getClassNames().- Returns:
- event class names or nullif not set
 
- 
withClassNamesSets event class names.See full description here: CalendarEvent.getClassNames().- Parameters:
- classNames- event class names
- Returns:
- current instance of builder
 
- 
getStartEditableSee full description here:CalendarEvent.getStartEditable().- Returns:
- whether an event can be dragged in the calendar component or nullif not set
 
- 
withStartEditableSets whether an event can be dragged in the calendar component.See full description here: CalendarEvent.getStartEditable().- Parameters:
- startEditable- startEditable option
- Returns:
- current instance of builder
 
- 
getDurationEditableSee full description here:CalendarEvent.getDurationEditable().- Returns:
- whether an event can be resized in the calendar component or nullif not set
 
- 
withDurationEditableSets whether an event can be resized in the calendar componentSee full description here: CalendarEvent.getDurationEditable().- Parameters:
- durationEditable- durationEditable option
- Returns:
- current instance of builder
 
- 
getDisplaySee full description here:CalendarEvent.getDisplay().- Returns:
- the type of event rendering or nullif not set
 
- 
withDisplaySets the type of event rendering.See full description here: CalendarEvent.getDisplay().- Parameters:
- display- the type of rendering
- Returns:
- current instance of builder
 
- 
getOverlapSee full description here:CalendarEvent.getOverlap().- Returns:
- whether the event can be dragged/ resized over other events or nullif not set
 
- 
withOverlapSets whether the event can be dragged/resized over other events and prevents other events from being dragged/resized over this event.See full description here: CalendarEvent.getOverlap().- Parameters:
- overlap- overlap option
- Returns:
- current instance of builder
 
- 
getConstraintSee full description here:CalendarEvent.getConstraint().- Returns:
- event constraint or nullif not set
 
- 
withConstraintSets an event constraint.See full description here: CalendarEvent.getConstraint().- Parameters:
- constraint- event constraint
- Returns:
- current instance of builder
 
- 
getBackgroundColorSee full description here:CalendarEvent.getBackgroundColor().- Returns:
- event background color or nullif not set
 
- 
withBackgroundColorSets an event background color.See full description here: CalendarEvent.getBackgroundColor().- Parameters:
- backgroundColor- event background color
- Returns:
- current instance of builder
 
- 
getBorderColorSee full description here:CalendarEvent.getBorderColor().- Returns:
- event border color or nullif not set
 
- 
withBorderColorSets an event border color.See full description here: CalendarEvent.getBorderColor().- Parameters:
- borderColor- event border color
- Returns:
- current instance of builder
 
- 
getTextColorSee full description here:CalendarEvent.getTextColor().- Returns:
- event text color or nullif not set
 
- 
withTextColorSets an event text color.See full description here: CalendarEvent.getTextColor().- Parameters:
- textColor- event text color
- Returns:
- current instance of builder
 
- 
getAdditionalPropertiesSee full description here:CalendarEvent.getAdditionalProperties().- Returns:
- additional properties or nullif not set
 
- 
withAdditionalPropertiespublic SimpleCalendarEvent.Builder withAdditionalProperties(@Nullable Map<String, Object> additionalProperties) Sets additional properties and their values.See full description here: CalendarEvent.getAdditionalProperties().- Parameters:
- additionalProperties- additional properties
- Returns:
- current instance of builder
 
- 
getRecurringDaysOfWeekSee full description here:CalendarEvent.getRecurringDaysOfWeek().- Returns:
- recurring days of week or nullif not set
 
- 
withRecurringDaysOfWeekSets recurring days of week.See full description here: CalendarEvent.getRecurringDaysOfWeek().- Parameters:
- daysOfWeek- fays of week
- Returns:
- current instance of builder
 
- 
getRecurringStartDateSee full description here:CalendarEvent.getRecurringStartDate().- Returns:
- recurring start date or nullif not set
 
- 
withRecurringStartDateSets recurring start date.See full description here: CalendarEvent.getRecurringStartDate().- Parameters:
- recurringStartDate- recurring start date
- Returns:
- current instance of builder
 
- 
getRecurringEndDateSee full description here:CalendarEvent.getRecurringEndDate().- Returns:
- recurring end date or nullif not set
 
- 
withRecurringEndDateSets recurring end date.See full description here: CalendarEvent.getRecurringEndDate().- Parameters:
- recurringEndDate- recurring end date
- Returns:
- current instance of builder
 
- 
getRecurringStartTimeSee full description here:CalendarEvent.getRecurringStartDate().- Returns:
- recurring start time or nullif not set
 
- 
withRecurringStartTimeSets recurring start time.See full description here: CalendarEvent.getRecurringStartTime().- Parameters:
- recurringStartTime- recurring start time
- Returns:
- current instance of builder
 
- 
getRecurringEndTimeSee full description here:CalendarEvent.getRecurringEndTime().- Returns:
- recurring end time or nullif not set
 
- 
withRecurringEndTimeSets recurring end time.See full description here: CalendarEvent.getRecurringEndTime().- Parameters:
- recurringEndTime- recurring end time
- Returns:
- current instance of builder
 
- 
buildBuilds an event.- Returns:
- instance of event
 
 
-