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.RangeSelectEvent
- 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.RangeSelectEvent
-
All Implemented Interfaces:
Enclosing interface:
public static class CalendarComponentEvents.RangeSelectEvent extends CalendarComponentEvent
RangeSelectEvent is sent when day or time cells are drag-marked with mouse.
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 RangeSelectEvent​(Calendar source, Date start, Date end, boolean monthlyMode)
RangeSelectEvent needs a start and end date.
-
Method Summary
All Methods Modifier and Type Method Description Date
getEnd()
Get end date.
Date
getStart()
Get start date.
boolean
isMonthlyMode()
Deprecated.
UserCalendar.isMonthlyMode()
instead-
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:
-
-
Method Detail
-
getStart
public Date getStart()
Get start date.
Returns:
Start date.
-
getEnd
public Date getEnd()
Get end date.
Returns:
End date.
-
isMonthlyMode
@Deprecated public boolean isMonthlyMode()
Deprecated.UserCalendar.isMonthlyMode()
insteadGets the event's view mode. Calendar can be be either in monthly or weekly mode, depending on the active date range.
Returns:
Returns true when monthly view is active.
-
-