Package com.smartgwt.client.widgets.calendar.events

# Interface HasEventClickHandlers

All Superinterfaces:
  `HasHandlers`

All Known Implementing Classes:
  `Calendar`, `Timeline`

public interface HasEventClickHandlers extends HasHandlers

- ## Method Summary

  Modifier and Type
  Method
  Description
  `HandlerRegistration`
  `addEventClickHandler(EventClickHandler handler)`
  Called whenever an event is clicked on in the day, week or month views.

  ### Methods inherited from interface com.google.gwt.event.shared.HasHandlers

  `fireEvent`

- ## Method Details

  - ### addEventClickHandler

    HandlerRegistration addEventClickHandler(EventClickHandler handler)
    Called whenever an event is clicked on in the day, week or month views.

    By default, a dialog appears showing details for the event, and offering the ability to edit events that can be edited. Call `CalendarEventClick.cancel()` from within `EventClickHandler.onEventClick(com.smartgwt.client.widgets.calendar.events.CalendarEventClick)` to cancel the default action. This is a good place to, for example, show a completely customized event dialog instead of the default one.

    Parameters:
      `handler` - the eventClick handler
    Returns:
      `HandlerRegistration` used to remove this handler