Package org.primefaces.model
Interface ScheduleEvent<T>
- All Known Implementing Classes:
DefaultScheduleEvent
public interface ScheduleEvent<T>
-
Method Summary
Modifier and TypeMethodDescriptiongetData()The rendering type of this event.getId()getTitle()getUrl()booleanisAllDay()default booleanDeprecated.booleanvoidsetAllDay(boolean allDay) voidsetEndDate(LocalDateTime end) voidvoidsetStartDate(LocalDateTime start)
-
Method Details
-
getId
String getId() -
setId
-
getGroupId
String getGroupId() -
getData
T getData() -
getTitle
String getTitle() -
getStartDate
LocalDateTime getStartDate() -
setStartDate
-
getEndDate
LocalDateTime getEndDate() -
setEndDate
-
isAllDay
boolean isAllDay() -
setAllDay
void setAllDay(boolean allDay) -
getStyleClass
String getStyleClass() -
getDisplay
ScheduleDisplayMode getDisplay()The rendering type of this event. Can be 'auto', 'block', 'list-item', 'background', 'inverse-background', or 'none'. Events that appear as background highlights can be achieved by setting an Event Object’s display property to "background" or "inverse-background". -
getBackgroundColor
String getBackgroundColor() -
getBorderColor
String getBorderColor() -
getTextColor
String getTextColor() -
isDraggable
Boolean isDraggable()- Returns:
- Whether the event should be draggable. Returning
nullmeans that the default of the schedule is applied. Otherwise, this setting overrides the default of the schedule.
-
isResizable
Boolean isResizable()- Returns:
- Whether the event should be resizable. Returning
nullmeans that the default of the schedule is applied. Otherwise, this setting overrides the default of the schedule.
-
isOverlapAllowed
boolean isOverlapAllowed() -
getDescription
String getDescription() -
getUrl
String getUrl() -
getDynamicProperties
-
isEditable
Deprecated.UseisResizable()orisDraggable()instead.
-
isResizable()orisDraggable()instead.