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 String
getBackgroundColor()
String
getBorderColor()
T
getData()
String
getDescription()
ScheduleDisplayMode
getDisplay()
The rendering type of this event.Map<String,Object>
getDynamicProperties()
LocalDateTime
getEndDate()
String
getGroupId()
String
getId()
LocalDateTime
getStartDate()
String
getStyleClass()
String
getTextColor()
String
getTitle()
String
getUrl()
boolean
isAllDay()
Boolean
isDraggable()
default boolean
isEditable()
Deprecated.UseisResizable()
orisDraggable()
instead.boolean
isOverlapAllowed()
Boolean
isResizable()
void
setAllDay(boolean allDay)
void
setEndDate(LocalDateTime end)
void
setId(String id)
void
setStartDate(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
null
means 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
null
means 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.
-
-