Class BasicEventMoveHandler
- java.lang.Object
-
- com.vaadin.ui.components.calendar.handler.BasicEventMoveHandler
-
- All Implemented Interfaces:
CalendarComponentEvents.EventMoveHandler
,Serializable
,EventListener
public class BasicEventMoveHandler extends Object implements CalendarComponentEvents.EventMoveHandler
Implements basic functionality needed to enable moving events.- Since:
- 7.1
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.vaadin.ui.components.calendar.CalendarComponentEvents.EventMoveHandler
eventMoveMethod
-
-
Constructor Summary
Constructors Constructor Description BasicEventMoveHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
eventMove(CalendarComponentEvents.MoveEvent event)
This method will be called when event has been moved to a new position.protected void
setDates(EditableCalendarEvent event, Date start, Date end)
Set the start and end dates for the event
-
-
-
Method Detail
-
eventMove
public void eventMove(CalendarComponentEvents.MoveEvent event)
Description copied from interface:CalendarComponentEvents.EventMoveHandler
This method will be called when event has been moved to a new position.- Specified by:
eventMove
in interfaceCalendarComponentEvents.EventMoveHandler
- Parameters:
event
- MoveEvent containing specific information of the new position and target event.
-
setDates
protected void setDates(EditableCalendarEvent event, Date start, Date end)
Set the start and end dates for the event- Parameters:
event
- The event that the start and end dates should be setstart
- The start dateend
- The end date
-
-