We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.ui.components.calendar.
Class CalendarComponentEvents.MoveEvent
- java.lang.Object
-
- java.util.EventObject
-
- com.vaadin.event.ConnectorEvent
-
- com.vaadin.ui.Component.Event
-
- com.vaadin.ui.components.calendar.CalendarComponentEvent
-
- com.vaadin.ui.components.calendar.CalendarComponentEvents.MoveEvent
-
All Implemented Interfaces:
Enclosing interface:
public static class CalendarComponentEvents.MoveEvent extends CalendarComponentEvent
MoveEvent is sent when existing event is dragged to a new position.
See Also:
-
-
Field Summary
Fields Modifier and Type Field Description static String
EVENT_ID
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description MoveEvent​(Calendar source, CalendarEvent calendarEvent, Date newStart)
MoveEvent needs the target event and new start date.
-
Method Summary
All Methods Modifier and Type Method Description CalendarEvent
getCalendarEvent()
Get target event.
Date
getNewStart()
Get new start date.
-
Methods inherited from class com.vaadin.ui.components.calendar.CalendarComponentEvent
getComponent
-
Methods inherited from class com.vaadin.event.ConnectorEvent
getConnector
-
Methods inherited from class java.util.EventObject
getSource, toString
-
-
-
-
Field Detail
-
EVENT_ID
public static final String EVENT_ID
See Also:
-
-
Constructor Detail
-
MoveEvent
public MoveEvent​(Calendar source, CalendarEvent calendarEvent, Date newStart)
MoveEvent needs the target event and new start date.
Parameters:
source
- Calendar component.calendarEvent
- Target event.newStart
- Target event's new start date.
-
-
Method Detail
-
getCalendarEvent
public CalendarEvent getCalendarEvent()
Get target event.
Returns:
Target event.
-
getNewStart
public Date getNewStart()
Get new start date.
Returns:
New start date.
-
-