public abstract class DisableDateCustomizer
extends java.lang.Object
Constructor and Description |
---|
DisableDateCustomizer() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeDefault(java.util.Date date,
CalendarView calendarView)
Call executeDefault() to run the original method for default behavior
|
Calendar |
getCalendar()
Returns the Calendar being customized
|
void |
setCalendar(Calendar calendar) |
abstract boolean |
shouldDisableDate(java.util.Date date,
CalendarView calendarView)
shouldDisableDate() should be implemented and return true if the passed date should be considered disabled in the passed view
Use executeDefault() to run the original method to fall back on default behavior.
|
public void setCalendar(Calendar calendar)
public Calendar getCalendar()
public boolean executeDefault(java.util.Date date, CalendarView calendarView)
public abstract boolean shouldDisableDate(java.util.Date date, CalendarView calendarView)
date
- the date in questioncalendarView
- the view in which the date cell exists