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.
|
protected void |
drawOutlineBox(Graphics2D g2,
org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box) |
protected void |
finishAutoBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box) |
protected void |
finishBlockBox(org.pentaho.reporting.engine.classic.core.layout.model.BlockRenderBox box) |
protected void |
finishCanvasBox(org.pentaho.reporting.engine.classic.core.layout.model.CanvasRenderBox box) |
protected void |
finishInlineBox(org.pentaho.reporting.engine.classic.core.layout.model.InlineRenderBox box) |
protected void |
finishOtherBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box) |
protected void |
finishRowBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box) |
protected void |
finishTableBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableRenderBox box) |
protected void |
finishTableCellBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableCellRenderBox box) |
protected void |
finishTableRowBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableRowRenderBox box) |
protected void |
finishTableSectionBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableSectionRenderBox box) |
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() |
protected boolean |
isIgnoreBorderWhenDrawingOutline() |
protected void |
processOtherNode(org.pentaho.reporting.engine.classic.core.layout.model.RenderNode node) |
protected void |
processParagraphChilds(org.pentaho.reporting.engine.classic.core.layout.model.ParagraphRenderBox box) |
protected void |
processRenderableContent(org.pentaho.reporting.engine.classic.core.layout.model.RenderableReplacedContentBox box) |
protected void |
processRootBand(org.pentaho.reporting.engine.classic.core.util.geom.StrictBounds pageBounds) |
protected boolean |
startAutoBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box) |
protected boolean |
startBlockBox(org.pentaho.reporting.engine.classic.core.layout.model.BlockRenderBox box) |
protected boolean |
startBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box) |
boolean |
startCanvasBox(org.pentaho.reporting.engine.classic.core.layout.model.CanvasRenderBox box) |
protected boolean |
startInlineBox(org.pentaho.reporting.engine.classic.core.layout.model.InlineRenderBox box) |
protected boolean |
startOtherBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box) |
protected boolean |
startRowBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box) |
protected boolean |
startTableBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableRenderBox box) |
protected boolean |
startTableCellBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableCellRenderBox box) |
protected boolean |
startTableRowBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableRowRenderBox box) |
protected boolean |
startTableSectionBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableSectionRenderBox box) |
clearClipping, clip, configureGraphics, configureStroke, createClipRect, drawAnchor, drawBookmark, drawComplexText, drawDrawable, drawHyperlink, drawImage, drawReplacedContent, drawText, drawText, getBoxArea, getCodePointBuffer, getContentAreaX1, getContentAreaX2, getDrawArea, getGraphics, getHeight, getLogicalPageBox, getMetaData, getPageFormat, getPreferredSize, getResourceManager, getRootBox, getTextSpec, getWidth, init, isClipOnWordBoundary, isDrawPageBackground, isNormalTextSpacing, isOutlineMode, isPreserveAspectRatio, isTextLineOverflow, processLinksAndAnchors, processTextLine, renderBoxBorderAndBackground, setContentAreaX1, setContentAreaX2, setDrawArea, setDrawPageBackground, setOutlineMode, setTextLineOverflow, setTextSpec, startTableColumnGroupBox
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.protected void processRootBand(org.pentaho.reporting.engine.classic.core.util.geom.StrictBounds pageBounds)
processRootBand
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected boolean startBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box)
startBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
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
protected void finishCanvasBox(org.pentaho.reporting.engine.classic.core.layout.model.CanvasRenderBox box)
finishCanvasBox
in class org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
protected boolean startBlockBox(org.pentaho.reporting.engine.classic.core.layout.model.BlockRenderBox box)
startBlockBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void finishBlockBox(org.pentaho.reporting.engine.classic.core.layout.model.BlockRenderBox box)
finishBlockBox
in class org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
protected boolean startRowBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box)
startRowBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void finishRowBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box)
finishRowBox
in class org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
protected boolean startInlineBox(org.pentaho.reporting.engine.classic.core.layout.model.InlineRenderBox box)
startInlineBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void finishInlineBox(org.pentaho.reporting.engine.classic.core.layout.model.InlineRenderBox box)
finishInlineBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected boolean startTableCellBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableCellRenderBox box)
startTableCellBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void finishTableCellBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableCellRenderBox box)
finishTableCellBox
in class org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
protected boolean startTableRowBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableRowRenderBox box)
startTableRowBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void finishTableRowBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableRowRenderBox box)
finishTableRowBox
in class org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
protected boolean startTableSectionBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableSectionRenderBox box)
startTableSectionBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void finishTableSectionBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableSectionRenderBox box)
finishTableSectionBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected boolean startTableBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableRenderBox box)
startTableBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void finishTableBox(org.pentaho.reporting.engine.classic.core.layout.model.table.TableRenderBox box)
finishTableBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected boolean startOtherBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box)
startOtherBox
in class org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
protected void finishOtherBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box)
finishOtherBox
in class org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
protected boolean startAutoBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box)
startAutoBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void finishAutoBox(org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box)
finishAutoBox
in class org.pentaho.reporting.engine.classic.core.layout.process.IterateStructuralProcessStep
protected void processOtherNode(org.pentaho.reporting.engine.classic.core.layout.model.RenderNode node)
processOtherNode
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void processRenderableContent(org.pentaho.reporting.engine.classic.core.layout.model.RenderableReplacedContentBox box)
processRenderableContent
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void processParagraphChilds(org.pentaho.reporting.engine.classic.core.layout.model.ParagraphRenderBox box)
processParagraphChilds
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
protected boolean isIgnoreBorderWhenDrawingOutline()
isIgnoreBorderWhenDrawingOutline
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
protected void drawOutlineBox(Graphics2D g2, org.pentaho.reporting.engine.classic.core.layout.model.RenderBox box)
drawOutlineBox
in class org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.internal.LogicalPageDrawable
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.