Class Calendar.CalendarEventMoveEvent<V>

java.lang.Object
java.util.EventObject
io.jmix.ui.component.Calendar.CalendarEventMoveEvent<V>
Type Parameters:
V - type of value
All Implemented Interfaces:
Serializable
Enclosing interface:
Calendar<V>

public static class Calendar.CalendarEventMoveEvent<V> extends EventObject
An event object that is fired when the user changes an event position.
See Also:
  • Field Details

    • calendarEvent

      protected CalendarEvent<V> calendarEvent
    • newStart

      protected V newStart
    • newEnd

      protected V newEnd
    • entity

      protected Object entity
  • Constructor Details

    • CalendarEventMoveEvent

      public CalendarEventMoveEvent(Calendar<V> calendar, CalendarEvent<V> calendarEvent, V newStart, @Nullable Object entity)
    • CalendarEventMoveEvent

      public CalendarEventMoveEvent(Calendar<V> calendar, CalendarEvent<V> calendarEvent, @Nullable V newStart, @Nullable V newEnd, @Nullable Object entity)
  • Method Details

    • getSource

      public Calendar<V> getSource()
      Overrides:
      getSource in class EventObject
    • getCalendarEvent

      public CalendarEvent<V> getCalendarEvent()
    • getNewStart

      @Nullable public V getNewStart()
      Returns:
      the event start date
    • getNewEnd

      @Nullable public V getNewEnd()
      Returns:
      the event end date
    • getEntity

      @Nullable public Object getEntity()
      Returns:
      moved event entity or null if it is not entity based event