public interface HasClickHandlers extends HasHandlers
Modifier and Type | Method and Description |
---|---|
HandlerRegistration |
addClickHandler(ClickHandler handler)
Called when this FormItem is clicked on.
|
fireEvent
HandlerRegistration addClickHandler(ClickHandler handler)
Note: click()
is available on StaticTextItem, BlurbItems,
ButtonItem, and derivatives. Other form items (such as HiddenItem) do not support click()
.
handler
- the click handlerHandlerRegistration
used to remove this handler