com.smartgwt.client.widgets.drawing.events

## Interface HasClickHandlers

- All Superinterfaces:
    com.google.gwt.event.shared.HasHandlers
  All Known Implementing Classes:
    DrawBlockConnector, DrawCurve, DrawDiamond, DrawGroup, DrawImage, DrawItem, DrawLabel, DrawLine, DrawLinePath, DrawOval, DrawPath, DrawPolygon, DrawRect, DrawSector, DrawShape, DrawTriangle

      public interface HasClickHandlers
      extends com.google.gwt.event.shared.HasHandlers

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `com.google.gwt.event.shared.HandlerRegistration` | `addClickHandler(ClickHandler handler)` Notification fired when the user clicks on this DrawItem.

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

      `fireEvent`

- - ### Method Detail

    - #### addClickHandler

          com.google.gwt.event.shared.HandlerRegistration addClickHandler(ClickHandler handler)

      Notification fired when the user clicks on this DrawItem.

      Note that if this item is part of a `DrawGroup`, then the group's `useGroupRect` setting affects whether this item receives the notification. If useGroupRect is true, then this item will not receive the notification. Otherwise, the item receives the notification and notification bubbles up to the group.

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