public abstract class AbstractMouseDragOperation extends Object implements MouseDragOperation
Modifier | Constructor and Description |
---|---|
protected |
AbstractMouseDragOperation(List<org.pentaho.reporting.engine.classic.core.Element> selectedVisualElements,
Point2D originPoint,
SnapPositionsModel horizontalSnapModel,
SnapPositionsModel verticalSnapModel) |
Modifier and Type | Method and Description |
---|---|
long[] |
getElementHeight() |
long[] |
getElementWidth() |
long[] |
getElementX() |
long[] |
getElementY() |
SnapPositionsModel |
getHorizontalSnapModel() |
long |
getOriginPointX() |
long |
getOriginPointY() |
org.pentaho.reporting.engine.classic.core.Element[] |
getSelectedVisualElements() |
SnapPositionsModel |
getVerticalSnapModel() |
protected boolean |
isCanvasElement(org.pentaho.reporting.engine.classic.core.Element reportElement) |
protected boolean |
isDescendant(org.pentaho.reporting.engine.classic.core.Element element,
List<org.pentaho.reporting.engine.classic.core.Element> elements)
Tests, whether the array of elements contains a parent of the given element.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
finish, update
protected AbstractMouseDragOperation(List<org.pentaho.reporting.engine.classic.core.Element> selectedVisualElements, Point2D originPoint, SnapPositionsModel horizontalSnapModel, SnapPositionsModel verticalSnapModel)
protected boolean isDescendant(org.pentaho.reporting.engine.classic.core.Element element, List<org.pentaho.reporting.engine.classic.core.Element> elements)
element
- elements
- public org.pentaho.reporting.engine.classic.core.Element[] getSelectedVisualElements()
public long[] getElementX()
public long[] getElementY()
public long[] getElementWidth()
public long[] getElementHeight()
public SnapPositionsModel getHorizontalSnapModel()
public SnapPositionsModel getVerticalSnapModel()
public long getOriginPointX()
public long getOriginPointY()
protected boolean isCanvasElement(org.pentaho.reporting.engine.classic.core.Element reportElement)
Copyright © 2017 Hitachi Vantara. All rights reserved.