Java 类com.google.gwt.event.dom.client.DropHandler 实例源码

项目:empiria.player    文件:TextEntryGapModulePresenterBase.java   
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());
            }
        }
    });
}
项目:appinventor-extensions    文件:HandlerPanel.java   
public HandlerRegistration addDropHandler(DropHandler handler) {
  return addBitlessDomHandler(handler, DropEvent.getType());
}
项目:fullmetalgalaxy    文件:WgtIntBox.java   
@Override
public HandlerRegistration addDropHandler(DropHandler p_handler)
{
  return m_intBox.addDropHandler( p_handler );
}
项目:gwthtml5apps    文件:DropDockRootPanel.java   
/**
* 
*/
 @Override
   public HandlerRegistration addDropHandler(DropHandler handler) {
       return addBitlessDomHandler(handler, DropEvent.getType());
   }
项目:putnami-web-toolkit    文件:AbstractInput.java   
@Override
public com.google.gwt.event.shared.HandlerRegistration addDropHandler(DropHandler handler) {
    return this.addBitlessDomHandler(handler, DropEvent.getType());
}
项目:putnami-web-toolkit    文件:ListItem.java   
@Override
public HandlerRegistration addDropHandler(DropHandler handler) {
    return this.addBitlessDomHandler(handler, DropEvent.getType());
}
项目:putnami-web-toolkit    文件:Anchor.java   
@Override
public HandlerRegistration addDropHandler(DropHandler handler) {
    return this.addBitlessDomHandler(handler, DropEvent.getType());
}
项目:empiria.player    文件:HasDropHandlers.java   
public HandlerRegistration addDropHandler(DropHandler handler);
项目:empiria.player    文件:HasDragHandlers.java   
public HandlerRegistration addDropHandler(DropHandler handler);