Class UnselectEvent
java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<FullCalendar>
io.jmix.fullcalendarflowui.component.event.UnselectEvent
- All Implemented Interfaces:
Serializable
The event is fired when the current selection is cleared. A selection might be cleared for a number of reasons:
-
The user clicks away from the current selection (doesn’t happen when
JmixFullCalendar.isUnselectAuto()
returnsfalse
). - The user makes a new selection. The unselect event will be fired before the new selection occurs.
- The user moves forward or backward in the current calendar's display mode, or switches to another mode.
-
The unselect method is called through the
JmixFullCalendar.unselect()
method.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected final DisplayModeInfo
protected final MouseEventDetails
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionUnselectEvent
(FullCalendar source, boolean fromClient, DisplayModeInfo displayModeInfo, MouseEventDetails mouseEventDetails) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class com.vaadin.flow.component.ComponentEvent
getSource, isFromClient, unregisterListener
Methods inherited from class java.util.EventObject
toString
-
Field Details
-
displayModeInfo
-
mouseEventDetails
-
-
Constructor Details
-
UnselectEvent
public UnselectEvent(FullCalendar source, boolean fromClient, DisplayModeInfo displayModeInfo, @Nullable MouseEventDetails mouseEventDetails)
-
-
Method Details
-
getDisplayModeInfo
- Returns:
- information about current calendar's display mode
-
getMouseEventDetails
- Returns:
- information about mouse click or
null
if unselect has been triggered via theJmixFullCalendar.unselect()
method
-