Class DisableDateCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.DisableDateCustomizer
Called to determine whether the passed date should be considered disabled in the passed view
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanexecuteDefault(Date date, CalendarView calendarView) Call executeDefault() to run the original method for default behaviorReturns the Calendar being customizedvoidsetCalendar(Calendar calendar) abstract booleanshouldDisableDate(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.
- 
Constructor Details- 
DisableDateCustomizerpublic DisableDateCustomizer()
 
- 
- 
Method Details- 
setCalendar
- 
getCalendarReturns the Calendar being customized- Returns:
- Calendar being customized
 
- 
executeDefaultCall executeDefault() to run the original method for default behavior
- 
shouldDisableDateshouldDisableDate() 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.- Parameters:
- date- the date in question
- calendarView- the view in which the date cell exists
- Returns:
- true if the date should be considered disabled, or false otherwise
 
 
-