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

java.lang.Object
  extended by info.informatica.doc.style.css.visual.box.AbstractCSSBox
      extended by info.informatica.doc.style.css.visual.box.AbstractBlockBox
          extended by info.informatica.doc.style.css.visual.box.BlockBox
              extended by info.informatica.doc.style.css.visual.box.TableCellBox
All Implemented Interfaces:
TableCell, CSSBox, CSSContainerBox, CSSTableCellBox

public class TableCellBox
extends BlockBox
implements CSSTableCellBox

CSS table cell.

Author:
Carlos Amengual (amengual at informatica.info)

Constructor Summary
TableCellBox(CSS2ComputedProperties style)
           
 
Method Summary
 int columnSpan()
          Gets the column span for this table cell.
 Node getNode()
           
 int getRowIndex()
          Gets the numeric index for this cell.
 void print(TableRenderer tablePrinter)
           
 int rowSpan()
          Gets the row span for this table cell.
 void setRowIndex(int rowIndex)
           
 
Methods inherited from class info.informatica.doc.style.css.visual.box.BlockBox
asContainerBox, computeAutoHeight, setBoxContainer
 
Methods inherited from class info.informatica.doc.style.css.visual.box.AbstractBlockBox
automaticLeftMargin, automaticRightMargin, computeMarginSubproperty, computeScrollbarWidth, getHeight, getMarginBottom, getMarginLeft, getMarginRight, getMarginTop, getWidth
 
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, 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.CSSContainerBox
asContainerBox, getHeight, getWidth, setBoxContainer
 
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

TableCellBox

public TableCellBox(CSS2ComputedProperties style)
Method Detail

getNode

public Node getNode()

setRowIndex

public void setRowIndex(int rowIndex)

getRowIndex

public int getRowIndex()
Description copied from interface: TableCell
Gets the numeric index for this cell.

Specified by:
getRowIndex in interface TableCell
Returns:
the index of this cell in the row.

columnSpan

public int columnSpan()
Description copied from interface: TableCell
Gets the column span for this table cell.

Specified by:
columnSpan in interface TableCell
Returns:
the column span.

rowSpan

public int rowSpan()
Description copied from interface: TableCell
Gets the row span for this table cell.

Specified by:
rowSpan in interface TableCell
Returns:
the row span.

print

public void print(TableRenderer tablePrinter)


Copyright © 2011 informatica.info. All Rights Reserved.