Class TableRenderBox
- 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.TableRenderBox
-
- All Implemented Interfaces:
Cloneable
public class TableRenderBox extends BlockRenderBox
A table render box contains table header, table footer and the table body. The table body itself may also contain table header cells - which get repeated after pagebreaks. Tables contain more than just rows, in fact, they are separated into three sections.- Author:
- Thomas Morgner
-
-
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 TableRenderBox()
TableRenderBox(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.RenderBox
create(StyleSheet styleSheet)
TableColumnModel
getColumnModel()
int
getNodeType()
RenderLength
getRowSpacing()
boolean
isAutoLayout()
boolean
isCollapsingBorderModel()
boolean
isDisplayEmptyCells()
boolean
isPredefinedColumnsValidated()
boolean
isStructureValidated()
void
setPredefinedColumnsValidated(boolean predefinedColumnsValidated)
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, commit, 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, 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
-
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
-
TableRenderBox
public TableRenderBox()
-
TableRenderBox
public TableRenderBox(StyleSheet styleSheet, InstanceID instanceID, BoxDefinition boxDefinition, ElementType elementType, ReportAttributeMap attributes, ReportStateKey stateKey)
-
-
Method Detail
-
getNodeType
public int getNodeType()
- Overrides:
getNodeType
in classBlockRenderBox
-
isPredefinedColumnsValidated
public boolean isPredefinedColumnsValidated()
-
setPredefinedColumnsValidated
public void setPredefinedColumnsValidated(boolean predefinedColumnsValidated)
-
isStructureValidated
public boolean isStructureValidated()
-
setStructureValidated
public void setStructureValidated(boolean structureValidated)
-
getColumnModel
public TableColumnModel getColumnModel()
-
getRowSpacing
public RenderLength getRowSpacing()
-
isDisplayEmptyCells
public boolean isDisplayEmptyCells()
-
isCollapsingBorderModel
public boolean isCollapsingBorderModel()
-
isAutoLayout
public boolean isAutoLayout()
-
useMinimumChunkWidth
public boolean useMinimumChunkWidth()
- Overrides:
useMinimumChunkWidth
in classRenderBox
-
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
-
addChild
public void addChild(RenderNode child)
-
create
public RenderBox create(StyleSheet styleSheet)
-
-