org.pentaho.reporting.engine.classic.core.layout.model
Class BreakMarkerRenderBox

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.model.RenderNode
      extended by org.pentaho.reporting.engine.classic.core.layout.model.RenderBox
          extended by org.pentaho.reporting.engine.classic.core.layout.model.BlockRenderBox
              extended by org.pentaho.reporting.engine.classic.core.layout.model.BreakMarkerRenderBox
All Implemented Interfaces:
Cloneable

public final class BreakMarkerRenderBox
extends BlockRenderBox

A special box that simply marks the position of an automatic pagebreak. This is needed in the process of the event ordering and rollback processing.

Author:
Thomas Morgner

Field Summary
 
Fields inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderBox
DIRECT_MANUAL_BREAK, INDIRECT_MANUAL_BREAK, NO_MANUAL_BREAK
 
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
BreakMarkerRenderBox(StyleSheet styleSheet, InstanceID instanceID, BoxDefinition boxDefinition, ElementType elementType, ReportAttributeMap attributeMap, ReportStateKey stateKey)
           
 
Method Summary
 int getNodeType()
           
 boolean isIgnorableForRendering()
          If that method returns true, the element will not be used for rendering.
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.BlockRenderBox
close
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.layout.model.RenderBox
addChild, addChilds, addGeneratedChild, addGeneratedChilds, clear, commitApplyMark, derive, deriveFrozen, findNodeById, freeze, getAppliedContentRefCount, getBaselineInfo, getBoxDefinition, getBreakContext, getComputedWidth, getContentAge, getContentAreaX1, getContentAreaX2, getContentBox, getContentRefCount, getFirstChild, getInsets, getLastChild, getManualBreakIndicator, getName, getPinned, getStateKey, getStaticBoxLayoutProperties, getStaticBoxPropertiesAge, getTableExportState, getTextEllipseBox, hibernate, isAppendable, isAppliedOpen, isAppliedSeen, isAutoGenerated, isBoxOverflowX, isBoxOverflowY, isBreakAfter, isCommited, isDeepFinished, isDiscardable, isEmpty, 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, getInstanceId, getLogicalPage, getMajorAxis, getMaximumBoxWidth, getMinimumChunkWidth, getMinorAxis, getNext, getNodeLayoutProperties, getParent, getPrev, getStyleSheet, getVerticalTextAlignment, getWidth, getX, getY, isBoxVisible, isBoxVisible, isCacheValid, isFinishedPaginate, isFinishedTable, isFrozen, isHibernated, isNodeVisible, isNodeVisible, isNodeVisible, isNodeVisible, isVirtualNode, setCachedAge, setCachedHeight, setCachedParentWidth, setCachedWidth, setCachedX, setCachedY, setFinishedPaginate, setFinishedTable, setHeight, setMaximumBoxWidth, setVirtualNode, setWidth, setX, setY, shift, shiftCached
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BreakMarkerRenderBox

public BreakMarkerRenderBox(StyleSheet styleSheet,
                            InstanceID instanceID,
                            BoxDefinition boxDefinition,
                            ElementType elementType,
                            ReportAttributeMap attributeMap,
                            ReportStateKey stateKey)
Method Detail

isIgnorableForRendering

public boolean isIgnorableForRendering()
Description copied from class: RenderNode
If that method returns true, the element will not be used for rendering. For the purpose of computing sizes or performing the layouting (in the validate() step), this element will treated as if it is not there.

If the element reports itself as non-empty, however, it will affect the margin computation.

Overrides:
isIgnorableForRendering in class RenderNode
Returns:

getNodeType

public int getNodeType()
Overrides:
getNodeType in class BlockRenderBox