org.xhtmlrenderer.newtable
Class TableRowBox

java.lang.Object
  extended by org.xhtmlrenderer.render.Box
      extended by org.xhtmlrenderer.render.BlockBox
          extended by org.xhtmlrenderer.newtable.TableRowBox
All Implemented Interfaces:
InlinePaintable, Styleable

public class TableRowBox
extends BlockBox


Field Summary
 
Fields inherited from class org.xhtmlrenderer.render.BlockBox
CONTENT_BLOCK, CONTENT_EMPTY, CONTENT_INLINE, CONTENT_UNKNOWN, NO_BASELINE, POSITION_BOTH, POSITION_HORIZONTALLY, POSITION_VERTICALLY
 
Fields inherited from class org.xhtmlrenderer.render.Box
CHILDREN_FLUX, DONE, DUMP_LAYOUT, DUMP_RENDER, FLUX, LINE_SEPARATOR, NOTHING
 
Constructor Summary
TableRowBox()
           
 
Method Summary
 void analyzePageBreaks(LayoutContext c, ContentLimitContainer container)
           
protected  void calcLayoutHeight(LayoutContext c, BorderPropertySet border, RectPropertySet margin, RectPropertySet padding)
           
 BlockBox copyOf()
           
 void exportText(RenderingContext c, Writer writer)
           
 int forcePageBreakBefore(LayoutContext c, IdentValue pageBreakValue, boolean pendingPageName)
           
 int getBaseline()
           
 ContentLimitContainer getContentLimitContainer()
           
protected  String getExtraBoxDescription()
           
 int getExtraSpaceBottom()
           
 int getExtraSpaceTop()
           
 int getHeightOverride()
           
 void initStaticPos(LayoutContext c, BlockBox parent, int childOffset)
           
 boolean isAutoHeight()
           
 boolean isHaveBaseline()
           
protected  boolean isSkipWhenCollapsingMargins()
           
 void layout(LayoutContext c, int contentStart)
           
protected  void layoutChildren(LayoutContext c, int contentStart)
           
 void paintBackground(RenderingContext c)
           
 void paintBorder(RenderingContext c)
           
 void reset(LayoutContext c)
           
 void setBaseline(int baseline)
           
 void setContentLimitContainer(ContentLimitContainer contentLimitContainer)
           
 void setExtraSpaceBottom(int extraSpaceBottom)
           
 void setExtraSpaceTop(int extraSpaceTop)
           
 void setHaveBaseline(boolean haveBaseline)
           
 void setHeightOverride(int heightOverride)
           
 
Methods inherited from class org.xhtmlrenderer.render.BlockBox
appendPositioningInfo, calcBaseline, calcBreakAtLineContext, calcCanvasLocation, calcChildLocations, calcChildPaintingInfo, calcDimensions, calcDimensions, calcInitialBreakAtLine, calcInitialFloatedCanvasLocation, calcInlineBaseline, calcMinMaxWidth, checkPageContext, createMarkerData, dump, ensureChildren, findLastNthLineBox, findOffset, getAvailableWidth, getChildrenContentType, getChildrenHeight, getCSSFitToWidth, getCSSHeight, getCSSWidth, getCSSWidth, getDocumentParent, getFirstLetterStyle, getFirstLineStyle, getFloatedBoxData, getInlineContent, getLineBox, getListCounter, getMarkerData, getMaxWidth, getMinWidth, getPageClearance, getPaintingClipEdge, getPersistentBFC, getReplacedElement, getStaticEquivalent, isAllowHeightToShrink, isBottomMarginCalculated, isContainsInlineContent, isCurrentBreakAtLineContext, isFixedWidthAdvisoryOnly, isFloated, isFromCaptionedTable, isInitialContainingBlock, isInline, isInlineBlock, isInMainFlow, isMayCollapseMarginsWithChildren, isMinMaxCalculated, isNeedPageClear, isNeedsClipOnPaint, isNeedsKeepWithInline, isReplaced, isTopMarginCalculated, layout, layoutInlineChildren, paintDebugOutline, paintInline, paintListMarker, positionAbsolute, positionAbsoluteOnPage, propagateExtraSpace, resolveAutoMargins, setBottomMarginCalculated, setChildrenContentType, setChildrenHeight, setDimensionsCalculated, setFirstLetterStyle, setFirstLineStyle, setFloatedBoxData, setFromCaptionedTable, setInlineContent, setListCounter, setMarkerData, setMaxWidth, setMinMaxCalculated, setMinWidth, setNeedPageClear, setNeedShrinkToFitCalculatation, setPersistentBFC, setReplacedElement, setStaticEquivalent, setTopMarginCalculated, styleText, styleText, toString
 
Methods inherited from class org.xhtmlrenderer.render.Box
addAllChildren, addChild, addChildForLayout, calcPaintingInfo, clearSelection, collectText, connectChildrenToCurrentLayer, crossesPageBreak, detach, dumpBoxes, exportPageBoxText, find, forcePageBreakAfter, getAbsX, getAbsY, getBorder, getBorderEdge, getBorderSides, getBoxDimensions, getChild, getChildCount, getChildIterator, getChildren, getChildrenClipEdge, getContainingBlock, getContainingBlockWidth, getContainingLayer, getContentAreaEdge, getContentWidth, getEffBackgroundColor, getEffectiveWidth, getElement, getElementBoxes, getHeight, getIndex, getLayer, getLeftMBP, getMargin, getMarginBorderPadding, getMarginEdge, getMarginEdge, getNext, getNextSibling, getPadding, getPaddingEdge, getPaddingWidth, getPaintingBorderEdge, getPaintingInfo, getPaintingPaddingEdge, getParent, getPrevious, getPreviousSibling, getPseudoElementOrClass, getRelativeOffset, getRestyleTarget, getRightMBP, getState, getStyle, getStyleMargin, getStyleMargin, getTx, getTy, getWidth, getX, getY, initContainingLayer, intersects, isAnonymous, isBody, isContainedInMarginBox, isInDocumentFlow, isMarginAreaRoot, isRoot, isStyled, moveIfGreater, paintRootElementBackground, positionRelative, removeAllChildren, removeChild, removeChild, resetChildren, resetChildren, resetTopMargin, restyle, restyleChildren, selectAll, setAbsX, setAbsY, setAnonymous, setBoxDimensions, setContainingBlock, setContainingLayer, setContentWidth, setElement, setHeight, setIndex, setLayer, setLeftMBP, setMarginBottom, setMarginLeft, setMarginRight, setMarginTop, setParent, setPseudoElementOrClass, setRelativeOffset, setRightMBP, setState, setStyle, setTx, setTy, setX, setY, stateToString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableRowBox

public TableRowBox()
Method Detail

copyOf

public BlockBox copyOf()
Overrides:
copyOf in class BlockBox

isAutoHeight

public boolean isAutoHeight()
Overrides:
isAutoHeight in class BlockBox

layout

public void layout(LayoutContext c,
                   int contentStart)
Overrides:
layout in class BlockBox

analyzePageBreaks

public void analyzePageBreaks(LayoutContext c,
                              ContentLimitContainer container)
Overrides:
analyzePageBreaks in class Box

layoutChildren

protected void layoutChildren(LayoutContext c,
                              int contentStart)
Overrides:
layoutChildren in class BlockBox

calcLayoutHeight

protected void calcLayoutHeight(LayoutContext c,
                                BorderPropertySet border,
                                RectPropertySet margin,
                                RectPropertySet padding)
Overrides:
calcLayoutHeight in class BlockBox

initStaticPos

public void initStaticPos(LayoutContext c,
                          BlockBox parent,
                          int childOffset)
Overrides:
initStaticPos in class BlockBox

getBaseline

public int getBaseline()

setBaseline

public void setBaseline(int baseline)

isSkipWhenCollapsingMargins

protected boolean isSkipWhenCollapsingMargins()
Overrides:
isSkipWhenCollapsingMargins in class BlockBox

paintBorder

public void paintBorder(RenderingContext c)
Overrides:
paintBorder in class Box

paintBackground

public void paintBackground(RenderingContext c)
Overrides:
paintBackground in class Box

reset

public void reset(LayoutContext c)
Overrides:
reset in class BlockBox

isHaveBaseline

public boolean isHaveBaseline()

setHaveBaseline

public void setHaveBaseline(boolean haveBaseline)

getExtraBoxDescription

protected String getExtraBoxDescription()
Overrides:
getExtraBoxDescription in class BlockBox

getHeightOverride

public int getHeightOverride()

setHeightOverride

public void setHeightOverride(int heightOverride)

exportText

public void exportText(RenderingContext c,
                       Writer writer)
                throws IOException
Overrides:
exportText in class Box
Throws:
IOException

getContentLimitContainer

public ContentLimitContainer getContentLimitContainer()

setContentLimitContainer

public void setContentLimitContainer(ContentLimitContainer contentLimitContainer)

getExtraSpaceTop

public int getExtraSpaceTop()

setExtraSpaceTop

public void setExtraSpaceTop(int extraSpaceTop)

getExtraSpaceBottom

public int getExtraSpaceBottom()

setExtraSpaceBottom

public void setExtraSpaceBottom(int extraSpaceBottom)

forcePageBreakBefore

public int forcePageBreakBefore(LayoutContext c,
                                IdentValue pageBreakValue,
                                boolean pendingPageName)
Overrides:
forcePageBreakBefore in class Box


Copyright © 2013. All Rights Reserved.