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