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 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: