Class CalendarListenerAdapter
java.lang.Object
org.eclipse.nebula.widgets.calendarcombo.CalendarListenerAdapter
- All Implemented Interfaces:
ICalendarListener
public class CalendarListenerAdapter extends java.lang.Object implements ICalendarListener
-
Constructor Summary
Constructors Constructor Description CalendarListenerAdapter()
-
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.
-
Constructor Details
-
CalendarListenerAdapter
public CalendarListenerAdapter()
-
-
Method Details
-
dateChanged
public void dateChanged(java.util.Calendar date)Description copied from interface:ICalendarListener
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.- Specified by:
dateChanged
in interfaceICalendarListener
- Parameters:
date
- Selected date, or null if the "none" button is clicked.
-
dateRangeChanged
public void dateRangeChanged(java.util.Calendar start, java.util.Calendar end)Description copied from interface:ICalendarListener
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.- Specified by:
dateRangeChanged
in interfaceICalendarListener
- Parameters:
start
- Selected start dateend
- Selected end date
-
popupClosed
public void popupClosed()Description copied from interface:ICalendarListener
When the popup is closed regardless if there was a selection or not.- Specified by:
popupClosed
in interfaceICalendarListener
-