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

项目:empiria.player    文件:DragGapViewImpl.java   
private void addDragEndHandlerToItem(DraggableObject<FlowPanel> draggableObject) {
    draggableObject.addDragEndHandler(new DragEndHandler() {

        @Override
        public void onDragEnd(DragEndEvent event) {
            removeDraggableStyleFromItem();
            dragEndHandler.onDragEnd(event);
        }
    });
}
项目:empiria.player    文件:SourceListViewItem.java   
private void addDragEndHandler() {
    draggable.addDragEndHandler(new DragEndHandler() {
        @Override
        public void onDragEnd(DragEndEvent event) {
            scormScrollPanel.unlockScroll();
            getElement().removeClassName(styleNames.QP_DRAGGED_DRAG());
            sourceListView.onDragEvent(DragDropEventTypes.DRAG_END, SourceListViewItem.this, event);
        }
    });
}
项目:empiria.player    文件:SourceListConnectedDragHandlerTest.java   
@Test
public void shouldInformSourcelistManagerOnDragEnd() throws Exception {
    DragEndEvent event = Mockito.mock(DragEndEvent.class);

    dragHandler.onDragEnd(event);

    verify(sourcelistManagerAdapter).dragFinished();
}
项目:empiria.player    文件:SourceListConnectedDragHandler.java   
@Override
public void onDragEnd(DragEndEvent event) {
    sourceListManagerAdapter.dragFinished();
}
项目:appinventor-extensions    文件:HandlerPanel.java   
public HandlerRegistration addDragEndHandler(DragEndHandler handler) {
  return addBitlessDomHandler(handler, DragEndEvent.getType());
}
项目:putnami-web-toolkit    文件:AbstractInput.java   
@Override
public com.google.gwt.event.shared.HandlerRegistration addDragEndHandler(DragEndHandler handler) {
    return this.addBitlessDomHandler(handler, DragEndEvent.getType());
}
项目:putnami-web-toolkit    文件:ListItem.java   
@Override
public HandlerRegistration addDragEndHandler(DragEndHandler handler) {
    return this.addBitlessDomHandler(handler, DragEndEvent.getType());
}
项目:putnami-web-toolkit    文件:Anchor.java   
@Override
public HandlerRegistration addDragEndHandler(DragEndHandler handler) {
    return this.addBitlessDomHandler(handler, DragEndEvent.getType());
}