Class DateClickEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<FullCalendar>
io.jmix.fullcalendarflowui.component.event.AbstractClickEvent
io.jmix.fullcalendarflowui.component.event.DateClickEvent
- All Implemented Interfaces:
Serializable
The event is fired when a day cell or time cell is clicked.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
protected final LocalDateTime
protected final DisplayModeInfo
Fields inherited from class io.jmix.fullcalendarflowui.component.event.AbstractClickEvent
mouseEventDetails
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionDateClickEvent
(FullCalendar fullCalendar, boolean fromClient, MouseEventDetails mouseEventDetails, LocalDateTime dateTime, boolean allDay, DisplayModeInfo displayModeInfo) -
Method Summary
Modifier and TypeMethodDescriptionReturns date-time as is from component without transformation.boolean
isAllDay()
Methods inherited from class io.jmix.fullcalendarflowui.component.event.AbstractClickEvent
getMouseEventDetails
Methods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
dateTime
-
allDay
protected final boolean allDay -
displayModeInfo
-
-
Constructor Details
-
DateClickEvent
public DateClickEvent(FullCalendar fullCalendar, boolean fromClient, MouseEventDetails mouseEventDetails, LocalDateTime dateTime, boolean allDay, DisplayModeInfo displayModeInfo)
-
-
Method Details
-
getDateTime
Returns date-time as is from component without transformation. It means that value corresponds component's TimeZone.Note, if the day cell is clicked, the time part will be
00:00:00
.- Returns:
- date-time of clicked cell
-
isAllDay
public boolean isAllDay()- Returns:
true
if day cell is clicked
-
getDisplayModeInfo
- Returns:
- information about current calendar's display mode
-