Package org.pentaho.reporting.designer.core.editor.report.drag

Examples of org.pentaho.reporting.designer.core.editor.report.drag.ResizeLeftDragOperation


        break;
      case MIDDLE_RIGHT:
        operation = new ResizeRightDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        break;
      case MIDDLE_LEFT:
        operation = new ResizeLeftDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        break;
      case TOP_CENTER:
        operation = new ResizeTopDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        break;
      case BOTTOM_LEFT:
      {
        final CompoundDragOperation op = new CompoundDragOperation();
        op.add(new ResizeLeftDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        op.add(new ResizeBottomDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        operation = op;
        break;
      }
      case BOTTOM_RIGHT:
      {
        final CompoundDragOperation op = new CompoundDragOperation();
        op.add(new ResizeRightDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        op.add(new ResizeBottomDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        operation = op;
        break;
      }
      case TOP_LEFT:
      {
        final CompoundDragOperation op = new CompoundDragOperation();
        op.add(new ResizeLeftDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        op.add(new ResizeTopDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        operation = op;
        break;
      }
      case TOP_RIGHT:
View Full Code Here


        break;
      case MIDDLE_RIGHT:
        operation = new ResizeRightDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        break;
      case MIDDLE_LEFT:
        operation = new ResizeLeftDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        break;
      case TOP_CENTER:
        operation = new ResizeTopDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        break;
      case BOTTOM_LEFT:
      {
        final CompoundDragOperation op = new CompoundDragOperation();
        op.add(new ResizeLeftDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        op.add(new ResizeBottomDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        operation = op;
        break;
      }
      case BOTTOM_RIGHT:
      {
        final CompoundDragOperation op = new CompoundDragOperation();
        op.add(new ResizeRightDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        op.add(new ResizeBottomDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        operation = op;
        break;
      }
      case TOP_LEFT:
      {
        final CompoundDragOperation op = new CompoundDragOperation();
        op.add(new ResizeLeftDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        op.add(new ResizeTopDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel));
        operation = op;
        break;
      }
      case TOP_RIGHT:
View Full Code Here

TOP

Related Classes of org.pentaho.reporting.designer.core.editor.report.drag.ResizeLeftDragOperation

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.