You're viewing an older version of Framework JavaDoc. Please see version 7.7.47 for the latest.
com.vaadin.ui.components.calendar.

Class CalendarComponentEvents.RangeSelectEvent

    • Constructor Detail

      • RangeSelectEvent

        public RangeSelectEvent​(Calendar source,
                                Date start,
                                Date end,
                                boolean monthlyMode)

        RangeSelectEvent needs a start and end date.

        Parameters:

        source - Calendar component.

        start - Start date.

        end - End date.

        monthlyMode - Calendar view mode.

    • 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.

        Gets 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.