Class FinishedRenderNode
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.model.RenderNode
-
- org.pentaho.reporting.engine.classic.core.layout.model.FinishedRenderNode
-
- All Implemented Interfaces:
Cloneable
public final class FinishedRenderNode extends RenderNode
A box replacement. It has a predefined width and height and does not change those. It is a placeholder for all already printed content. If you see this node inside an inline box, you can be sure you've shot yourself in the foot.- Author:
- Thomas Morgner
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderNode
RenderNode.CacheState
-
-
Field Summary
-
Fields inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderNode
CACHE_CLEAN, CACHE_DEEP_DIRTY, CACHE_DIRTY, HORIZONTAL_AXIS, VERTICAL_AXIS
-
-
Constructor Summary
Constructors Constructor Description FinishedRenderNode(long layoutedX, long layoutedY, long layoutedWidth, long layoutedHeight, long marginsTop, long marginsBottom, boolean breakAfter, int orphanLeafCount, int widowLeafCount)
FinishedRenderNode(long layoutedX, long layoutedY, long layoutedWidth, long layoutedHeight, long marginsTop, long marginsBottom, boolean breakAfter, int orphanLeafCount, int widowLeafCount, ReportStateKey stateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getLayoutedHeight()
long
getLayoutedWidth()
long
getLayoutedY()
long
getMarginsBottom()
long
getMarginsTop()
int
getNodeType()
int
getOrphanLeafCount()
RenderBox.RestrictFinishClearOut
getRestrictFinishedClearOut()
ReportStateKey
getStateKey()
int
getWidowLeafCount()
boolean
isBreakAfter()
boolean
isIgnorableForRendering()
If that method returns true, the element will not be used for rendering.boolean
isOrphanLeaf()
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderNode
apply, clone, derive, deriveFrozen, findNodeById, freeze, getApplyState, getAttributes, getCachedAge, getCachedHeight, getCachedWidth, getCachedX, getCachedX2, getCachedY, getCachedY2, getCacheState, getChangeTracker, getChildCount, getContentRefCount, getDescendantCount, getEffectiveMarginBottom, getEffectiveMarginTop, getEffectiveMinimumChunkSize, getElementType, getHeight, getInstanceId, getLayoutNodeType, getLayoutParent, getLinebreakAge, getLogicalPage, getMajorAxis, getMaximumBoxWidth, getMinimumChunkWidth, getMinorAxis, getName, getNext, getNodeLayoutProperties, getOverflowAreaHeight, getOverflowAreaWidth, getParent, getPrev, getRowIndex, getStyleSheet, getTableRefCount, getValidateModelAge, getVerticalTextAlignment, getWidth, getX, getY, getY2, isBoxOverflowX, isBoxOverflowY, isBoxVisible, isBoxVisible, isCacheValid, isContainsReservedContent, isDeepFinishedTable, isDiscardable, isEmpty, isFinishedPaginate, isFinishedTable, isFlag, isFrozen, isLinebreakCacheValid, isNodeVisible, isNodeVisible, isNodeVisible, isNodeVisible, isOpen, isParanoidModelChecks, isRenderBox, isSizeSpecifiesBorderBox, isValidateModelCacheValid, isValidateModelResult, isVirtualNode, isVisible, isWidowBox, markApplyStateDirty, reinit, resetValidateModelResult, setCachedAge, setCachedHeight, setCachedWidth, setCachedX, setCachedY, setFinishedPaginate, setFinishedTable, setFlag, setHeight, setLinebreakAge, setMaximumBoxWidth, setMinimumChunkWidth, setNext, setNextUnchecked, setParent, setPrev, setPrevUnchecked, setValidateModelResult, setVirtualNode, setWidowBox, setWidth, setX, setY, shift, shiftCached, updateCacheState, updateChangeTracker
-
-
-
-
Constructor Detail
-
FinishedRenderNode
public FinishedRenderNode(long layoutedX, long layoutedY, long layoutedWidth, long layoutedHeight, long marginsTop, long marginsBottom, boolean breakAfter, int orphanLeafCount, int widowLeafCount)
-
FinishedRenderNode
public FinishedRenderNode(long layoutedX, long layoutedY, long layoutedWidth, long layoutedHeight, long marginsTop, long marginsBottom, boolean breakAfter, int orphanLeafCount, int widowLeafCount, ReportStateKey stateKey)
-
-
Method Detail
-
getNodeType
public int getNodeType()
- Specified by:
getNodeType
in classRenderNode
-
isBreakAfter
public boolean isBreakAfter()
- Overrides:
isBreakAfter
in classRenderNode
-
getLayoutedWidth
public long getLayoutedWidth()
-
getLayoutedHeight
public long getLayoutedHeight()
-
getMarginsTop
public long getMarginsTop()
-
getMarginsBottom
public long getMarginsBottom()
-
isIgnorableForRendering
public boolean isIgnorableForRendering()
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.- Overrides:
isIgnorableForRendering
in classRenderNode
- Returns:
-
getStateKey
public ReportStateKey getStateKey()
- Overrides:
getStateKey
in classRenderNode
-
getOrphanLeafCount
public int getOrphanLeafCount()
- Overrides:
getOrphanLeafCount
in classRenderNode
-
getWidowLeafCount
public int getWidowLeafCount()
- Overrides:
getWidowLeafCount
in classRenderNode
-
isOrphanLeaf
public boolean isOrphanLeaf()
- Overrides:
isOrphanLeaf
in classRenderNode
-
getRestrictFinishedClearOut
public RenderBox.RestrictFinishClearOut getRestrictFinishedClearOut()
- Overrides:
getRestrictFinishedClearOut
in classRenderNode
-
getLayoutedY
public long getLayoutedY()
-
-