Class BasicEventResizeHandler
- java.lang.Object
-
- com.vaadin.ui.components.calendar.handler.BasicEventResizeHandler
-
- All Implemented Interfaces:
CalendarComponentEvents.EventResizeHandler
,Serializable
,EventListener
public class BasicEventResizeHandler extends Object implements CalendarComponentEvents.EventResizeHandler
Implements basic functionality needed to enable event resizing.- Since:
- 7.1
- Author:
- Vaadin Ltd.
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface com.vaadin.ui.components.calendar.CalendarComponentEvents.EventResizeHandler
eventResizeMethod
-
-
Constructor Summary
Constructors Constructor Description BasicEventResizeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
eventResize(CalendarComponentEvents.EventResize event)
protected void
setDates(EditableCalendarEvent event, Date start, Date end)
Set the start and end dates for the event
-
-
-
Method Detail
-
eventResize
public void eventResize(CalendarComponentEvents.EventResize event)
- Specified by:
eventResize
in interfaceCalendarComponentEvents.EventResizeHandler
-
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
-
-