public abstract class RenderBox extends RenderNode
Modifier and Type | Class and Description |
---|---|
static class |
RenderBox.BreakIndicator |
static class |
RenderBox.RestrictFinishClearOut |
RenderNode.CacheState
CACHE_CLEAN, CACHE_DEEP_DIRTY, CACHE_DIRTY, HORIZONTAL_AXIS, VERTICAL_AXIS
clone, 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, getNodeType, getParent, getPrev, getRowIndex, getStyleSheet, getValidateModelAge, getVerticalTextAlignment, getWidth, getX, getY, getY2, isBoxVisible, isBoxVisible, isCacheValid, isFinishedPaginate, isFinishedTable, isFrozen, isIgnorableForRendering, isLinebreakCacheValid, isNodeVisible, isNodeVisible, isNodeVisible, isNodeVisible, isParanoidModelChecks, isValidateModelCacheValid, isValidateModelResult, isVirtualNode, isVisible, isWidowBox, markApplyStateDirty, setCachedHeight, setCachedWidth, setCachedX, setCachedY, setFinishedPaginate, setFinishedTable, setHeight, setLinebreakAge, setMaximumBoxWidth, setValidateModelResult, setVirtualNode, setWidowBox, setWidth, setX, setY, shift, shiftCached
public RenderBox create(StyleSheet styleSheet)
public void setParentWidowContexts(int parentWidowContexts)
public int getParentWidowContexts()
public int getDescendantCount()
getDescendantCount
in class RenderNode
public boolean isContentRefHolder()
public void markAsContentRefHolder()
public Object getRawValue()
public void setRawValue(Object rawValue)
public boolean isSizeSpecifiesBorderBox()
isSizeSpecifiesBorderBox
in class RenderNode
public RenderBox getTextEllipseBox()
public void setTextEllipseBox(RenderBox textEllipseBox)
public ReportStateKey getStateKey()
getStateKey
in class RenderNode
public RenderBox.BreakIndicator getManualBreakIndicator()
public void setManualBreakIndicator(RenderBox.BreakIndicator manualBreakIndicator)
public BoxDefinition getBoxDefinition()
public long getInsetsLeft()
public long getInsetsRight()
public long getEffectiveMinimumChunkSize()
getEffectiveMinimumChunkSize
in class RenderNode
public long getInsets()
public RenderNode getFirstChild()
public RenderNode getLastChild()
public void addGeneratedChild(RenderNode child)
public void addChild(RenderNode child)
public int getContentRefCount()
getContentRefCount
in class RenderNode
public int getTableRefCount()
getTableRefCount
in class RenderNode
public void replaceChild(RenderNode old, RenderNode replacement)
public void replaceChilds(RenderNode old, RenderNode[] replacement)
public RenderNode derive(boolean deepDerive)
derive
in class RenderNode
public RenderNode deriveFrozen(boolean deepDerive)
deriveFrozen
in class RenderNode
public void addChilds(RenderNode[] nodes)
public void addGeneratedChilds(RenderNode[] nodes)
public RenderNode findNodeById(InstanceID instanceId)
findNodeById
in class RenderNode
public boolean isAppendable()
public void clear()
public boolean isEmpty()
isEmpty
in class RenderNode
public boolean isDiscardable()
isDiscardable
in class RenderNode
public void close()
public void remove(RenderNode child)
public boolean isOpen()
isOpen
in class RenderNode
public void freeze()
freeze
in class RenderNode
public RenderBox split(int axis)
axis
- public long getContentAreaX1()
public void setContentAreaX1(long contentAreaX1)
public long getContentAreaX2()
public void setContentAreaX2(long contentAreaX2)
public StaticBoxLayoutProperties getStaticBoxLayoutProperties()
public ExtendedBaselineInfo getBaselineInfo()
public void setBaselineInfo(ExtendedBaselineInfo baselineInfo)
public String getName()
getName
in class RenderNode
public void setName(String name)
public boolean isBreakAfter()
isBreakAfter
in class RenderNode
public long getStaticBoxPropertiesAge()
public void setStaticBoxPropertiesAge(long staticBoxPropertiesAge)
public void commit()
public int getAppliedContentRefCount()
public boolean isAppliedOpen()
public boolean isAppliedSeen()
public boolean isMarkedOpen()
public boolean isMarkedSeen()
public void markBoxSeen()
public boolean isCommited()
public void rollback(boolean deepDirty)
public void resetCacheState(boolean deepDirty)
public boolean isDeepFinishedTable()
isDeepFinishedTable
in class RenderNode
public void setDeepFinished(boolean deepFinished)
public long getContentAge()
public void setContentAge(long contentAge)
public Boolean getContentBox()
public void setContentBox(Boolean contentBox)
public Object getTableExportState()
public void setTableExportState(Object tableExportState)
public void markPinned(long pinPosition)
public boolean isPinned()
public long getPinned()
public void setMinimumChunkWidth(long minimumChunkWidth)
public boolean isBoxOverflowX()
isBoxOverflowX
in class RenderNode
public boolean isBoxOverflowY()
isBoxOverflowY
in class RenderNode
public boolean isEmptyNodesHaveSignificance()
public boolean isAcceptInlineBoxes()
public long getTableValidationAge()
public void setTableValidationAge(long tableValidationAge)
public boolean useMinimumChunkWidth()
public long getOverflowAreaHeight()
getOverflowAreaHeight
in class RenderNode
public void setOverflowAreaHeight(long overflowAreaHeight)
public long getOverflowAreaWidth()
getOverflowAreaWidth
in class RenderNode
public void setOverflowAreaWidth(long overflowAreaWidth)
public void addOverflowArea(long width, long height)
public void apply()
apply
in class RenderNode
public long extendHeight(RenderNode child, long heightOffset)
amount
given is the offset from the old height to the new height, and is always a positive
number.child
- heightOffset
- public int getChildCount()
getChildCount
in class RenderNode
public long getOrphanConstraintSize()
public void setOrphanConstraintSize(long orphanConstraintSize)
public long getWidowConstraintSize()
public void setWidowConstraintSize(long widowConstraintSize)
public long getWidowConstraintSizeWithKeepTogether()
public void setWidowConstraintSizeWithKeepTogether(long widowConstraintSizeWithKeepTogether)
public boolean isInvalidWidowOrphanNode()
public void setInvalidWidowOrphanNode(boolean invalidWidowOrphanNode)
public RenderBox.RestrictFinishClearOut getRestrictFinishedClearOut()
getRestrictFinishedClearOut
in class RenderNode
public void setRestrictFinishedClearOut(RenderBox.RestrictFinishClearOut restrictFinishedClearOut)
public boolean isOrphanLeaf()
isOrphanLeaf
in class RenderNode
public long getVerticalInsets()
public boolean isContainsReservedContent()
isContainsReservedContent
in class RenderNode
public void setContainsReservedContent(boolean containsReservedContent)
public boolean isPreventPagination()
public void setPreventPagination(boolean preventPagination)
public boolean isRenderBox()
isRenderBox
in class RenderNode
public void setProcessKeyCached(ReportStateKey processKeyCached)
public long getProcessKeyStepAge()
public ReportStateKey getProcessKeyCached()
public boolean isProcessKeyFinish()
public boolean isProcessKeyCacheValid()
public int getOrphanLeafCount()
getOrphanLeafCount
in class RenderNode
public void setOrphanLeafCount(int orphanLeafCount)
public int getWidowLeafCount()
getWidowLeafCount
in class RenderNode
public void setWidowLeafCount(int widowLeafCount)