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

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


    {
      case MOVE:
        operation = new MoveDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        break;
      case BOTTOM_CENTER:
        operation = new ResizeBottomDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        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:
      {
View Full Code Here


    {
      case MOVE:
        operation = new MoveDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        break;
      case BOTTOM_CENTER:
        operation = new ResizeBottomDragOperation(visualElements, originPoint, horizontalSnapModel, verticalSnapModel);
        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:
      {
View Full Code Here

TOP

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

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.