public abstract class HeaderLevelTitleCustomizer
extends java.lang.Object
Constructor and Description |
---|
HeaderLevelTitleCustomizer() |
Modifier and Type | Method and Description |
---|---|
Calendar |
getCalendar()
Returns the Calendar over which the hover occurred
|
abstract java.lang.String |
getTitle(HeaderLevel headerLevel,
java.util.Date startDate,
java.util.Date endDate,
java.lang.String defaultValue,
Calendar calendar)
getTitle() should be implemented and return the string of HTML to display in the header for a given span in the HeaderLevel
|
void |
setCalendar(Calendar calendar) |
public void setCalendar(Calendar calendar)
public Calendar getCalendar()
public abstract java.lang.String getTitle(HeaderLevel headerLevel, java.util.Date startDate, java.util.Date endDate, java.lang.String defaultValue, Calendar calendar)
headerLevel
- HeaderLevel a reference to this headerLevelstartDate
- Date the start of the date-range covered by this span in this levelendDate
- Date the end of the date-range covered by this span in this level - may be nulldefaultValue
- String the default title as generated by the Timelinecalendar
- Calendar a reference to the Calendar or Timeline