Java Doc for RenderableText.java in  » Report » pentaho-report » org » jfree » report » layout » model » 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.layout.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jfree.report.layout.model.RenderNode
      org.jfree.report.layout.model.RenderableText

RenderableText
public class RenderableText extends RenderNode (Code)
The renderable text is a text chunk, enriched with layouting information, such as break opportunities, character sizes, kerning information and spacing information.

Text is given as codepoints. Break opportunities are given as integer values, where zero forbids breaking, and higher values denote better breaks. Spacing and glyph sizes and kerning is given in micro-points; Spacing is the 'added' space between codepoints if text-justification is enabled.

The text is computed as grapheme clusters; this means that several unicode codepoints may result in a single /virtual/ glyph/codepoint/character. (Example: 'A' + accent symbols). If the font supports Lithurges, these lithurges may also be represented as a single grapheme cluster (and thus behave unbreakable).

Grapheme clusters with more than one unicode char have the size of that char added to the first codepoint, all subsequence codepoints of the same cluster have a size/kerning/etc of zero and are unbreakable.

This text chunk is perfectly suitable for horizontal text, going either from left-to-right or right-to-left. (Breaking mixed text is up to the textfactory).
author:
   Thomas Morgner




Constructor Summary
public  RenderableText(StyleSheet layoutContext, ExtendedBaselineInfo baselineInfo, Glyph[] glyphs, int offset, int length, int script, boolean forceLinebreak)
    

Method Summary
public  ExtendedBaselineInfogetBaselineInfo()
     Returns the baseline info for the given node.
public  Glyph[]getGlyphs()
    
public  intgetLength()
    
public  longgetMinimumWidth()
    
public  intgetOffset()
    
public  longgetPreferredWidth()
    
public  StringgetRawText()
    
public  intgetScript()
    
protected  voidinitialize(Glyph[] glyphs, int offset, int length, ExtendedBaselineInfo baselineInfo, int script, boolean forceLinebreak)
    
public  booleanisDiscardable()
    
public  booleanisEmpty()
    
public  booleanisForceLinebreak()
    
public  booleanisLtr()
    
public  booleanisNormalTextSpacing()
    


Constructor Detail
RenderableText
public RenderableText(StyleSheet layoutContext, ExtendedBaselineInfo baselineInfo, Glyph[] glyphs, int offset, int length, int script, boolean forceLinebreak)(Code)




Method Detail
getBaselineInfo
public ExtendedBaselineInfo getBaselineInfo()(Code)
Returns the baseline info for the given node. This can be null, if the node does not have any baseline info.



getGlyphs
public Glyph[] getGlyphs()(Code)



getLength
public int getLength()(Code)



getMinimumWidth
public long getMinimumWidth()(Code)



getOffset
public int getOffset()(Code)



getPreferredWidth
public long getPreferredWidth()(Code)



getRawText
public String getRawText()(Code)



getScript
public int getScript()(Code)



initialize
protected void initialize(Glyph[] glyphs, int offset, int length, ExtendedBaselineInfo baselineInfo, int script, boolean forceLinebreak)(Code)



isDiscardable
public boolean isDiscardable()(Code)



isEmpty
public boolean isEmpty()(Code)



isForceLinebreak
public boolean isForceLinebreak()(Code)



isLtr
public boolean isLtr()(Code)



isNormalTextSpacing
public boolean isNormalTextSpacing()(Code)



Fields inherited from org.jfree.report.layout.model.RenderNode
final public static int CACHE_CLEAN(Code)(Java Doc)
final public static int CACHE_DEEP_DIRTY(Code)(Java Doc)
final public static int CACHE_DIRTY(Code)(Java Doc)
final public static int HORIZONTAL_AXIS(Code)(Java Doc)
final public static int VERTICAL_AXIS(Code)(Java Doc)

Methods inherited from org.jfree.report.layout.model.RenderNode
public void apply()(Code)(Java Doc)
public Object clone()(Code)(Java Doc)
public RenderNode derive(boolean deep)(Code)(Java Doc)
public RenderNode deriveFrozen(boolean deep)(Code)(Java Doc)
public RenderNode findNodeById(Object instanceId)(Code)(Java Doc)
public void freeze()(Code)(Java Doc)
public int getCacheState()(Code)(Java Doc)
final public long getCachedAge()(Code)(Java Doc)
final public long getCachedHeight()(Code)(Java Doc)
final public long getCachedParentWidth()(Code)(Java Doc)
final public long getCachedWidth()(Code)(Java Doc)
final public long getCachedX()(Code)(Java Doc)
final public long getCachedY()(Code)(Java Doc)
final public long getChangeTracker()(Code)(Java Doc)
public long getComputedWidth()(Code)(Java Doc)
public long getComputedX()(Code)(Java Doc)
public long getEffectiveMarginBottom()(Code)(Java Doc)
public long getEffectiveMarginTop()(Code)(Java Doc)
final public long getHeight()(Code)(Java Doc)
public InstanceID getInstanceId()(Code)(Java Doc)
public LogicalPageBox getLogicalPage()(Code)(Java Doc)
public int getMajorAxis()(Code)(Java Doc)
public long getMaximumBoxWidth()(Code)(Java Doc)
public long getMinimumChunkWidth()(Code)(Java Doc)
public int getMinorAxis()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
final public RenderNode getNext()(Code)(Java Doc)
final public NodeLayoutProperties getNodeLayoutProperties()(Code)(Java Doc)
final public RenderBox getParent()(Code)(Java Doc)
final public RenderNode getPrev()(Code)(Java Doc)
public Object getStateKey()(Code)(Java Doc)
final public StyleSheet getStyleSheet()(Code)(Java Doc)
public VerticalTextAlign getVerticalTextAlignment()(Code)(Java Doc)
public RenderNode getVisibleNext()(Code)(Java Doc)
public RenderNode getVisiblePrev()(Code)(Java Doc)
final public long getWidth()(Code)(Java Doc)
final public long getX()(Code)(Java Doc)
final public long getY()(Code)(Java Doc)
public RenderNode hibernate()(Code)(Java Doc)
public boolean isBreakAfter()(Code)(Java Doc)
final public boolean isCacheValid()(Code)(Java Doc)
public boolean isDiscardable()(Code)(Java Doc)
public boolean isEmpty()(Code)(Java Doc)
public boolean isFinished()(Code)(Java Doc)
public boolean isFrozen()(Code)(Java Doc)
public boolean isHibernated()(Code)(Java Doc)
public boolean isIgnorableForRendering()(Code)(Java Doc)
final public boolean isNodeVisible(StrictBounds drawArea)(Code)(Java Doc)
final public boolean isNodeVisibleInParent()(Code)(Java Doc)
public boolean isOpen()(Code)(Java Doc)
public boolean isSizeSpecifiesBorderBox()(Code)(Java Doc)
public boolean isVirtualNode()(Code)(Java Doc)
public void markCacheClean()(Code)(Java Doc)
final public void setCachedAge(long cachedAge)(Code)(Java Doc)
final public void setCachedHeight(long cachedHeight)(Code)(Java Doc)
final public void setCachedParentWidth(long cachedParentWidth)(Code)(Java Doc)
final public void setCachedWidth(long cachedWidth)(Code)(Java Doc)
final public void setCachedX(long cachedX)(Code)(Java Doc)
final public void setCachedY(long cachedY)(Code)(Java Doc)
public void setComputedWidth(long computedWidth)(Code)(Java Doc)
public void setComputedX(long computedX)(Code)(Java Doc)
public void setFinished(boolean finished)(Code)(Java Doc)
final public void setHeight(long height)(Code)(Java Doc)
protected void setHibernated(boolean hibernated)(Code)(Java Doc)
protected void setMajorAxis(int axis)(Code)(Java Doc)
public void setMaximumBoxWidth(long maximumBoxWidth)(Code)(Java Doc)
public void setMinimumChunkWidth(long minimumChunkWidth)(Code)(Java Doc)
protected void setMinorAxis(int axis)(Code)(Java Doc)
final protected void setNext(RenderNode next)(Code)(Java Doc)
final protected void setParent(RenderBox parent)(Code)(Java Doc)
final protected void setPrev(RenderNode prev)(Code)(Java Doc)
public void setVirtualNode(boolean virtualNode)(Code)(Java Doc)
final public void setWidth(long width)(Code)(Java Doc)
final public void setX(long x)(Code)(Java Doc)
final public void setY(long y)(Code)(Java Doc)
final public void shift(long amount)(Code)(Java Doc)
final public void shiftCached(long amount)(Code)(Java Doc)
final protected void updateCacheState(int state)(Code)(Java Doc)
protected void updateChangeTracker()(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.