Class ShowDateCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.ShowDateCustomizer
Called to determine whether a particular date should be visible in the passed view
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
executeDefault
(Date date, CalendarView calendarView) Call executeDefault() to run the original method for default behaviorReturns the Calendar being customizedvoid
setCalendar
(Calendar calendar) abstract boolean
shouldShowDate
(Date date, CalendarView calendarView) shouldShowDate() should be implemented and return true if the passed date should be visible in the passed view Use executeDefault() to run the original method to fall back on default behavior.
-
Constructor Details
-
ShowDateCustomizer
public ShowDateCustomizer()
-
-
Method Details
-
setCalendar
-
getCalendar
Returns the Calendar being customized- Returns:
- Calendar being customized
-
executeDefault
Call executeDefault() to run the original method for default behavior -
shouldShowDate
shouldShowDate() should be implemented and return true if the passed date should be visible in the passed view Use executeDefault() to run the original method to fall back on default behavior.- Parameters:
date
- the date in questioncalendarView
- the view in which the date cell exists- Returns:
- true if the date should be visible in the passed view, or false otherwise
-