public void addDomHandlerOnObjectDrop(final GapDropHandler dragGapDropHandler) { droppable.addDropHandler(new DropHandler() { @Override public void onDrop(DropEvent event) { Optional<DragDataObject> objectFromEvent = dataObjectFromEventExtractor.extractDroppedObjectFromEvent(event); if (objectFromEvent.isPresent()) { dragGapDropHandler.onDrop(objectFromEvent.get()); } } }); }
public HandlerRegistration addDropHandler(DropHandler handler) { return addBitlessDomHandler(handler, DropEvent.getType()); }
@Override public HandlerRegistration addDropHandler(DropHandler p_handler) { return m_intBox.addDropHandler( p_handler ); }
/** * */ @Override public HandlerRegistration addDropHandler(DropHandler handler) { return addBitlessDomHandler(handler, DropEvent.getType()); }
@Override public com.google.gwt.event.shared.HandlerRegistration addDropHandler(DropHandler handler) { return this.addBitlessDomHandler(handler, DropEvent.getType()); }
@Override public HandlerRegistration addDropHandler(DropHandler handler) { return this.addBitlessDomHandler(handler, DropEvent.getType()); }
public HandlerRegistration addDropHandler(DropHandler handler);