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
Nested ClassesModifier and TypeClassDescriptionstatic classGroups visible and hidden calendar events by data provider. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final booleanprotected final List<MoreLinkClickEvent.DataProviderContext>protected final LocalDateTimeprotected final DisplayModeInfoprotected final List<CalendarEvent>protected final List<CalendarEvent>Fields inherited from class io.jmix.fullcalendarflowui.component.event.AbstractClickEvent
mouseEventDetailsFields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionMoreLinkClickEvent(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.booleanisAllDay()Methods inherited from class io.jmix.fullcalendarflowui.component.event.AbstractClickEvent
getMouseEventDetailsMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListenerMethods 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:
trueif "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
-