Examples of DropController


Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

  /**
   * @deprecated Use {@link DragEvent#getContext() getContext()}.{@link DragContext#finalDropController finalDropController}.{@link DropController#getDropTarget() getDropTarget()} instead.
   */
  public Widget getDropTarget() {
    DropController finalDropController = context.finalDropController;
    return finalDropController == null ? null : finalDropController.getDropTarget();
  }
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

    ArrayList list = new ArrayList();

    if (context.draggable != null) {
      WidgetArea boundaryArea = new WidgetArea(boundaryPanel, null);
      for (Iterator iterator = dropControllerList.iterator(); iterator.hasNext();) {
        DropController dropController = (DropController) iterator.next();
        Candidate candidate = new Candidate(dropController);
        if (DOMUtil.isOrContains(context.draggable.getElement(),
            candidate.getDropTarget().getElement())) {
          continue;
        }
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

          - context.draggable.getOffsetHeight()));
    }

    DOMUtil.fastSetElementPosition(movablePanel.getElement(), desiredLeft, desiredTop);

    DropController newDropController = getIntersectDropController(context.mouseX, context.mouseY);
    if (context.dropController != newDropController) {
      if (context.dropController != null) {
        context.dropController.onLeave(context);
      }
      context.dropController = newDropController;
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

      savedWidgetInfoMap.put(widget, info);
    }
  }

  private DropController getIntersectDropController(int x, int y) {
    DropController dropController = dropControllerCollection.getIntersectDropController(x, y);
    return dropController != null ? dropController : boundaryDropController;
  }
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

          - context.draggable.getOffsetHeight()));
    }

    DOMUtil.fastSetElementPosition(movablePanel.getElement(), desiredLeft, desiredTop);

    DropController newDropController = getIntersectDropController(context.mouseX, context.mouseY);
    if (context.dropController != newDropController) {
      if (context.dropController != null) {
        context.dropController.onLeave(context);
      }
      context.dropController = newDropController;
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

  public boolean getBehaviorDragProxy() {
    return dragProxyEnabled;
  }

  private DropController getIntersectDropController(int x, int y) {
    DropController dropController = dropControllerCollection.getIntersectDropController(x, y);
    return dropController != null ? dropController : boundaryDropController;
  }
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

          - context.draggable.getOffsetHeight()));
    }

    DOMUtil.fastSetElementPosition(movablePanel.getElement(), desiredLeft, desiredTop);

    DropController newDropController = getIntersectDropController(context.mouseX, context.mouseY);
    if (context.dropController != newDropController) {
      if (context.dropController != null) {
        context.dropController.onLeave(context);
      }
      context.dropController = newDropController;
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

      }
    }
  }

  private DropController getIntersectDropController(int x, int y) {
    DropController dropController = dropControllerCollection.getIntersectDropController(x, y);
    return dropController != null ? dropController : boundaryDropController;
  }
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

      desiredTop = Math.max(0, Math.min(desiredTop, dropTargetClientHeight - context.draggable.getOffsetHeight()));
    }

    DOMUtil.fastSetElementPosition(movablePanel.getElement(), desiredLeft, desiredTop);

    DropController newDropController = getIntersectDropController(context.mouseX, context.mouseY);
    if (context.dropController != newDropController) {
      if (context.dropController != null) {
        context.dropController.onLeave(context);
      }
      context.dropController = newDropController;
View Full Code Here

Examples of com.allen_sauer.gwt.dnd.client.drop.DropController

      savedWidgetInfoMap.put(widget, info);
    }
  }

  protected DropController getIntersectDropController(int x, int y) {
    DropController dropController = dropControllerCollection.getIntersectDropController(x, y);
    return dropController != null ? dropController : boundaryDropController;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.