| java.lang.Object org.jfree.report.layout.process.IterateStructuralProcessStep org.jfree.report.modules.output.pageable.graphics.internal.LogicalPageDrawable
All known Subclasses: org.jfree.report.modules.output.pageable.pdf.internal.PdfLogicalPageDrawable,
LogicalPageDrawable | public class LogicalPageDrawable extends IterateStructuralProcessStep implements PageDrawable(Code) | | The page drawable is the content provider for the Graphics2DOutputTarget. This component is responsible for rendering
the current page to a Graphics2D object.
author: Thomas Morgner |
Inner Class :protected static class TextSpec | |
Method Summary | |
protected int | computeMaximumTextSize(RenderableText node, long contentX2) | protected void | configureGraphics(StyleSheet layoutContext, Graphics2D g2) | protected void | configureStroke(StyleSheet layoutContext, Graphics2D g2) | public void | draw(Graphics2D g2, Rectangle2D area) Draws the object. | protected void | drawAnchor(RenderNode content) To be overriden in the PDF drawable. | protected void | drawBookmark(RenderNode box, String bookmark) | protected void | drawHyperlink(RenderNode box, String target, String window) | protected void | drawReplacedContent(RenderableReplacedContent content) | protected void | drawText(RenderableText renderableText) | protected void | drawText(RenderableText renderableText, long contentX2) Renders the glyphs stored in the text node. | protected void | finishInlineBox(InlineRenderBox box) | public long | getContentAreaX1() | public long | getContentAreaX2() | protected StrictBounds | getDrawArea() | public Graphics2D | getGraphics() | public double | getHeight() | public OutputProcessorMetaData | getMetaData() | public PageFormat | getPageFormat() | public Dimension | getPreferredSize() Returns the preferred size of the drawable. | protected TextSpec | getTextSpec() | public double | getWidth() | public String | glpyhToString(Glyph g) This is a rather dirty hack to convert a code-point sequence into a char sequence. | protected boolean | isNormalTextSpacing(RenderableText text) | public boolean | isOutlineMode() | public boolean | isPreserveAspectRatio() Returns true, if this drawable will preserve an aspect ratio during the drawing. | public boolean | isTextLineOverflow() | protected void | processLinksAndAnchors(RenderNode box) | protected void | processOtherNode(RenderNode node) | protected void | processParagraphChilds(ParagraphRenderBox box) | protected void | processTextLine(RenderBox lineBox, long contentAreaX1, long contentAreaX2) | public void | setContentAreaX1(long contentAreaX1) | public void | setContentAreaX2(long contentAreaX2) | public void | setTextLineOverflow(boolean textLineOverflow) | protected void | setTextSpec(TextSpec textSpec) | protected boolean | startBlockBox(BlockRenderBox box) | public boolean | startCanvasBox(CanvasRenderBox box) | protected boolean | startInlineBox(InlineRenderBox box) | protected String | textToString(Glyph[] gs, int offset, int length) |
computeMaximumTextSize | protected int computeMaximumTextSize(RenderableText node, long contentX2)(Code) | | |
draw | public void draw(Graphics2D g2, Rectangle2D area)(Code) | | Draws the object.
Parameters: g2 - the graphics device. Parameters: area - the area inside which the object should be drawn. |
drawAnchor | protected void drawAnchor(RenderNode content)(Code) | | To be overriden in the PDF drawable.
Parameters: content - the render-node that defines the anchor. |
drawText | protected void drawText(RenderableText renderableText, long contentX2)(Code) | | Renders the glyphs stored in the text node.
Parameters: renderableText - the text node that should be rendered. Parameters: contentX2 - |
getContentAreaX1 | public long getContentAreaX1()(Code) | | |
getContentAreaX2 | public long getContentAreaX2()(Code) | | |
getHeight | public double getHeight()(Code) | | |
getPreferredSize | public Dimension getPreferredSize()(Code) | | Returns the preferred size of the drawable. If the drawable is aspect ratio aware, these bounds should be used to
compute the preferred aspect ratio for this drawable.
the preferred size. |
getTextSpec | protected TextSpec getTextSpec()(Code) | | |
getWidth | public double getWidth()(Code) | | |
glpyhToString | public String glpyhToString(Glyph g)(Code) | | This is a rather dirty hack to convert a code-point sequence into a char sequence. We should probably use the
LibFonts CharBuffer later ..
Parameters: g - the glyph the string for this glyph |
isOutlineMode | public boolean isOutlineMode()(Code) | | |
isPreserveAspectRatio | public boolean isPreserveAspectRatio()(Code) | | Returns true, if this drawable will preserve an aspect ratio during the drawing.
true, if an aspect ratio is preserved, false otherwise. |
isTextLineOverflow | public boolean isTextLineOverflow()(Code) | | |
processLinksAndAnchors | protected void processLinksAndAnchors(RenderNode box)(Code) | | |
processTextLine | protected void processTextLine(RenderBox lineBox, long contentAreaX1, long contentAreaX2)(Code) | | |
setContentAreaX1 | public void setContentAreaX1(long contentAreaX1)(Code) | | |
setContentAreaX2 | public void setContentAreaX2(long contentAreaX2)(Code) | | |
setTextLineOverflow | public void setTextLineOverflow(boolean textLineOverflow)(Code) | | |
setTextSpec | protected void setTextSpec(TextSpec textSpec)(Code) | | |
|
|