Class AutoRenderBox
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.model.RenderNode
-
- org.pentaho.reporting.engine.classic.core.layout.model.RenderBox
-
- org.pentaho.reporting.engine.classic.core.layout.model.AutoRenderBox
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderBox
RenderBox.BreakIndicator, RenderBox.RestrictFinishClearOut
-
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.RenderBox
FLAG_BOX_CONTAINS_PRESERVED_CONTENT, FLAG_BOX_INVALID_WIDOW_ORPHAN_NODE, FLAG_BOX_TABLE_SECTION_RESERVED, FLAG_BOX_TABLE_SECTION_RESERVED2, FLAG_BOX_TABLE_SECTION_RESERVED3, FLAG_BOX_TABLE_SECTION_RESERVED4, FLAG_BOX_TABLE_SECTION_RESERVED5
-
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 AutoRenderBox()
AutoRenderBox(StyleSheet styleSheet)
AutoRenderBox(InstanceID instanceId, ReportStateKey stateKey, ReportAttributeMap attributes)
AutoRenderBox(InstanceID instanceId, ReportStateKey stateKey, StyleSheet styleSheet, BoxDefinition boxDefinition, ReportAttributeMap attributes, ElementType elementType)
AutoRenderBox(InstanceID instanceId, ReportStateKey stateKey, StyleSheet styleSheet, ReportAttributeMap attributes)
AutoRenderBox(InstanceID instanceId, ReportStateKey stateKey, StyleSheet styleSheet, ReportAttributeMap attributes, ElementType elementType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
extendHeight(RenderNode child, long heightOffset)
Notifies a box that one of its childs has extended its height.int
getLayoutNodeType()
int
getNodeType()
int
getRowIndex()
boolean
isAcceptInlineBoxes()
protected boolean
isBlockForPagebreakPurpose()
boolean
isEmptyNodesHaveSignificance()
void
setCachedHeight(long cachedHeight)
void
setCachedY(long cachedY)
Defines the cached y position.void
setRowIndex(int rowIndex)
void
shiftCached(long amount)
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderBox
addChild, addChilds, addGeneratedChild, addGeneratedChilds, addOverflowArea, apply, clear, close, commit, create, decreaseContentReferenceCount, decreaseDescendantCount, decreaseTableReferenceCount, derive, deriveFrozen, extendHeightInBlockMode, extendHeightInRowMode, findNodeById, freeze, getAppliedContentRefCount, getBaselineInfo, getBoxDefinition, getChildCount, getContentAge, getContentAreaX1, getContentAreaX2, getContentBox, getContentRefCount, getDescendantCount, getEffectiveMinimumChunkSize, getFirstChild, getInsets, getInsetsLeft, getInsetsRight, getLastChild, getManualBreakIndicator, getName, getOrphanConstraintSize, getOrphanLeafCount, getOverflowAreaHeight, getOverflowAreaWidth, getParentWidowContexts, getPinned, getProcessKeyCached, getProcessKeyStepAge, getRawValue, getRestrictFinishedClearOut, getStateKey, getStaticBoxLayoutProperties, getStaticBoxPropertiesAge, getTableExportState, getTableRefCount, getTableValidationAge, getTextEllipseBox, getVerticalInsets, getWidowConstraintSize, getWidowConstraintSizeWithKeepTogether, getWidowLeafCount, increaseContentReferenceCount, increaseDescendantCount, increaseTableReferenceCount, isAppendable, isAppliedOpen, isAppliedSeen, isBoxOverflowX, isBoxOverflowY, isBreakAfter, isCommited, isContainsReservedContent, isContentRefHolder, isDeepFinishedTable, isDiscardable, isEmpty, isInvalidWidowOrphanNode, isMarkedOpen, isMarkedSeen, isOpen, isOrphanLeaf, isPinned, isPreventPagination, isProcessKeyCacheValid, isProcessKeyFinish, isRenderBox, isSizeSpecifiesBorderBox, markAsContentRefHolder, markBoxSeen, markPinned, remove, replaceChild, replaceChilds, resetCacheState, rollback, setBaselineInfo, setContainsReservedContent, setContentAge, setContentAreaX1, setContentAreaX2, setContentBox, setDeepFinished, setFirstChild, setInvalidWidowOrphanNode, setLastChild, setManualBreakIndicator, setMinimumChunkWidth, setName, setOpen, setOrphanConstraintSize, setOrphanLeafCount, setOverflowAreaHeight, setOverflowAreaWidth, setParentWidowContexts, setPreventPagination, setProcessKeyCached, setRawValue, setRestrictFinishedClearOut, setStateKey, setStaticBoxPropertiesAge, setTableExportState, setTableValidationAge, setTextEllipseBox, setWidowConstraintSize, setWidowConstraintSizeWithKeepTogether, setWidowLeafCount, split, toString, updateChangeTracker, useMinimumChunkWidth
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderNode
clone, getApplyState, getAttributes, getCachedAge, getCachedHeight, getCachedWidth, getCachedX, getCachedX2, getCachedY, getCachedY2, getCacheState, getChangeTracker, getEffectiveMarginBottom, getEffectiveMarginTop, getElementType, getHeight, getInstanceId, getLayoutParent, getLinebreakAge, getLogicalPage, getMajorAxis, getMaximumBoxWidth, getMinimumChunkWidth, getMinorAxis, getNext, getNodeLayoutProperties, getParent, getPrev, getStyleSheet, getValidateModelAge, getVerticalTextAlignment, getWidth, getX, getY, getY2, isBoxVisible, isBoxVisible, isCacheValid, isFinishedPaginate, isFinishedTable, isFlag, isFrozen, isIgnorableForRendering, isLinebreakCacheValid, isNodeVisible, isNodeVisible, isNodeVisible, isNodeVisible, isParanoidModelChecks, isValidateModelCacheValid, isValidateModelResult, isVirtualNode, isVisible, isWidowBox, markApplyStateDirty, reinit, resetValidateModelResult, setCachedAge, setCachedWidth, setCachedX, setFinishedPaginate, setFinishedTable, setFlag, setHeight, setLinebreakAge, setMaximumBoxWidth, setNext, setNextUnchecked, setParent, setPrev, setPrevUnchecked, setValidateModelResult, setVirtualNode, setWidowBox, setWidth, setX, setY, shift, updateCacheState
-
-
-
-
Constructor Detail
-
AutoRenderBox
public AutoRenderBox()
-
AutoRenderBox
public AutoRenderBox(StyleSheet styleSheet)
-
AutoRenderBox
public AutoRenderBox(InstanceID instanceId, ReportStateKey stateKey, ReportAttributeMap attributes)
-
AutoRenderBox
public AutoRenderBox(InstanceID instanceId, ReportStateKey stateKey, StyleSheet styleSheet, ReportAttributeMap attributes)
-
AutoRenderBox
public AutoRenderBox(InstanceID instanceId, ReportStateKey stateKey, StyleSheet styleSheet, ReportAttributeMap attributes, ElementType elementType)
-
AutoRenderBox
public AutoRenderBox(InstanceID instanceId, ReportStateKey stateKey, StyleSheet styleSheet, BoxDefinition boxDefinition, ReportAttributeMap attributes, ElementType elementType)
-
-
Method Detail
-
getNodeType
public int getNodeType()
- Specified by:
getNodeType
in classRenderNode
-
getLayoutNodeType
public int getLayoutNodeType()
- Overrides:
getLayoutNodeType
in classRenderNode
-
isAcceptInlineBoxes
public boolean isAcceptInlineBoxes()
- Overrides:
isAcceptInlineBoxes
in classRenderBox
-
isEmptyNodesHaveSignificance
public boolean isEmptyNodesHaveSignificance()
- Overrides:
isEmptyNodesHaveSignificance
in classRenderBox
-
extendHeight
public long extendHeight(RenderNode child, long heightOffset)
Description copied from class:RenderBox
Notifies a box that one of its childs has extended its height. The child's height property already contains the new height. Theamount
given is the offset from the old height to the new height, and is always a positive number.- Overrides:
extendHeight
in classRenderBox
-
isBlockForPagebreakPurpose
protected boolean isBlockForPagebreakPurpose()
- Overrides:
isBlockForPagebreakPurpose
in classRenderBox
-
setCachedY
public void setCachedY(long cachedY)
Description copied from class:RenderNode
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.- Overrides:
setCachedY
in classRenderNode
- Parameters:
cachedY
- the cached y position
-
shiftCached
public void shiftCached(long amount)
- Overrides:
shiftCached
in classRenderNode
-
setCachedHeight
public void setCachedHeight(long cachedHeight)
- Overrides:
setCachedHeight
in classRenderNode
-
getRowIndex
public int getRowIndex()
- Overrides:
getRowIndex
in classRenderNode
-
setRowIndex
public void setRowIndex(int rowIndex)
-
-