Interface HasFullCalendarMenuItems
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
FullCalendarContextMenu
Interface to be implemented by context menu that works with
FullCalendar
.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Event is fired when menu item in context menu is clicked. -
Method Summary
Modifier and TypeMethodDescriptionaddItem
(com.vaadin.flow.component.Component component, com.vaadin.flow.component.ComponentEventListener<HasFullCalendarMenuItems.FullCalendarClickContextMenuItemEvent> clickListener) Adds new menu item.addItem
(String text, com.vaadin.flow.component.ComponentEventListener<HasFullCalendarMenuItems.FullCalendarClickContextMenuItemEvent> clickListener) Adds new menu item.
-
Method Details
-
addItem
FullCalendarMenuItem addItem(String text, com.vaadin.flow.component.ComponentEventListener<HasFullCalendarMenuItems.FullCalendarClickContextMenuItemEvent> clickListener) Adds new menu item.- Parameters:
text
- item's textclickListener
- click listener- Returns:
- added menu item
-
addItem
FullCalendarMenuItem addItem(com.vaadin.flow.component.Component component, com.vaadin.flow.component.ComponentEventListener<HasFullCalendarMenuItems.FullCalendarClickContextMenuItemEvent> clickListener) Adds new menu item.- Parameters:
component
- component that should be used as a content of menu itemclickListener
- click listener- Returns:
- added menu item
-