Class Calendar.CalendarEventResizeEvent<V>

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

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

    • calendarEvent

      protected CalendarEvent<V> calendarEvent
    • newStart

      protected V newStart
    • newEnd

      protected V newEnd
    • entity

      protected Object entity
  • Constructor Details

    • CalendarEventResizeEvent

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

    • getEntity

      @Nullable public Object getEntity()
      Returns:
      event entity that was resized or null if it is not entity based event
    • getCalendarEvent

      public CalendarEvent<V> getCalendarEvent()
    • getSource

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

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

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