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.handler.
Class BasicForwardHandler
- java.lang.Object
-
- com.vaadin.ui.components.calendar.handler.BasicForwardHandler
-
All Implemented Interfaces:
CalendarComponentEvents.ForwardHandler
,Serializable
,EventListener
public class BasicForwardHandler extends Object implements CalendarComponentEvents.ForwardHandler
Implements basic functionality needed to enable forward navigation.
Since:
7.1
Author:
Vaadin Ltd.
See Also:
-
-
Field Summary
-
Fields inherited from interface com.vaadin.ui.components.calendar.CalendarComponentEvents.ForwardHandler
forwardMethod
-
-
Constructor Summary
Constructors Constructor Description BasicForwardHandler()
-
Method Summary
All Methods Modifier and Type Method Description void
forward(CalendarComponentEvents.ForwardEvent event)
This method will be called when date range is moved forward.
protected void
setDates(CalendarComponentEvents.ForwardEvent event, Date start, Date end)
Set the start and end dates for the event
-
-
-
Method Detail
-
forward
public void forward(CalendarComponentEvents.ForwardEvent event)
Description copied from interface:
CalendarComponentEvents.ForwardHandler
This method will be called when date range is moved forward.
Specified by:
forward
in interfaceCalendarComponentEvents.ForwardHandler
Parameters:
event
- ForwardEvent
-
setDates
protected void setDates(CalendarComponentEvents.ForwardEvent 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
-
-