Java Doc for RenderNode.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

All known Subclasses:   org.jfree.report.layout.model.SpacerRenderNode,  org.jfree.report.layout.model.RenderableReplacedContent,  org.jfree.report.layout.model.FinishedRenderNode,  org.jfree.report.layout.model.RenderableText,  org.jfree.report.layout.model.RenderBox,
RenderNode
abstract public class RenderNode implements Cloneable(Code)
Creation-Date: 03.04.2007, 13:16:06
author:
   Thomas Morgner


Field Summary
final public static  intCACHE_CLEAN
    
final public static  intCACHE_DEEP_DIRTY
    
final public static  intCACHE_DIRTY
    
final public static  intHORIZONTAL_AXIS
    
final public static  intVERTICAL_AXIS
    

Constructor Summary
protected  RenderNode(StyleSheet styleSheet)
    

Method Summary
public  voidapply()
    
public  Objectclone()
     Clones this node.
public  RenderNodederive(boolean deep)
     Derive creates a disconnected node that shares all the properties of the original node.
public  RenderNodederiveFrozen(boolean deep)
    
public  RenderNodefindNodeById(Object instanceId)
    
public  voidfreeze()
    
public  intgetCacheState()
    
final public  longgetCachedAge()
    
final public  longgetCachedHeight()
    
final public  longgetCachedParentWidth()
    
final public  longgetCachedWidth()
    
final public  longgetCachedX()
     Returns the cached y position.
final public  longgetCachedY()
     Returns the cached y position.
final public  longgetChangeTracker()
    
public  longgetComputedWidth()
    
public  longgetComputedX()
    
public  longgetEffectiveMarginBottom()
    
public  longgetEffectiveMarginTop()
    
final public  longgetHeight()
    
public  InstanceIDgetInstanceId()
    
public  LogicalPageBoxgetLogicalPage()
    
public  intgetMajorAxis()
    
public  longgetMaximumBoxWidth()
    
public  longgetMinimumChunkWidth()
    
public  intgetMinorAxis()
    
public  StringgetName()
    
final public  RenderNodegetNext()
    
final public  NodeLayoutPropertiesgetNodeLayoutProperties()
    
final public  RenderBoxgetParent()
    
final public  RenderNodegetPrev()
    
public  ObjectgetStateKey()
    
final public  StyleSheetgetStyleSheet()
    
public  VerticalTextAligngetVerticalTextAlignment()
    
public  RenderNodegetVisibleNext()
    
public  RenderNodegetVisiblePrev()
    
final public  longgetWidth()
    
final public  longgetX()
    
final public  longgetY()
    
public  RenderNodehibernate()
     Derives an hibernation copy.
public  booleanisBreakAfter()
    
final public  booleanisCacheValid()
    
public  booleanisDiscardable()
    
public  booleanisEmpty()
    
public  booleanisFinished()
     Checks, whether this node can be removed.
public  booleanisFrozen()
    
public  booleanisHibernated()
    
public  booleanisIgnorableForRendering()
     If that method returns true, the element will not be used for rendering.
final public  booleanisNodeVisible(StrictBounds drawArea)
    
final public  booleanisNodeVisibleInParent()
    
public  booleanisOpen()
    
public  booleanisSizeSpecifiesBorderBox()
    
public  booleanisVirtualNode()
    
public  voidmarkCacheClean()
    
final public  voidsetCachedAge(long cachedAge)
    
final public  voidsetCachedHeight(long cachedHeight)
    
final public  voidsetCachedParentWidth(long cachedParentWidth)
    
final public  voidsetCachedWidth(long cachedWidth)
    
final public  voidsetCachedX(long cachedX)
     Defines the cached x position.
final public  voidsetCachedY(long cachedY)
     Defines the cached y position.
public  voidsetComputedWidth(long computedWidth)
     Defines the computed width.
public  voidsetComputedX(long computedX)
    
public  voidsetFinished(boolean finished)
    
final public  voidsetHeight(long height)
    
protected  voidsetHibernated(boolean hibernated)
    
protected  voidsetMajorAxis(int axis)
    
public  voidsetMaximumBoxWidth(long maximumBoxWidth)
    
public  voidsetMinimumChunkWidth(long minimumChunkWidth)
    
protected  voidsetMinorAxis(int axis)
    
final protected  voidsetNext(RenderNode next)
    
final protected  voidsetParent(RenderBox parent)
    
final protected  voidsetPrev(RenderNode prev)
    
public  voidsetVirtualNode(boolean virtualNode)
    
final public  voidsetWidth(long width)
    
final public  voidsetX(long x)
    
final public  voidsetY(long y)
    
final public  voidshift(long amount)
    
final public  voidshiftCached(long amount)
    
final protected  voidupdateCacheState(int state)
    
protected  voidupdateChangeTracker()
    

Field Detail
CACHE_CLEAN
final public static int CACHE_CLEAN(Code)



CACHE_DEEP_DIRTY
final public static int CACHE_DEEP_DIRTY(Code)



CACHE_DIRTY
final public static int CACHE_DIRTY(Code)



HORIZONTAL_AXIS
final public static int HORIZONTAL_AXIS(Code)



VERTICAL_AXIS
final public static int VERTICAL_AXIS(Code)




Constructor Detail
RenderNode
protected RenderNode(StyleSheet styleSheet)(Code)




Method Detail
apply
public void apply()(Code)



clone
public Object clone()(Code)
Clones this node. Be aware that cloning can get you into deep trouble, as the relations this node has may no longer be valid.



derive
public RenderNode derive(boolean deep)(Code)
Derive creates a disconnected node that shares all the properties of the original node. The derived node will no longer have any parent, silbling, child or any other relationships with other nodes.



deriveFrozen
public RenderNode deriveFrozen(boolean deep)(Code)



findNodeById
public RenderNode findNodeById(Object instanceId)(Code)



freeze
public void freeze()(Code)



getCacheState
public int getCacheState()(Code)



getCachedAge
final public long getCachedAge()(Code)



getCachedHeight
final public long getCachedHeight()(Code)



getCachedParentWidth
final public long getCachedParentWidth()(Code)



getCachedWidth
final public long getCachedWidth()(Code)



getCachedX
final public long getCachedX()(Code)
Returns the cached y position. This position is known after all layouting steps have been finished. In most cases the layouter tries to reuse the cached values instead of recomputing everything from scratch on each iteration. The cached positions always specify the border-box. If the user specified sizes as content-box sizes, the layouter converts them into border-box sizes before filling the cache. the cached x position



getCachedY
final public long getCachedY()(Code)
Returns the cached y position. This position is known after all layouting steps have been finished. In most cases the layouter tries to reuse the cached values instead of recomputing everything from scratch on each iteration. The cached positions always specify the border-box. If the user specified sizes as content-box sizes, the layouter converts them into border-box sizes before filling the cache. the cached y position



getChangeTracker
final public long getChangeTracker()(Code)



getComputedWidth
public long getComputedWidth()(Code)



getComputedX
public long getComputedX()(Code)



getEffectiveMarginBottom
public long getEffectiveMarginBottom()(Code)



getEffectiveMarginTop
public long getEffectiveMarginTop()(Code)



getHeight
final public long getHeight()(Code)



getInstanceId
public InstanceID getInstanceId()(Code)



getLogicalPage
public LogicalPageBox getLogicalPage()(Code)



getMajorAxis
public int getMajorAxis()(Code)



getMaximumBoxWidth
public long getMaximumBoxWidth()(Code)



getMinimumChunkWidth
public long getMinimumChunkWidth()(Code)



getMinorAxis
public int getMinorAxis()(Code)



getName
public String getName()(Code)



getNext
final public RenderNode getNext()(Code)



getNodeLayoutProperties
final public NodeLayoutProperties getNodeLayoutProperties()(Code)



getParent
final public RenderBox getParent()(Code)



getPrev
final public RenderNode getPrev()(Code)



getStateKey
public Object getStateKey()(Code)



getStyleSheet
final public StyleSheet getStyleSheet()(Code)



getVerticalTextAlignment
public VerticalTextAlign getVerticalTextAlignment()(Code)



getVisibleNext
public RenderNode getVisibleNext()(Code)



getVisiblePrev
public RenderNode getVisiblePrev()(Code)



getWidth
final public long getWidth()(Code)



getX
final public long getX()(Code)



getY
final public long getY()(Code)



hibernate
public RenderNode hibernate()(Code)
Derives an hibernation copy. The resulting object should get stripped of all unnecessary caching information and all objects, which will be regenerated when the layouting restarts. Size does matter here.



isBreakAfter
public boolean isBreakAfter()(Code)



isCacheValid
final public boolean isCacheValid()(Code)



isDiscardable
public boolean isDiscardable()(Code)



isEmpty
public boolean isEmpty()(Code)



isFinished
public boolean isFinished()(Code)
Checks, whether this node can be removed. This flag is used by iterative streaming output targets to mark nodes that have been fully processed.



isFrozen
public boolean isFrozen()(Code)



isHibernated
public boolean isHibernated()(Code)



isIgnorableForRendering
public boolean isIgnorableForRendering()(Code)
If that method returns true, the element will not be used for rendering. For the purpose of computing sizes or performing the layouting (in the validate() step), this element will treated as if it is not there.

If the element reports itself as non-empty, however, it will affect the margin computation.




isNodeVisible
final public boolean isNodeVisible(StrictBounds drawArea)(Code)



isNodeVisibleInParent
final public boolean isNodeVisibleInParent()(Code)



isOpen
public boolean isOpen()(Code)



isSizeSpecifiesBorderBox
public boolean isSizeSpecifiesBorderBox()(Code)



isVirtualNode
public boolean isVirtualNode()(Code)



markCacheClean
public void markCacheClean()(Code)



setCachedAge
final public void setCachedAge(long cachedAge)(Code)



setCachedHeight
final public void setCachedHeight(long cachedHeight)(Code)



setCachedParentWidth
final public void setCachedParentWidth(long cachedParentWidth)(Code)



setCachedWidth
final public void setCachedWidth(long cachedWidth)(Code)



setCachedX
final public void setCachedX(long cachedX)(Code)
Defines the cached x position. This position is known after all layouting steps have been finished. In most cases the layouter tries to reuse the cached values instead of recomputing everything from scratch on each iteration. The cached positions always specify the border-box. If the user specified sizes as content-box sizes, the layouter converts them into border-box sizes before filling the cache.
Parameters:
  cachedX - the cached x position



setCachedY
final public void setCachedY(long cachedY)(Code)
Defines the cached y position. This position is known after all layouting steps have been finished. In most cases the layouter tries to reuse the cached values instead of recomputing everything from scratch on each iteration. The cached positions always specify the border-box. If the user specified sizes as content-box sizes, the layouter converts them into border-box sizes before filling the cache.
Parameters:
  cachedY - the cached y position



setComputedWidth
public void setComputedWidth(long computedWidth)(Code)
Defines the computed width. The computed-width is a static-property and is always specified as border-box size.
Parameters:
  computedWidth -



setComputedX
public void setComputedX(long computedX)(Code)



setFinished
public void setFinished(boolean finished)(Code)



setHeight
final public void setHeight(long height)(Code)



setHibernated
protected void setHibernated(boolean hibernated)(Code)



setMajorAxis
protected void setMajorAxis(int axis)(Code)



setMaximumBoxWidth
public void setMaximumBoxWidth(long maximumBoxWidth)(Code)



setMinimumChunkWidth
public void setMinimumChunkWidth(long minimumChunkWidth)(Code)



setMinorAxis
protected void setMinorAxis(int axis)(Code)



setNext
final protected void setNext(RenderNode next)(Code)



setParent
final protected void setParent(RenderBox parent)(Code)



setPrev
final protected void setPrev(RenderNode prev)(Code)



setVirtualNode
public void setVirtualNode(boolean virtualNode)(Code)



setWidth
final public void setWidth(long width)(Code)



setX
final public void setX(long x)(Code)



setY
final public void setY(long y)(Code)



shift
final public void shift(long amount)(Code)



shiftCached
final public void shiftCached(long amount)(Code)



updateCacheState
final protected void updateCacheState(int state)(Code)



updateChangeTracker
protected void updateChangeTracker()(Code)



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.