public abstract class DateHeaderCustomizer
extends java.lang.Object
Constructor and Description |
---|
DateHeaderCustomizer() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getHeaderTitle(java.util.Date date,
int dayOfWeek,
java.lang.String defaultValue,
CalendarView calendarView)
getHeaderTitle() should be implemented and return the HTML string to display in the
header for the passed date or dayOfWeek.
|
public abstract java.lang.String getHeaderTitle(java.util.Date date, int dayOfWeek, java.lang.String defaultValue, CalendarView calendarView)
date
- the date to return the header-title for - note that the month view passes a
dayOfWeek value but not a date, because a single column represents multiple datesdayOfWeek
- the week-day number of the passed datedefaultValue
- the default header title - returning null will also use this valuecalendarView
- the view in which the date header is being rendered