Package com.jbstrap.core.event
Class CalendarChangeViewEvent
java.lang.Object
com.jbstrap.core.event.BaseEvent
com.jbstrap.core.event.BaseJBStrapEvent
com.jbstrap.core.event.CalendarChangeViewEvent
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
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the displayed calendar's last (end) dateGets the displayed calendar's first (start) dategetView()
Gets the calendar's view formatMethods inherited from class com.jbstrap.core.event.BaseJBStrapEvent
fireEvent
Methods inherited from class com.jbstrap.core.event.BaseEvent
getClient, getComponent, getEventId, getEventType, getSenderId
-
Constructor Details
-
CalendarChangeViewEvent
public CalendarChangeViewEvent()
-
-
Method Details
-
getStartDate
Gets the displayed calendar's first (start) date- Returns:
- The first date in the calendar
-
getEndDate
Gets the displayed calendar's last (end) date- Returns:
- The last date in the calendar
-
getView
Gets the calendar's view format- Returns:
- The calendar's current view format. These can be found in the
CalendarView
enum.
-