Class DragHoverCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.DragHoverCustomizer
Called to determine the hover text to show during drag operations in Calendars
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Calendar over which the hover occurredabstract String
getHoverHTML
(CalendarEvent event, String defaultValue, CalendarView view) getHoverHTML() should be implemented and return the string of HTML to display in the hover during a drag operationvoid
setCalendar
(Calendar calendar)
-
Constructor Details
-
DragHoverCustomizer
public DragHoverCustomizer()
-
-
Method Details
-
setCalendar
-
getCalendar
Returns the Calendar over which the hover occurred- Returns:
- Calendar over which the hover occurred
-
getHoverHTML
getHoverHTML() should be implemented and return the string of HTML to display in the hover during a drag operation- Parameters:
calendarEvent
- CalendarEvent the existing event being dragged, or the details of the current drag-select range, representing a new eventdefaultValue
- String the default hover text as generated by the TimelinecalendarView
- CalendarView a reference to the calendarView containing the drag- Returns:
- String The formatted hover text for the values passed in
-