ClickHandlerAdapter class
Handler for {@link ClickEvent} events.
class ClickHandlerAdapter extends EventHandlerAdapter implements ClickHandler { ClickHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback); /** * Called when a native click event is fired. * * @param event the {@link ClickEvent} that was fired */ void onClick(ClickEvent event) { callback(event); } }
Extends
EventHandlerAdapter > ClickHandlerAdapter
Implements
Constructors
new ClickHandlerAdapter(EventHandlerAdapterCallback callback) #
Properties
EventHandlerAdapterCallback callback #
inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback
Methods
void onClick(ClickEvent event) #
Called when a native click event is fired.
@param event the {@link ClickEvent} that was fired
void onClick(ClickEvent event) { callback(event); }