Class SelectionOverlayInformation
- java.lang.Object
-
- org.pentaho.reporting.designer.core.editor.report.SelectionOverlayInformation
-
public class SelectionOverlayInformation extends Object
The selection overlay has a coordinate system that matches the origin (0,0) of the band. However, internally it holds all coordinates as *non*-normalized coordinates, so the zoom-factor is already calculated in.- Author:
- Thomas Morgner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SelectionOverlayInformation.InRangeIndicator
-
Constructor Summary
Constructors Constructor Description SelectionOverlayInformation(org.pentaho.reporting.engine.classic.core.Element selectedElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
draw(Graphics2D g2, ImageObserver obs)
SelectionOverlayInformation.InRangeIndicator
getMouseInRangeIndicator(Point2D normalizedPoint)
org.pentaho.reporting.engine.classic.core.Element
getSelectedElement()
double
getZoomFactor()
String
toString()
void
validate(double zoomFactor)
-
-
-
Method Detail
-
getSelectedElement
public org.pentaho.reporting.engine.classic.core.Element getSelectedElement()
-
getZoomFactor
public double getZoomFactor()
-
validate
public void validate(double zoomFactor)
-
getMouseInRangeIndicator
public SelectionOverlayInformation.InRangeIndicator getMouseInRangeIndicator(Point2D normalizedPoint)
-
draw
public void draw(Graphics2D g2, ImageObserver obs)
-
-