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