org.pentaho.reporting.engine.classic.core.layout.model
Class ParagraphRenderBox
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.ParagraphRenderBox
- All Implemented Interfaces:
- Cloneable
public final class ParagraphRenderBox
- extends BlockRenderBox
Creation-Date: 03.04.2007, 13:38:00
- Author:
- Thomas Morgner
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderBox |
addChilds, addGeneratedChild, addGeneratedChilds, commitApplyMark, deriveFrozen, findNodeById, freeze, getAppliedContentRefCount, getBaselineInfo, getBoxDefinition, getBreakContext, getComputedWidth, getContentAge, getContentAreaX1, getContentAreaX2, getContentBox, getContentRefCount, getFirstChild, getInsets, getLastChild, getManualBreakIndicator, getName, getPinned, getStateKey, getStaticBoxLayoutProperties, getStaticBoxPropertiesAge, getTableExportState, getTextEllipseBox, isAppliedOpen, isAppliedSeen, isAutoGenerated, isBoxOverflowX, isBoxOverflowY, isBreakAfter, isCommited, isDeepFinished, isMarkedOpen, isMarkedSeen, isOpen, isPinned, isSizeSpecifiesBorderBox, markBoxSeen, markCacheClean, markPinned, remove, removeGenerated, reopenAfterRollback, replaceChild, replaceChilds, resetCacheState, setAutoGenerated, setBaselineInfo, setBreakContext, setComputedWidth, setContentAge, setContentAreaX1, setContentAreaX2, setContentBox, setDeepFinished, setManualBreakIndicator, setMinimumChunkWidth, setName, setStaticBoxPropertiesAge, setTableExportState, setTextEllipseBox, split, toString |
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderNode |
apply, clone, getAttributes, getCachedAge, getCachedHeight, getCachedParentWidth, getCachedWidth, getCachedX, getCachedY, getCacheState, getChangeTracker, getEffectiveMarginBottom, getEffectiveMarginTop, getElementType, getHeight, getLogicalPage, getMajorAxis, getMaximumBoxWidth, getMinimumChunkWidth, getMinorAxis, getNext, getNodeLayoutProperties, getParent, getPrev, getStyleSheet, getVerticalTextAlignment, getWidth, getX, getY, isBoxVisible, isBoxVisible, isCacheValid, isFinishedPaginate, isFinishedTable, isFrozen, isHibernated, isIgnorableForRendering, isNodeVisible, isNodeVisible, isNodeVisible, isNodeVisible, isVirtualNode, setCachedAge, setCachedHeight, setCachedParentWidth, setCachedWidth, setCachedX, setCachedY, setFinishedPaginate, setFinishedTable, setHeight, setMaximumBoxWidth, setVirtualNode, setWidth, setX, setY, shift, shiftCached |
ParagraphRenderBox
public ParagraphRenderBox(StyleSheet styleSheet,
InstanceID instanceID,
BoxDefinition boxDefinition,
ElementType elementType,
ReportAttributeMap attributeMap,
ReportStateKey stateKey)
derive
public RenderNode derive(boolean deepDerive)
- 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.
- Overrides:
derive
in class RenderBox
- Returns:
hibernate
public RenderNode hibernate()
- 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.
- Overrides:
hibernate
in class RenderBox
- Returns:
addChild
public final void addChild(RenderNode child)
- Overrides:
addChild
in class RenderBox
clear
public final void clear()
- Removes all children.
- Overrides:
clear
in class RenderBox
clearLayout
public final void clearLayout()
isAppendable
public boolean isAppendable()
- Overrides:
isAppendable
in class RenderBox
isEmpty
public boolean isEmpty()
- Overrides:
isEmpty
in class RenderBox
isDiscardable
public boolean isDiscardable()
- Overrides:
isDiscardable
in class RenderBox
getLastLineAlignment
public ElementAlignment getLastLineAlignment()
getTextAlignment
public ElementAlignment getTextAlignment()
getLineboxContainer
public RenderBox getLineboxContainer()
isComplexParagraph
public boolean isComplexParagraph()
createLineboxContainer
public RenderBox createLineboxContainer()
getEffectiveLineboxContainer
public RenderBox getEffectiveLineboxContainer()
getPool
public ParagraphPoolBox getPool()
getLineBoxAge
public long getLineBoxAge()
setLineBoxAge
public void setLineBoxAge(long lineBoxAge)
getMinorLayoutAge
public long getMinorLayoutAge()
setMinorLayoutAge
public void setMinorLayoutAge(long minorLayoutAge)
getInstanceId
public InstanceID getInstanceId()
- The public-id for the paragraph is the pool-box.
- Overrides:
getInstanceId
in class RenderNode
- Returns:
getPoolSize
public int getPoolSize()
setPoolSize
public void setPoolSize(int poolSize)
setRawValue
public void setRawValue(Object rawValue)
getRawValue
public Object getRawValue()
close
public void close()
- Overrides:
close
in class BlockRenderBox
getNodeType
public int getNodeType()
- Overrides:
getNodeType
in class BlockRenderBox
getTextIndent
public long getTextIndent()
getFirstLineIndent
public long getFirstLineIndent()