Class CellHoverCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.CellHoverCustomizer
Called to determine the hover text for a given cell in a CalendarView
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Calendar over which the hover occurredabstract String
getHoverHTML
(ListGridRecord record, int rowNum, int colNum, Date date, String defaultValue, CalendarView view) getHoverHTML() should be implemented and return the string of HTML to display in the hover for a given cell in a CalendarViewvoid
setCalendar
(Calendar calendar)
-
Constructor Details
-
CellHoverCustomizer
public CellHoverCustomizer()
-
-
Method Details
-
setCalendar
-
getCalendar
Returns the Calendar over which the hover occurred- Returns:
- Calendar over which the hover occurred
-
getHoverHTML
public abstract String getHoverHTML(ListGridRecord record, int rowNum, int colNum, Date date, String defaultValue, CalendarView view) getHoverHTML() should be implemented and return the string of HTML to display in the hover for a given cell in a CalendarView- Parameters:
record
- ListGridRecord the record at the passed rowNumrowNum
- Integer the row index of the cell being hoveredcalNum
- Integer the column index of the cell being hovereddate
- Date the snap date at the mouse pointerdefaultValue
- String the default hover HTMLcalendarView
- CalendarView a reference to the calendarView containing the hover- Returns:
- String The formatted hover text for the values passed in
-