public abstract class RenderNode extends Object implements Cloneable
Modifier and Type | Class and Description |
---|---|
static class |
RenderNode.CacheState |
Modifier and Type | Field and Description |
---|---|
static RenderNode.CacheState |
CACHE_CLEAN |
static RenderNode.CacheState |
CACHE_DEEP_DIRTY |
static RenderNode.CacheState |
CACHE_DIRTY |
static int |
HORIZONTAL_AXIS |
static int |
VERTICAL_AXIS |
Modifier and Type | Method and Description |
---|---|
void |
apply() |
Object |
clone()
Clones this node.
|
RenderNode |
derive(boolean deep)
Derive creates a disconnected node that shares all the properties of the original node.
|
RenderNode |
deriveFrozen(boolean deep) |
RenderNode |
findNodeById(InstanceID instanceId) |
void |
freeze() |
RenderNode.CacheState |
getApplyState() |
ReportAttributeMap<Object> |
getAttributes() |
long |
getCachedAge() |
long |
getCachedHeight() |
long |
getCachedWidth() |
long |
getCachedX()
Returns the cached y position.
|
long |
getCachedX2() |
long |
getCachedY()
Returns the cached y position.
|
long |
getCachedY2() |
RenderNode.CacheState |
getCacheState() |
long |
getChangeTracker() |
int |
getChildCount() |
int |
getContentRefCount()
The content-ref-count counts inline-subreports.
|
int |
getDescendantCount() |
long |
getEffectiveMarginBottom() |
long |
getEffectiveMarginTop() |
long |
getEffectiveMinimumChunkSize() |
ElementType |
getElementType() |
long |
getHeight() |
InstanceID |
getInstanceId() |
int |
getLayoutNodeType() |
RenderBox |
getLayoutParent() |
long |
getLinebreakAge() |
LogicalPageBox |
getLogicalPage() |
int |
getMajorAxis() |
long |
getMaximumBoxWidth() |
long |
getMinimumChunkWidth() |
int |
getMinorAxis() |
String |
getName() |
RenderNode |
getNext() |
NodeLayoutProperties |
getNodeLayoutProperties() |
abstract int |
getNodeType() |
int |
getOrphanLeafCount() |
long |
getOverflowAreaHeight() |
long |
getOverflowAreaWidth() |
RenderBox |
getParent() |
RenderNode |
getPrev() |
RenderBox.RestrictFinishClearOut |
getRestrictFinishedClearOut() |
int |
getRowIndex() |
ReportStateKey |
getStateKey() |
StyleSheet |
getStyleSheet() |
int |
getTableRefCount() |
long |
getValidateModelAge() |
VerticalTextAlign |
getVerticalTextAlignment() |
int |
getWidowLeafCount() |
long |
getWidth() |
long |
getX() |
long |
getY() |
long |
getY2() |
boolean |
isBoxOverflowX() |
boolean |
isBoxOverflowY() |
boolean |
isBoxVisible(long x,
long y,
long width,
long height) |
boolean |
isBoxVisible(StrictBounds drawArea) |
boolean |
isBreakAfter() |
boolean |
isCacheValid() |
boolean |
isContainsReservedContent() |
boolean |
isDeepFinishedTable() |
boolean |
isDiscardable() |
boolean |
isEmpty() |
boolean |
isFinishedPaginate()
Checks whether this node can be removed.
|
boolean |
isFinishedTable() |
boolean |
isFrozen() |
boolean |
isIgnorableForRendering()
If that method returns true, the element will not be used for rendering.
|
boolean |
isLinebreakCacheValid() |
boolean |
isNodeVisible(long drawAreaX0,
long drawAreaY0,
long drawAreaWidth,
long drawAreaHeight) |
boolean |
isNodeVisible(long drawAreaX0,
long drawAreaY0,
long drawAreaWidth,
long drawAreaHeight,
boolean overflowX,
boolean overflowY) |
boolean |
isNodeVisible(StrictBounds drawArea) |
boolean |
isNodeVisible(StrictBounds drawArea,
boolean overflowX,
boolean overflowY) |
boolean |
isOpen() |
boolean |
isOrphanLeaf() |
static boolean |
isParanoidModelChecks() |
boolean |
isRenderBox() |
boolean |
isSizeSpecifiesBorderBox() |
boolean |
isValidateModelCacheValid() |
ValidationResult |
isValidateModelResult() |
boolean |
isVirtualNode() |
boolean |
isVisible() |
boolean |
isWidowBox() |
void |
markApplyStateDirty() |
void |
setCachedHeight(long cachedHeight) |
void |
setCachedWidth(long cachedWidth) |
void |
setCachedX(long cachedX)
Defines the cached x position.
|
void |
setCachedY(long cachedY)
Defines the cached y position.
|
void |
setFinishedPaginate(boolean finished) |
void |
setFinishedTable(boolean finished) |
void |
setHeight(long height) |
void |
setLinebreakAge(long linebreakAge) |
void |
setMaximumBoxWidth(long maximumBoxWidth) |
void |
setValidateModelResult(ValidationResult result) |
void |
setVirtualNode(boolean virtualNode) |
void |
setWidowBox(boolean widowBox) |
void |
setWidth(long width) |
void |
setX(long x) |
void |
setY(long y) |
void |
shift(long amount) |
void |
shiftCached(long amount) |
public static final int HORIZONTAL_AXIS
public static final int VERTICAL_AXIS
public static final RenderNode.CacheState CACHE_CLEAN
public static final RenderNode.CacheState CACHE_DIRTY
public static final RenderNode.CacheState CACHE_DEEP_DIRTY
public static boolean isParanoidModelChecks()
public ElementType getElementType()
public ReportAttributeMap<Object> getAttributes()
public int getContentRefCount()
public int getTableRefCount()
public int getDescendantCount()
public boolean isSizeSpecifiesBorderBox()
public abstract int getNodeType()
public int getLayoutNodeType()
public int getMinorAxis()
public int getMajorAxis()
public final NodeLayoutProperties getNodeLayoutProperties()
public final long getX()
public final void setX(long x)
public final long getY()
public void shift(long amount)
public void setY(long y)
public final long getWidth()
public final void setWidth(long width)
public final long getHeight()
public void setHeight(long height)
public final StyleSheet getStyleSheet()
public InstanceID getInstanceId()
public final long getChangeTracker()
public final RenderBox getParent()
public RenderBox getLayoutParent()
public final RenderNode getPrev()
public final RenderNode getNext()
public LogicalPageBox getLogicalPage()
public Object clone()
public RenderNode derive(boolean deep)
deep
- public RenderNode deriveFrozen(boolean deep)
public boolean isFrozen()
public RenderNode findNodeById(InstanceID instanceId)
public boolean isOpen()
public boolean isEmpty()
public boolean isDiscardable()
public boolean isIgnorableForRendering()
public void freeze()
public long getMaximumBoxWidth()
public void setMaximumBoxWidth(long maximumBoxWidth)
public long getMinimumChunkWidth()
public long getEffectiveMarginTop()
public long getEffectiveMarginBottom()
public VerticalTextAlign getVerticalTextAlignment()
public String getName()
public boolean isBreakAfter()
public long getValidateModelAge()
public void setValidateModelResult(ValidationResult result)
public ValidationResult isValidateModelResult()
public long getLinebreakAge()
public void setLinebreakAge(long linebreakAge)
public final long getCachedX()
public void setCachedX(long cachedX)
cachedX
- the cached x positionpublic final long getCachedY()
public final long getCachedY2()
public void setCachedY(long cachedY)
cachedY
- the cached y positionpublic void shiftCached(long amount)
public final long getCachedWidth()
public final long getCachedX2()
public void setCachedWidth(long cachedWidth)
public final long getCachedHeight()
public void setCachedHeight(long cachedHeight)
public void apply()
public final boolean isLinebreakCacheValid()
public final boolean isValidateModelCacheValid()
public boolean isFinishedPaginate()
public void setFinishedPaginate(boolean finished)
public boolean isFinishedTable()
public void setFinishedTable(boolean finished)
public boolean isDeepFinishedTable()
public RenderNode.CacheState getCacheState()
public ReportStateKey getStateKey()
public boolean isBoxOverflowX()
public boolean isBoxOverflowY()
public final boolean isNodeVisible(StrictBounds drawArea, boolean overflowX, boolean overflowY)
public final boolean isNodeVisible(StrictBounds drawArea)
public final boolean isNodeVisible(long drawAreaX0, long drawAreaY0, long drawAreaWidth, long drawAreaHeight)
public final boolean isNodeVisible(long drawAreaX0, long drawAreaY0, long drawAreaWidth, long drawAreaHeight, boolean overflowX, boolean overflowY)
public boolean isVirtualNode()
public void setVirtualNode(boolean virtualNode)
public final boolean isBoxVisible(StrictBounds drawArea)
public final boolean isBoxVisible(long x, long y, long width, long height)
public long getOverflowAreaHeight()
public long getOverflowAreaWidth()
public long getEffectiveMinimumChunkSize()
public int getChildCount()
public boolean isWidowBox()
public void setWidowBox(boolean widowBox)
public boolean isOrphanLeaf()
public RenderBox.RestrictFinishClearOut getRestrictFinishedClearOut()
public long getCachedAge()
public boolean isCacheValid()
public final long getY2()
public boolean isVisible()
public boolean isContainsReservedContent()
public void markApplyStateDirty()
public RenderNode.CacheState getApplyState()
public int getRowIndex()
public boolean isRenderBox()
public int getWidowLeafCount()
public int getOrphanLeafCount()