Java Doc for LogicalPageDrawable.java in  » Report » pentaho-report » org » jfree » report » modules » output » pageable » graphics » internal » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Report » pentaho report » org.jfree.report.modules.output.pageable.graphics.internal 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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


Constructor Summary
public  LogicalPageDrawable(LogicalPageBox rootBox, OutputProcessorMetaData metaData)
    

Method Summary
protected  intcomputeMaximumTextSize(RenderableText node, long contentX2)
    
protected  voidconfigureGraphics(StyleSheet layoutContext, Graphics2D g2)
    
protected  voidconfigureStroke(StyleSheet layoutContext, Graphics2D g2)
    
public  voiddraw(Graphics2D g2, Rectangle2D area)
     Draws the object.
protected  voiddrawAnchor(RenderNode content)
     To be overriden in the PDF drawable.
protected  voiddrawBookmark(RenderNode box, String bookmark)
    
protected  voiddrawHyperlink(RenderNode box, String target, String window)
    
protected  voiddrawReplacedContent(RenderableReplacedContent content)
    
protected  voiddrawText(RenderableText renderableText)
    
protected  voiddrawText(RenderableText renderableText, long contentX2)
     Renders the glyphs stored in the text node.
protected  voidfinishInlineBox(InlineRenderBox box)
    
public  longgetContentAreaX1()
    
public  longgetContentAreaX2()
    
protected  StrictBoundsgetDrawArea()
    
public  Graphics2DgetGraphics()
    
public  doublegetHeight()
    
public  OutputProcessorMetaDatagetMetaData()
    
public  PageFormatgetPageFormat()
    
public  DimensiongetPreferredSize()
     Returns the preferred size of the drawable.
protected  TextSpecgetTextSpec()
    
public  doublegetWidth()
    
public  StringglpyhToString(Glyph g)
     This is a rather dirty hack to convert a code-point sequence into a char sequence.
protected  booleanisNormalTextSpacing(RenderableText text)
    
public  booleanisOutlineMode()
    
public  booleanisPreserveAspectRatio()
     Returns true, if this drawable will preserve an aspect ratio during the drawing.
public  booleanisTextLineOverflow()
    
protected  voidprocessLinksAndAnchors(RenderNode box)
    
protected  voidprocessOtherNode(RenderNode node)
    
protected  voidprocessParagraphChilds(ParagraphRenderBox box)
    
protected  voidprocessTextLine(RenderBox lineBox, long contentAreaX1, long contentAreaX2)
    
public  voidsetContentAreaX1(long contentAreaX1)
    
public  voidsetContentAreaX2(long contentAreaX2)
    
public  voidsetTextLineOverflow(boolean textLineOverflow)
    
protected  voidsetTextSpec(TextSpec textSpec)
    
protected  booleanstartBlockBox(BlockRenderBox box)
    
public  booleanstartCanvasBox(CanvasRenderBox box)
    
protected  booleanstartInlineBox(InlineRenderBox box)
    
protected  StringtextToString(Glyph[] gs, int offset, int length)
    


Constructor Detail
LogicalPageDrawable
public LogicalPageDrawable(LogicalPageBox rootBox, OutputProcessorMetaData metaData)(Code)




Method Detail
computeMaximumTextSize
protected int computeMaximumTextSize(RenderableText node, long contentX2)(Code)



configureGraphics
protected void configureGraphics(StyleSheet layoutContext, Graphics2D g2)(Code)



configureStroke
protected void configureStroke(StyleSheet layoutContext, Graphics2D g2)(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.



drawBookmark
protected void drawBookmark(RenderNode box, String bookmark)(Code)



drawHyperlink
protected void drawHyperlink(RenderNode box, String target, String window)(Code)



drawReplacedContent
protected void drawReplacedContent(RenderableReplacedContent content)(Code)



drawText
protected void drawText(RenderableText renderableText)(Code)



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 -



finishInlineBox
protected void finishInlineBox(InlineRenderBox box)(Code)



getContentAreaX1
public long getContentAreaX1()(Code)



getContentAreaX2
public long getContentAreaX2()(Code)



getDrawArea
protected StrictBounds getDrawArea()(Code)



getGraphics
public Graphics2D getGraphics()(Code)



getHeight
public double getHeight()(Code)



getMetaData
public OutputProcessorMetaData getMetaData()(Code)



getPageFormat
public PageFormat getPageFormat()(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



isNormalTextSpacing
protected boolean isNormalTextSpacing(RenderableText text)(Code)



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)



processOtherNode
protected void processOtherNode(RenderNode node)(Code)



processParagraphChilds
protected void processParagraphChilds(ParagraphRenderBox 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)



startBlockBox
protected boolean startBlockBox(BlockRenderBox box)(Code)



startCanvasBox
public boolean startCanvasBox(CanvasRenderBox box)(Code)



startInlineBox
protected boolean startInlineBox(InlineRenderBox box)(Code)



textToString
protected String textToString(Glyph[] gs, int offset, int length)(Code)



Methods inherited from org.jfree.report.layout.process.IterateStructuralProcessStep
protected void finishBlockBox(BlockRenderBox box)(Code)(Java Doc)
protected void finishCanvasBox(CanvasRenderBox box)(Code)(Java Doc)
protected void finishInlineBox(InlineRenderBox box)(Code)(Java Doc)
protected void finishOtherBox(RenderBox box)(Code)(Java Doc)
final protected void processBoxChilds(RenderBox box)(Code)(Java Doc)
protected void processOtherNode(RenderNode node)(Code)(Java Doc)
protected void processParagraphChilds(ParagraphRenderBox box)(Code)(Java Doc)
protected boolean startBlockBox(BlockRenderBox box)(Code)(Java Doc)
protected boolean startCanvasBox(CanvasRenderBox box)(Code)(Java Doc)
protected boolean startInlineBox(InlineRenderBox box)(Code)(Java Doc)
protected boolean startOtherBox(RenderBox box)(Code)(Java Doc)
final protected void startProcessing(RenderNode node)(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.