Class SelectEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<FullCalendar>
io.jmix.fullcalendarflowui.component.event.SelectEvent
All Implemented Interfaces:
Serializable

public class SelectEvent extends com.vaadin.flow.component.ComponentEvent<FullCalendar>
The event is fired when a date/time selection is made.

Selection mode can be enabled by JmixFullCalendar.setSelectionEnabled(boolean).

See Also:
  • Field Details

    • startDateTime

      protected final LocalDateTime startDateTime
    • endDateTime

      protected final LocalDateTime endDateTime
    • allDay

      protected final boolean allDay
    • mouseEventDetails

      protected final MouseEventDetails mouseEventDetails
    • displayModeInfo

      protected final DisplayModeInfo displayModeInfo
  • Constructor Details

  • Method Details

    • getStartDateTime

      public LocalDateTime getStartDateTime()
      Returns date-time as is from component without transformation. It means that value corresponds component's TimeZone.
      Returns:
      start date-time of selection
    • getEndDateTime

      public LocalDateTime getEndDateTime()
      Returns date-time as is from component without transformation. It means that value corresponds component's TimeZone.
      Returns:
      end date-time of selection
    • isAllDay

      public boolean isAllDay()
      Returns:
      whether the selection happened on all-day cells
    • getDisplayModeInfo

      public DisplayModeInfo getDisplayModeInfo()
      Returns:
      information about current calendar's display mode
    • getMouseEventDetails

      @Nullable public MouseEventDetails getMouseEventDetails()
      Returns:
      information about mouse click or null if selection is performed by component methods like JmixFullCalendar.select(LocalDateTime, LocalDateTime)