Class FullCalendarCellContext
java.lang.Object
io.jmix.fullcalendarflowui.component.contextmenu.event.FullCalendarCellContext
The context of cell from which context menu is opened.
-
Field Summary
Modifier and TypeFieldDescriptionprotected final CalendarEvent
protected final CalendarDataProvider
protected final DayCell
protected final MouseEventDetails
-
Constructor Summary
ConstructorDescriptionFullCalendarCellContext
(DayCell dayCell, CalendarEvent calendarEvent, CalendarDataProvider dataProvider, MouseEventDetails mouseDetails) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
dayCell
-
calendarEvent
-
dataProvider
-
mouseDetails
-
-
Constructor Details
-
Method Details
-
getDayCell
- Returns:
- day cell information or
null
if component's display mode is time-grid:CalendarDisplayModes.TIME_GRID_DAY
orCalendarDisplayModes.TIME_GRID_WEEK
.
-
getCalendarEvent
- Returns:
- calendar event if context menu is invoked from an event
-
getDataProvider
- Returns:
- calendar event's data provider if context menu is invoked from an event
-
getMouseDetails
- Returns:
- information about click
-