Package org.xhtmlrenderer.newtable
Class TableCellBox
java.lang.Object
org.xhtmlrenderer.render.Box
org.xhtmlrenderer.render.BlockBox
org.xhtmlrenderer.newtable.TableCellBox
- All Implemented Interfaces:
InlinePaintable
,Styleable
-
Field Summary
FieldsFields inherited from class org.xhtmlrenderer.render.BlockBox
CONTENT_BLOCK, CONTENT_EMPTY, CONTENT_INLINE, CONTENT_UNKNOWN, POSITION_BOTH, POSITION_HORIZONTALLY, POSITION_VERTICALLY
Fields inherited from class org.xhtmlrenderer.render.Box
CHILDREN_FLUX, DONE, DUMP_LAYOUT, DUMP_RENDER, FLUX, NOTHING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addCollapsedBorders
(Set all, List borders) int
int
void
static CollapsedBorderValue
compareBorders
(CollapsedBorderValue border1, CollapsedBorderValue border2, boolean returnNullOnEqual) copyOf()
getBorder
(CssContext cssCtx) int
getCol()
int
getRow()
getTable()
boolean
boolean
boolean
boolean
isPageBreaksChange
(LayoutContext c, int posDeltaY) void
void
moveContent
(LayoutContext c, int deltaY) void
void
void
paintCollapsedBorder
(RenderingContext c, int side) void
setCol
(int col) void
setLayoutWidth
(LayoutContext c, int width) void
setRow
(int row) Methods inherited from class org.xhtmlrenderer.render.BlockBox
calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcDimensions, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcMinMaxWidth, checkPageContext, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getChildrenContentType, getChildrenHeight, getDocumentParent, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPersistentBFC, getReplacedElement, getStaticEquivalent, initStaticPos, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFloated, isFromCaptionedTable, isInline, isInMainFlow, isNeedPageClear, isNeedsKeepWithInline, isReplaced, isTopMarginCalculated, layout, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, reset, setBottomMarginCalculated, setChildrenContentType, setFirstLetterStyle, setFirstLineStyle, setFloatedBoxData, setFromCaptionedTable, setInlineContent, setListCounter, setMarkerData, setNeedPageClear, setPersistentBFC, setReplacedElement, setStaticEquivalent, setTopMarginCalculated, styleText, styleText, toString
Methods inherited from class org.xhtmlrenderer.render.Box
addAllChildren, addChild, addChildForLayout, analyzePageBreaks, calcPaintingInfo, clearSelection, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, exportText, find, forcePageBreakAfter, forcePageBreakBefore, getAbsX, getAbsY, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildren, getContainingBlock, getContainingLayer, getContentAreaEdge, getContentWidth, getEffBackgroundColor, getEffectiveWidth, getElement, getElementBoxes, getHeight, getLayer, getLeftMBP, getMargin, getMarginBorderPadding, getMarginEdge, getMarginEdge, getNextSibling, getPadding, getPaddingEdge, getPaintingBorderEdge, getPaintingInfo, getPaintingPaddingEdge, getParent, getPreviousSibling, getPseudoElementOrClass, getRelativeOffset, getRestyleTarget, getRightMBP, getState, getStyle, getTx, getTy, getWidth, getX, getY, initContainingLayer, intersects, isAnonymous, isBody, isContainedInMarginBox, isInDocumentFlow, isRoot, isStyled, paintRootElementBackground, positionRelative, removeAllChildren, removeChild, removeChild, resetChildren, restyle, selectAll, setAbsX, setAbsY, setAnonymous, setBoxDimensions, setContainingBlock, setContainingLayer, setContentWidth, setElement, setHeight, setLayer, setLeftMBP, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setParent, setPseudoElementOrClass, setRelativeOffset, setRightMBP, setState, setStyle, setTx, setTy, setX, setY, stateToString
-
Field Details
-
SPANNING_CELL
-
-
Constructor Details
-
TableCellBox
public TableCellBox()
-
-
Method Details
-
copyOf
-
getBorder
-
calcCollapsedBorder
-
getCol
public int getCol() -
setCol
public void setCol(int col) -
getRow
public int getRow() -
setRow
public void setRow(int row) -
layout
-
getTable
-
getOuterStyleWidth
-
getOuterStyleOrColWidth
-
setLayoutWidth
-
isAutoHeight
public boolean isAutoHeight()- Overrides:
isAutoHeight
in classBlockBox
-
calcBaseline
- Overrides:
calcBaseline
in classBlockBox
-
calcBlockBaseline
-
moveContent
-
isPageBreaksChange
-
getVerticalAlign
-
paintBackground
- Overrides:
paintBackground
in classBox
-
paintBorder
- Overrides:
paintBorder
in classBox
-
paintCollapsedBorder
-
getChildrenClipEdge
- Overrides:
getChildrenClipEdge
in classBox
-
compareBorders
public static CollapsedBorderValue compareBorders(CollapsedBorderValue border1, CollapsedBorderValue border2, boolean returnNullOnEqual) -
getPaintingClipEdge
- Overrides:
getPaintingClipEdge
in classBlockBox
-
hasCollapsedPaintingBorder
public boolean hasCollapsedPaintingBorder() -
getCollapsedBorderBottom
-
getCollapsedBorderLeft
-
getCollapsedBorderRight
-
getCollapsedBorderTop
-
addCollapsedBorders
-
isNeedsClipOnPaint
- Overrides:
isNeedsClipOnPaint
in classBlockBox
-