Class CalendarChangeViewEvent


public class CalendarChangeViewEvent extends BaseJBStrapEvent
This class contains the data used when the Calendar component has a view change event. These data are:
  • The client on which the event occurred
  • The ID of the component on which the event occurred
  • The event type
  • The instance of the component, on which the event occurred
  • The event's unique ID
  • The name of the view format
  • The displayed calendar's first (start) date
  • The displayed calendar's last (end) date
Since:
4.0
Author:
JBStrap
  • Constructor Details

    • CalendarChangeViewEvent

      public CalendarChangeViewEvent()
  • Method Details

    • getStartDate

      public Date getStartDate()
      Gets the displayed calendar's first (start) date
      Returns:
      The first date in the calendar
    • getEndDate

      public Date getEndDate()
      Gets the displayed calendar's last (end) date
      Returns:
      The last date in the calendar
    • getView

      public CalendarView getView()
      Gets the calendar's view format
      Returns:
      The calendar's current view format. These can be found in the CalendarView enum.