MouseDownHandlerAdapter class
Handler interface for {@link MouseDownEvent} events.
class MouseDownHandlerAdapter extends EventHandlerAdapter implements MouseDownHandler {
MouseDownHandlerAdapter(EventHandlerAdapterCallback callback) : super(callback);
/**
* Called when MouseDown is fired.
*
* @param event the {@link MouseDownEvent} that was fired
*/
void onMouseDown(MouseDownEvent event) {
callback(event);
}
}
Extends
EventHandlerAdapter > MouseDownHandlerAdapter
Implements
Constructors
new MouseDownHandlerAdapter(EventHandlerAdapterCallback callback) #
Properties
EventHandlerAdapterCallback callback #
inherited from EventHandlerAdapter
EventHandlerAdapterCallback callback
Methods
void onMouseDown(MouseDownEvent event) #
Called when MouseDown is fired.
@param event the {@link MouseDownEvent} that was fired
void onMouseDown(MouseDownEvent event) {
callback(event);
}