JIDE 3.5.15

com.jidesoft.combobox
Interface DateFilter


public interface DateFilter

An interface used by DateChooserPanel to filter date.


Method Summary
 Calendar getMaxDate()
          Gets maximum date of the DateFilter.
 Calendar getMinDate()
          Gets minimum date of the DateFilter.
 boolean isDateValid(Calendar calendar)
          Checks if the date is valid.
 

Method Detail

isDateValid

boolean isDateValid(Calendar calendar)
Checks if the date is valid. If the check you did here will form a range, please return the correct values in getMinDate() and getMaxDate(). If the check doesn't form a range, just return null in those two methods.

Parameters:
calendar -
Returns:
true if the date is valid, otherwise, return false.

getMinDate

Calendar getMinDate()
Gets minimum date of the DateFilter.

Returns:
minimum date if it has. Otherwise return null.

getMaxDate

Calendar getMaxDate()
Gets maximum date of the DateFilter.

Returns:
maximum date if it has. Otherwise return null.

JIDE 3.5.15