public class DesignerPageDrawable
extends org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
Constructor and Description |
---|
DesignerPageDrawable(org.pentaho.reporting.engine.classic.core.layout.model.LogicalPageBox rootBox,
org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData metaData,
org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager,
org.pentaho.reporting.engine.classic.core.Section section) |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g2,
Rectangle2D area)
Draws the object.
|
org.pentaho.reporting.engine.classic.core.layout.model.RenderNode[] |
getNodesAt(double x,
double y,
double width,
double height,
String namespace,
String name) |
org.pentaho.reporting.engine.classic.core.layout.model.RenderNode[] |
getNodesAt(double x,
double y,
String namespace,
String name)
Retries the nodes under the given coordinate which have a given attribute set.
|
org.pentaho.reporting.engine.classic.core.util.geom.StrictBounds |
getRootElementBounds() |
boolean |
startCanvasBox(org.pentaho.reporting.engine.classic.core.layout.model.CanvasRenderBox box) |
clearClipping, clip, getContentAreaX1, getContentAreaX2, getGraphics, getHeight, getLogicalPageBox, getMetaData, getPageFormat, getPreferredSize, getWidth, init, isClipOnWordBoundary, isDrawPageBackground, isOutlineMode, isPreserveAspectRatio, isTextLineOverflow, setContentAreaX1, setContentAreaX2, setDrawPageBackground, setOutlineMode, setTextLineOverflow
public DesignerPageDrawable(org.pentaho.reporting.engine.classic.core.layout.model.LogicalPageBox rootBox, org.pentaho.reporting.engine.classic.core.layout.output.OutputProcessorMetaData metaData, org.pentaho.reporting.libraries.resourceloader.ResourceManager resourceManager, org.pentaho.reporting.engine.classic.core.Section section)
public org.pentaho.reporting.engine.classic.core.util.geom.StrictBounds getRootElementBounds()
public void draw(Graphics2D g2, Rectangle2D area)
draw
in interface org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PageDrawable
draw
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
g2
- the graphics device.area
- the area inside which the object should be drawn. This is the clipping area for the page.public boolean startCanvasBox(org.pentaho.reporting.engine.classic.core.layout.model.CanvasRenderBox box)
startCanvasBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
public org.pentaho.reporting.engine.classic.core.layout.model.RenderNode[] getNodesAt(double x, double y, String namespace, String name)
getNodesAt
in interface org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PageDrawable
getNodesAt
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
x
- the x coordinatey
- the y coordinatenamespace
- the namespace on which to filter onname
- the name on which to filter onpublic org.pentaho.reporting.engine.classic.core.layout.model.RenderNode[] getNodesAt(double x, double y, double width, double height, String namespace, String name)
getNodesAt
in interface org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PageDrawable
getNodesAt
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable