Package org.primefaces.model
Interface ScheduleEvent<T>
-
- All Known Implementing Classes:
DefaultScheduleEvent
public interface ScheduleEvent<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description StringgetBackgroundColor()StringgetBorderColor()TgetData()StringgetDescription()ScheduleDisplayModegetDisplay()The rendering type of this event.Map<String,Object>getDynamicProperties()LocalDateTimegetEndDate()StringgetGroupId()StringgetId()LocalDateTimegetStartDate()StringgetStyleClass()StringgetTextColor()StringgetTitle()StringgetUrl()booleanisAllDay()BooleanisDraggable()default booleanisEditable()Deprecated.UseisResizable()orisDraggable()instead.booleanisOverlapAllowed()BooleanisResizable()voidsetAllDay(boolean allDay)voidsetEndDate(LocalDateTime end)voidsetId(String id)voidsetStartDate(LocalDateTime start)
-
-
-
Method Detail
-
getId
String getId()
-
setId
void setId(String id)
-
getGroupId
String getGroupId()
-
getData
T getData()
-
getTitle
String getTitle()
-
getStartDate
LocalDateTime getStartDate()
-
setStartDate
void setStartDate(LocalDateTime start)
-
getEndDate
LocalDateTime getEndDate()
-
setEndDate
void setEndDate(LocalDateTime end)
-
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()
-
isEditable
@Deprecated default boolean isEditable()
Deprecated.UseisResizable()orisDraggable()instead.
-
-