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