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