Class TableCellRenderBox
- java.lang.Object
-
- org.jfree.layouting.renderer.model.RenderNode
-
- org.jfree.layouting.renderer.model.RenderBox
-
- org.jfree.layouting.renderer.model.BlockRenderBox
-
- org.jfree.layouting.renderer.model.table.TableCellRenderBox
-
- All Implemented Interfaces:
java.lang.Cloneable
public class TableCellRenderBox extends BlockRenderBox
A table section box does not much rendering or layouting at all. It represents one of the three possible sections and behaves like any other block box. But (here it comes!) it refuses to be added to anything else than a TableRenderBox (a small check to save me a lot of insanity ..).- Author:
- Thomas Morgner
-
-
Field Summary
-
Fields inherited from class org.jfree.layouting.renderer.model.RenderNode
HORIZONTAL_AXIS, VERTICAL_AXIS
-
-
Constructor Summary
Constructors Constructor Description TableCellRenderBox(BoxDefinition boxDefinition)
TableCellRenderBox(BoxDefinition boxDefinition, boolean autoGenerated)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
appyStyle(LayoutContext context, OutputProcessorMetaData metaData)
RenderNode
getCellNode()
int
getColSpan()
int
getColumnIndex()
Border
getEffectiveBorder()
Border
getOriginalBorder()
int
getRowSpan()
TableRenderBox
getTable()
boolean
isAutoGenerated()
boolean
isIgnorableForRendering()
If that method returns true, the element will not be used for rendering.protected CSSValue
normalizeAlignment(CSSValue verticalAlignment)
void
setColumnIndex(int columnIndex)
void
setEffectiveBorder(Border effectiveBorder)
-
Methods inherited from class org.jfree.layouting.renderer.model.RenderBox
addChild, addChilds, addGeneratedChild, clear, clone, close, derive, deriveFrozen, findNodeById, freeze, getBaselineInfo, getBorder, getBoxDefinition, getBoxLayoutProperties, getContentAreaX1, getContentAreaX2, getDominantBaseline, getEffectiveMarginBottom, getEffectiveMarginTop, getFirstChild, getInsertationPoint, getLastChild, getLineCount, getNominalBaselineInfo, getOrphans, getOrphansSize, getPageContext, getStaticBoxLayoutProperties, getVisibleFirst, getVisibleLast, getWidows, getWidowsSize, hibernate, insertAfter, insertBefore, isAppendable, isAvoidPagebreakInside, isDiscardable, isEmpty, isOpen, isPreserveSpace, remove, replaceChild, replaceChilds, setBaselineInfo, setContentAreaX1, setContentAreaX2, setFirstChild, setLastChild, setLineCount, setOrphansSize, setPageContext, setWidowsSize, split
-
Methods inherited from class org.jfree.layouting.renderer.model.RenderNode
getAlignmentAdjust, getAlignmentAdjustResolved, getAlignmentBaseline, getBaselineShift, getBaselineShiftResolved, getChangeTracker, getComputedLayoutProperties, getDimension, getHeight, getInstanceId, getLayoutContext, getLogicalPage, getMajorAxis, getMaximumBoxWidth, getMinimumChunkWidth, getMinorAxis, getNamespace, getNext, getNodeLayoutProperties, getNormalFlow, getParent, getParentBlockContext, getPosition, getPrev, getStickyMarker, getTagName, getVerticalAlignment, getVisibleNext, getVisiblePrev, getWidth, getX, getY, isDirectionLTR, isDirty, isFrozen, isHibernated, isIcmMetricsFinished, setComputedLayoutProperties, setDimension, setDirty, setHeight, setHibernated, setIcmMetricsFinished, setMajorAxis, setMaximumBoxWidth, setMinimumChunkWidth, setMinorAxis, setNext, setParent, setPosition, setPrev, setStickyMarker, setWidth, setX, setY, updateChangeTracker
-
-
-
-
Constructor Detail
-
TableCellRenderBox
public TableCellRenderBox(BoxDefinition boxDefinition, boolean autoGenerated)
-
TableCellRenderBox
public TableCellRenderBox(BoxDefinition boxDefinition)
-
-
Method Detail
-
appyStyle
public void appyStyle(LayoutContext context, OutputProcessorMetaData metaData)
-
normalizeAlignment
protected CSSValue normalizeAlignment(CSSValue verticalAlignment)
- Overrides:
normalizeAlignment
in classRenderNode
-
isAutoGenerated
public boolean isAutoGenerated()
-
getCellNode
public RenderNode getCellNode()
-
getTable
public TableRenderBox getTable()
-
getColSpan
public int getColSpan()
-
getRowSpan
public int getRowSpan()
-
isIgnorableForRendering
public boolean isIgnorableForRendering()
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 classRenderNode
- Returns:
-
getEffectiveBorder
public Border getEffectiveBorder()
-
setEffectiveBorder
public void setEffectiveBorder(Border effectiveBorder)
-
getOriginalBorder
public Border getOriginalBorder()
-
getColumnIndex
public int getColumnIndex()
-
setColumnIndex
public void setColumnIndex(int columnIndex)
-
-