Class HeaderLevelTitleCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.HeaderLevelTitleCustomizer
Called to determine the Title text for a given span in a HeaderLevel in Timeline views
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Calendar over which the hover occurredabstract String
getTitle
(HeaderLevel headerLevel, Date startDate, Date endDate, 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 HeaderLevelvoid
setCalendar
(Calendar calendar)
-
Constructor Details
-
HeaderLevelTitleCustomizer
public HeaderLevelTitleCustomizer()
-
-
Method Details
-
setCalendar
-
getCalendar
Returns the Calendar over which the hover occurred- Returns:
- Calendar over which the hover occurred
-
getTitle
public abstract String getTitle(HeaderLevel headerLevel, Date startDate, Date endDate, 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- Parameters:
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- Returns:
- String The formatted title for the values passed in
-