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