Class EventCanvasMenuCustomizer
java.lang.Object
com.smartgwt.client.widgets.calendar.EventCanvasMenuCustomizer
Called to determine the hover HTML to be displayed when the user hovers over an eventCanvas in a calendar.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the Calendar over which the hover occurredabstract MenuItem[]
getEventCanvasMenuItems
(EventCanvas canvas) If this method returns a value, it is expected to return an array ofitems
applicable to the passed canvas and its event.void
setCalendar
(Calendar calendar)
-
Constructor Details
-
EventCanvasMenuCustomizer
public EventCanvasMenuCustomizer()
-
-
Method Details
-
setCalendar
-
getCalendar
Returns the Calendar over which the hover occurred- Returns:
- Calendar over which the hover occurred
-
getEventCanvasMenuItems
If this method returns a value, it is expected to return an array ofitems
applicable to the passed canvas and its event. If an array with valid entries is returned, the rollovercontext button
is shown for the passed canvas.- Parameters:
canvas
- the canvas to get menu items for- Returns:
-