Interface ICalendarListener
- All Known Implementing Classes:
CalendarListenerAdapter
public interface ICalendarListener
This interface is the recipient of events that happen on the CalendarCombo, mainly date selection events.
-
Method Summary
Modifier and Type Method Description void
dateChanged(java.util.Calendar date)
When the user selects a date in the combo.void
dateRangeChanged(java.util.Calendar start, java.util.Calendar end)
When the user selects a date range in the combo (if the combo date range feature is enabled).void
popupClosed()
When the popup is closed regardless if there was a selection or not.
-
Method Details
-
dateChanged
void dateChanged(java.util.Calendar date)When the user selects a date in the combo. Note: If the combo is a date range selection combo, the event fired for a user selection will be the dateRangeChanged event even if the start and end date are the same.- Parameters:
date
- Selected date, or null if the "none" button is clicked.
-
dateRangeChanged
void dateRangeChanged(java.util.Calendar start, java.util.Calendar end)When the user selects a date range in the combo (if the combo date range feature is enabled). This event fires even if the start and end date selected are the same.- Parameters:
start
- Selected start dateend
- Selected end date
-
popupClosed
void popupClosed()When the popup is closed regardless if there was a selection or not.
-