Class ResizeLeftDragOperation
- java.lang.Object
-
- org.pentaho.reporting.designer.core.editor.report.drag.AbstractMouseDragOperation
-
- org.pentaho.reporting.designer.core.editor.report.drag.ResizeLeftDragOperation
-
- All Implemented Interfaces:
MouseDragOperation
public class ResizeLeftDragOperation extends AbstractMouseDragOperation
This is a combination of move and resize. At first we move and then we add the moved distance to the element's height/width.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description ResizeLeftDragOperation(List<org.pentaho.reporting.engine.classic.core.Element> selectedVisualElements, Point2D originPoint, SnapPositionsModel horizontalSnapModel, SnapPositionsModel verticalSnapModel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
finish()
void
update(Point2D normalizedPoint, double zoomFactor)
-
Methods inherited from class org.pentaho.reporting.designer.core.editor.report.drag.AbstractMouseDragOperation
getElementHeight, getElementWidth, getElementX, getElementY, getHorizontalSnapModel, getOriginPointX, getOriginPointY, getSelectedVisualElements, getVerticalSnapModel, isCanvasElement, isDescendant
-
-
-
-
Constructor Detail
-
ResizeLeftDragOperation
public ResizeLeftDragOperation(List<org.pentaho.reporting.engine.classic.core.Element> selectedVisualElements, Point2D originPoint, SnapPositionsModel horizontalSnapModel, SnapPositionsModel verticalSnapModel)
-
-
Method Detail
-
update
public void update(Point2D normalizedPoint, double zoomFactor)
-
finish
public void finish()
-
-