info.informatica.doc.style.css.visual.box
Class TableRowBox

java.lang.Object
  extended by info.informatica.doc.style.css.visual.box.AbstractCSSBox
      extended by info.informatica.doc.style.css.visual.box.TableRowBox
All Implemented Interfaces:
TableRow, CSSBox, CSSTableRowBox

public class TableRowBox
extends AbstractCSSBox
implements CSSTableRowBox

CSS table row box.

Author:
Carlos Amengual (amengual at informatica.info)

Constructor Summary
TableRowBox(CSS2ComputedProperties style)
           
 
Method Summary
 void add(TableCellBox cell)
           
 float computeAutoHeight(float containerWidth)
           
 CSSTableCellBox[] getCells()
           
 int getColumnCount()
           
 float getContentWidth()
           
protected  float getHeight()
          Gets the height of this box.
 TableCellBox getLast()
           
protected  float getWidth()
          Gets the width of this box.
 boolean isEmpty()
           
 Iterator<TableCellBox> iterator()
           
 
Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractCSSBox
computeNumberOrZero, computeNumberOrZero, getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainerWidth, getContainingBlock, getCSSValue, getErrorHandler, getFontFamily, getFontSize, getFontWeight, getGeneratedSibling, getLeading, getLeading, getLeft, getLineHeight, getLineHeight, getLineHeightCSSValue, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingSubproperty, getPaddingTop, getRight, isContainerHeightAuto, isHeightAuto, isWidthAuto, overflowsWithScroll, setContainingBlock, setErrorHandler, shrinkToFit, textLengthToNaturalUnit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface info.informatica.doc.style.css.visual.CSSBox
getBackgroundPosition, getBorderBottomColor, getBorderBottomWidth, getBorderLeftColor, getBorderLeftWidth, getBorderRightColor, getBorderRightWidth, getBorderTopColor, getBorderTopWidth, getComputedStyle, getContainingBlock, getGeneratedSibling, getLeft, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getRight, setErrorHandler
 

Constructor Detail

TableRowBox

public TableRowBox(CSS2ComputedProperties style)
Method Detail

add

public void add(TableCellBox cell)

iterator

public Iterator<TableCellBox> iterator()

getCells

public CSSTableCellBox[] getCells()
Specified by:
getCells in interface TableRow

getLast

public TableCellBox getLast()

isEmpty

public boolean isEmpty()

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableRow

getWidth

protected float getWidth()
Description copied from class: AbstractCSSBox
Gets the width of this box.

This is defined to be the value of the width property, for boxes where it is defined, or the content width otherwise.

Specified by:
getWidth in class AbstractCSSBox
Returns:
the width of this box.

getContentWidth

public float getContentWidth()
Specified by:
getContentWidth in interface CSSTableRowBox

getHeight

protected float getHeight()
Description copied from class: AbstractCSSBox
Gets the height of this box.

This is defined to be the value of the height property, for boxes where it is defined, or the content height otherwise.

Specified by:
getHeight in class AbstractCSSBox
Returns:
the height of this box.

computeAutoHeight

public float computeAutoHeight(float containerWidth)
Specified by:
computeAutoHeight in interface CSSTableRowBox


Copyright © 2011 informatica.info. All Rights Reserved.