Package io.jmix.ui.component
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
An event object that is fired when the user changes an event position.
-
Field Summary
Modifier and TypeFieldDescriptionprotected CalendarEvent<V>
protected Object
protected V
protected V
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionCalendarEventMoveEvent
(Calendar<V> calendar, CalendarEvent<V> calendarEvent, V newStart, Object entity) CalendarEventMoveEvent
(Calendar<V> calendar, CalendarEvent<V> calendarEvent, V newStart, V newEnd, Object entity) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.util.EventObject
toString
-
Field Details
-
calendarEvent
-
newStart
-
newEnd
-
entity
-
-
Constructor Details
-
CalendarEventMoveEvent
-
CalendarEventMoveEvent
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getCalendarEvent
-
getNewStart
- Returns:
- the event start date
-
getNewEnd
- Returns:
- the event end date
-
getEntity
- Returns:
- moved event entity or null if it is not entity based event
-