Package org.primefaces.model
Class DefaultScheduleEvent.Builder<T>
java.lang.Object
org.primefaces.model.DefaultScheduleEvent.Builder<T>
- Enclosing class:
- DefaultScheduleEvent<T>
-
Method Summary
Modifier and TypeMethodDescriptionallDay(boolean allDay) backgroundColor(String backgroundColor) borderColor(String borderColor) build()description(String description) display(ScheduleDisplayMode display) dynamicProperty(String key, Object value) editable(boolean editable) Makes the event both resizable and draggable.This is a shortcut for callingresizable(Boolean)anddraggable(Boolean).endDate(LocalDateTime endDate) overlapAllowed(boolean overlapAllowed) startDate(LocalDateTime startDate) styleClass(String styleClass)
-
Method Details
-
id
-
groupId
-
title
-
startDate
-
endDate
-
allDay
-
styleClass
-
data
-
editable
Makes the event both resizable and draggable.This is a shortcut for callingresizable(Boolean)anddraggable(Boolean).- Parameters:
editable- Whether the event should be editable.
-
draggable
- Parameters:
draggable- Whether the event should be draggable. Passingnullmeans that the default of the schedule is applied. Otherwise, this setting overrides the default of the schedule.
-
resizable
- Parameters:
resizable- Whether the event should be resizable. Passingnullmeans that the default of the schedule is applied. Otherwise, this setting overrides the default of the schedule.
-
overlapAllowed
-
description
-
url
-
dynamicProperty
-
display
-
backgroundColor
-
borderColor
-
textColor
-
build
-