org.jfree.layouting.renderer.model.table
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
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 |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableCellRenderBox
public TableCellRenderBox(BoxDefinition boxDefinition,
boolean autoGenerated)
TableCellRenderBox
public TableCellRenderBox(BoxDefinition boxDefinition)
appyStyle
public void appyStyle(LayoutContext context,
OutputProcessorMetaData metaData)
- Overrides:
appyStyle
in class RenderBox
normalizeAlignment
protected CSSValue normalizeAlignment(CSSValue verticalAlignment)
- Overrides:
normalizeAlignment
in class RenderNode
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 class RenderNode
- 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)