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