Package org.gwt.mosaic.ui.client.layout.BorderLayout

Examples of org.gwt.mosaic.ui.client.layout.BorderLayout.Region


      draggableOldAbsoluteLeft = context.draggable.getAbsoluteLeft();
      draggableOldAbsoluteTop = context.draggable.getAbsoluteTop();
    }
   
    public void dragMove() {
      Region region = layoutData.getRegion();
      if (region == Region.NORTH) {
        int desiredTop = context.desiredDraggableY - boundaryOffsetY;
        desiredTop = Math.max(0, Math.min(desiredTop, dropTargetClientHeight
            - context.draggable.getOffsetHeight()));
        DOMUtil.fastSetElementPosition(movablePanel.getElement(),
View Full Code Here


    }

    @Override
    public void dragEnd() {
      try {
        Region region = layoutData.getRegion();
        if (region == Region.NORTH) {
          int delta = context.draggable.getAbsoluteTop()
              - draggableOldAbsoluteTop;
          int height = widget.getOffsetHeight() + delta;
          height = Math.min(Math.max(height, minHeight), maxHeight);
View Full Code Here

TOP

Related Classes of org.gwt.mosaic.ui.client.layout.BorderLayout.Region

Copyright © 2018 www.massapicom. 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.