Package com.smartgwt.client.widgets.calendar

# Class EventCanvasMenuCustomizer

java.lang.Object
com.smartgwt.client.widgets.calendar.EventCanvasMenuCustomizer

public abstract class EventCanvasMenuCustomizer extends Object
Called to determine the hover HTML to be displayed when the user hovers over an eventCanvas in a calendar.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `EventCanvasMenuCustomizer()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Calendar`
  `getCalendar()`
  Returns the Calendar over which the hover occurred
  `abstract MenuItem[]`
  `getEventCanvasMenuItems(EventCanvas canvas)`
  If this method returns a value, it is expected to return an array of `items` applicable to the passed canvas and its event.
  `void`
  `setCalendar(Calendar calendar)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### EventCanvasMenuCustomizer

    public EventCanvasMenuCustomizer()

- ## Method Details

  - ### setCalendar

    public void setCalendar(Calendar calendar)

  - ### getCalendar

    public Calendar getCalendar()
    Returns the Calendar over which the hover occurred
    Returns:
      Calendar over which the hover occurred

  - ### getEventCanvasMenuItems

    public abstract MenuItem[] getEventCanvasMenuItems(EventCanvas canvas)
    If this method returns a value, it is expected to return an array of `items` applicable to the passed canvas and its event. If an array with valid entries is returned, the rollover `context button` is shown for the passed canvas.
    Parameters:
      `canvas` - the canvas to get menu items for
    Returns: