Class MoreLinkClickEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<FullCalendar>
io.jmix.fullcalendarflowui.component.event.AbstractClickEvent
io.jmix.fullcalendarflowui.component.event.MoreLinkClickEvent
- All Implemented Interfaces:
Serializable
The event is fired when the user clicks on "more" link. The "more" link can be activated by the following
properties:
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Groups visible and hidden calendar events by data provider. -
Field Summary
Modifier and TypeFieldDescriptionprotected final boolean
protected final List<MoreLinkClickEvent.DataProviderContext>
protected final LocalDateTime
protected final DisplayModeInfo
protected final List<CalendarEvent>
protected final List<CalendarEvent>
Fields inherited from class io.jmix.fullcalendarflowui.component.event.AbstractClickEvent
mouseEventDetails
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionMoreLinkClickEvent
(FullCalendar fullCalendar, boolean fromClient, boolean allDay, LocalDateTime dateTime, List<CalendarEvent> visibleCalendarEvents, List<CalendarEvent> hiddenCalendarEvents, List<MoreLinkClickEvent.DataProviderContext> dataProviderContexts, MouseEventDetails mouseEventDetails, DisplayModeInfo displayModeInfo) -
Method Summary
Modifier and TypeMethodDescriptionReturns date-time as is from component without transformation.Returns all hidden calendar events event if they are from different data providers.Returns all visible calendar events event if they are from different data providers.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
-
allDay
protected final boolean allDay -
dateTime
-
displayModeInfo
-
visibleCalendarEvents
-
dataProviderContexts
-
-
Constructor Details
-
MoreLinkClickEvent
public MoreLinkClickEvent(FullCalendar fullCalendar, boolean fromClient, boolean allDay, LocalDateTime dateTime, List<CalendarEvent> visibleCalendarEvents, List<CalendarEvent> hiddenCalendarEvents, List<MoreLinkClickEvent.DataProviderContext> dataProviderContexts, MouseEventDetails mouseEventDetails, DisplayModeInfo displayModeInfo)
-
-
Method Details
-
isAllDay
public boolean isAllDay()- Returns:
true
if "more" link is clicked from day cell
-
getDateTime
Returns date-time as is from component without transformation. It means that value corresponds component's TimeZone.Note, if "more" link is clicked in day cell, the time part will be
00:00:00
.- Returns:
- date-time
-
getVisibleCalendarEvents
Returns all visible calendar events event if they are from different data providers. To get visible calendar events by data providers usegetDataProviderContexts()
.- Returns:
- visible calendar events
-
getHiddenCalendarEvents
Returns all hidden calendar events event if they are from different data providers. To get hidden calendar events by data providers usegetDataProviderContexts()
.- Returns:
- hidden calendar events
-
getDataProviderContexts
- Returns:
- list of data providers contexts that contain information about calendar events
-
getDisplayModeInfo
- Returns:
- information about current calendar's display mode
-