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 | Constructor and Description |
---|---|
protected |
RenderNode(int majorAxis,
int minorAxis,
StyleSheet styleSheet,
InstanceID instanceID,
ElementType elementType,
ReportAttributeMap<Object> attributes) |
protected |
RenderNode(NodeLayoutProperties nodeLayoutProperties) |
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() |
protected boolean |
isFlag(int flag) |
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() |
protected void |
reinit(StyleSheet styleSheet,
ElementType elementType,
ReportAttributeMap<Object> attributes,
InstanceID instanceId) |
protected void |
resetValidateModelResult() |
protected void |
setCachedAge(long cachedAge) |
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) |
protected void |
setFlag(int flag,
boolean value) |
void |
setHeight(long height) |
void |
setLinebreakAge(long linebreakAge) |
void |
setMaximumBoxWidth(long maximumBoxWidth) |
protected void |
setMinimumChunkWidth(long minimumChunkWidth) |
protected void |
setNext(RenderNode next) |
protected void |
setNextUnchecked(RenderNode next) |
protected void |
setParent(RenderBox parent) |
protected void |
setPrev(RenderNode prev) |
protected void |
setPrevUnchecked(RenderNode prev) |
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) |
protected void |
updateCacheState(RenderNode.CacheState state) |
protected void |
updateChangeTracker() |
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
protected RenderNode(int majorAxis, int minorAxis, StyleSheet styleSheet, InstanceID instanceID, ElementType elementType, ReportAttributeMap<Object> attributes)
protected RenderNode(NodeLayoutProperties nodeLayoutProperties)
public static boolean isParanoidModelChecks()
protected void reinit(StyleSheet styleSheet, ElementType elementType, ReportAttributeMap<Object> attributes, InstanceID instanceId)
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)
protected final void updateCacheState(RenderNode.CacheState state)
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()
protected void updateChangeTracker()
public final long getChangeTracker()
public final RenderBox getParent()
public RenderBox getLayoutParent()
protected final void setParent(RenderBox parent)
public final RenderNode getPrev()
protected final void setPrevUnchecked(RenderNode prev)
protected final void setPrev(RenderNode prev)
public final RenderNode getNext()
protected final void setNextUnchecked(RenderNode next)
protected final void setNext(RenderNode next)
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()
protected void setMinimumChunkWidth(long minimumChunkWidth)
public long getEffectiveMarginTop()
public long getEffectiveMarginBottom()
public VerticalTextAlign getVerticalTextAlignment()
public String getName()
public boolean isBreakAfter()
public long getValidateModelAge()
protected void resetValidateModelResult()
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)
protected void setFlag(int flag, boolean value)
protected boolean isFlag(int flag)
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()
protected final void setCachedAge(long cachedAge)
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()
Copyright © 2017 Hitachi Vantara. All rights reserved.