Class AbstractMouseDragOperation

    • Constructor Detail

      • AbstractMouseDragOperation

        protected AbstractMouseDragOperation​(List<org.pentaho.reporting.engine.classic.core.Element> selectedVisualElements,
                                             Point2D originPoint,
                                             SnapPositionsModel horizontalSnapModel,
                                             SnapPositionsModel verticalSnapModel)
    • Method Detail

      • isDescendant

        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.
        Parameters:
        element -
        elements -
        Returns:
      • getSelectedVisualElements

        public org.pentaho.reporting.engine.classic.core.Element[] getSelectedVisualElements()
      • getElementX

        public long[] getElementX()
      • getElementY

        public long[] getElementY()
      • getElementWidth

        public long[] getElementWidth()
      • getElementHeight

        public long[] getElementHeight()
      • getOriginPointX

        public long getOriginPointX()
      • getOriginPointY

        public long getOriginPointY()
      • isCanvasElement

        protected boolean isCanvasElement​(org.pentaho.reporting.engine.classic.core.Element reportElement)