Class TableSectionRenderBox
- 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.BlockRenderBox
-
- org.pentaho.reporting.engine.classic.core.layout.model.table.TableSectionRenderBox
-
- All Implemented Interfaces:
Cloneable
public class TableSectionRenderBox extends BlockRenderBox
A table section box does not much rendering or layouting at all. It represents one of the three possible sections and behaves like any other block box. But (here it comes!) it refuses to be added to anything else than a TableRenderBox (a small check to save me a lot of insanity ..).- Author:
- Thomas Morgner
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TableSectionRenderBox.Role
-
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 TableSectionRenderBox()
TableSectionRenderBox(StyleSheet styleSheet, InstanceID instanceID, BoxDefinition boxDefinition, ElementType elementType, ReportAttributeMap attributes, ReportStateKey stateKey)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addChild(RenderNode child)
Object
clone()
Clones this node.void
commit()
RenderBox
create(StyleSheet styleSheet)
TableColumnModel
getColumnModel()
TableSectionRenderBox.Role
getDisplayRole()
long
getHeaderShift(long pageOffset)
int
getNodeType()
TableRowModel
getRowModel()
long
getRowModelAge()
boolean
isActive()
boolean
isAppliedActive()
boolean
isBody()
boolean
isMarkedActive()
boolean
isStructureValidated()
void
markBoxSeen()
void
rollback(boolean deepDirty)
protected void
setActive(boolean active)
protected void
setAppliedActive(boolean active)
void
setHeaderShift(long pageOffset, long headerShift)
protected void
setMarkedActive(boolean active)
void
setRowModelAge(long rowModelAge)
void
setStructureValidated(boolean structureValidated)
boolean
useMinimumChunkWidth()
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.BlockRenderBox
isBlockForPagebreakPurpose
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderBox
addChilds, addGeneratedChild, addGeneratedChilds, addOverflowArea, apply, clear, close, decreaseContentReferenceCount, decreaseDescendantCount, decreaseTableReferenceCount, derive, deriveFrozen, extendHeight, 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, isAcceptInlineBoxes, isAppendable, isAppliedOpen, isAppliedSeen, isBoxOverflowX, isBoxOverflowY, isBreakAfter, isCommited, isContainsReservedContent, isContentRefHolder, isDeepFinishedTable, isDiscardable, isEmpty, isEmptyNodesHaveSignificance, isInvalidWidowOrphanNode, isMarkedOpen, isMarkedSeen, isOpen, isOrphanLeaf, isPinned, isPreventPagination, isProcessKeyCacheValid, isProcessKeyFinish, isRenderBox, isSizeSpecifiesBorderBox, markAsContentRefHolder, markPinned, remove, replaceChild, replaceChilds, resetCacheState, 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
-
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderNode
getApplyState, getAttributes, getCachedAge, getCachedHeight, getCachedWidth, getCachedX, getCachedX2, getCachedY, getCachedY2, getCacheState, getChangeTracker, getEffectiveMarginBottom, getEffectiveMarginTop, getElementType, getHeight, getInstanceId, getLayoutNodeType, getLayoutParent, getLinebreakAge, getLogicalPage, getMajorAxis, getMaximumBoxWidth, getMinimumChunkWidth, getMinorAxis, getNext, getNodeLayoutProperties, getParent, getPrev, getRowIndex, 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, setCachedHeight, setCachedWidth, setCachedX, setCachedY, setFinishedPaginate, setFinishedTable, setFlag, setHeight, setLinebreakAge, setMaximumBoxWidth, setNext, setNextUnchecked, setParent, setPrev, setPrevUnchecked, setValidateModelResult, setVirtualNode, setWidowBox, setWidth, setX, setY, shift, shiftCached, updateCacheState
-
-
-
-
Constructor Detail
-
TableSectionRenderBox
public TableSectionRenderBox()
-
TableSectionRenderBox
public TableSectionRenderBox(StyleSheet styleSheet, InstanceID instanceID, BoxDefinition boxDefinition, ElementType elementType, ReportAttributeMap attributes, ReportStateKey stateKey)
-
-
Method Detail
-
getRowModelAge
public long getRowModelAge()
-
setRowModelAge
public void setRowModelAge(long rowModelAge)
-
useMinimumChunkWidth
public boolean useMinimumChunkWidth()
- Overrides:
useMinimumChunkWidth
in classRenderBox
-
getHeaderShift
public long getHeaderShift(long pageOffset)
-
setHeaderShift
public void setHeaderShift(long pageOffset, long headerShift)
-
clone
public Object clone()
Description copied from class:RenderNode
Clones this node. Be aware that cloning can get you into deep trouble, as the relations this node has may no longer be valid.- Overrides:
clone
in classRenderNode
-
isBody
public boolean isBody()
-
getDisplayRole
public TableSectionRenderBox.Role getDisplayRole()
-
getNodeType
public int getNodeType()
- Overrides:
getNodeType
in classBlockRenderBox
-
getColumnModel
public TableColumnModel getColumnModel()
-
getRowModel
public TableRowModel getRowModel()
-
isStructureValidated
public boolean isStructureValidated()
-
setStructureValidated
public void setStructureValidated(boolean structureValidated)
-
isActive
public boolean isActive()
-
setActive
protected void setActive(boolean active)
-
isMarkedActive
public boolean isMarkedActive()
-
setMarkedActive
protected void setMarkedActive(boolean active)
-
isAppliedActive
public boolean isAppliedActive()
-
setAppliedActive
protected void setAppliedActive(boolean active)
-
markBoxSeen
public void markBoxSeen()
- Overrides:
markBoxSeen
in classRenderBox
-
addChild
public void addChild(RenderNode child)
-
create
public RenderBox create(StyleSheet styleSheet)
-
-