org.w3c.dom.html2

Interface HTMLTableCellElement

public interface HTMLTableCellElement extends HTMLElement

The object used to represent the TH and TD elements. See the TD element definition in HTML 4.01.

See also the Document Object Model (DOM) Level 2 HTML Specification.

Method Summary
StringgetAbbr()
Abbreviation for header cells.
StringgetAlign()
Horizontal alignment of data in cell.
StringgetAxis()
Names group of related headers.
StringgetBgColor()
Cell background color.
intgetCellIndex()
The index of this cell in the row, starting from 0.
StringgetCh()
Alignment character for cells in a column.
StringgetChOff()
Offset of alignment character.
intgetColSpan()
Number of columns spanned by cell.
StringgetHeaders()
List of id attribute values for header cells.
StringgetHeight()
Cell height.
booleangetNoWrap()
Suppress word wrapping.
intgetRowSpan()
Number of rows spanned by cell.
StringgetScope()
Scope covered by header cells.
StringgetVAlign()
Vertical alignment of data in cell.
StringgetWidth()
Cell width.
voidsetAbbr(String abbr)
Abbreviation for header cells.
voidsetAlign(String align)
Horizontal alignment of data in cell.
voidsetAxis(String axis)
Names group of related headers.
voidsetBgColor(String bgColor)
Cell background color.
voidsetCh(String ch)
Alignment character for cells in a column.
voidsetChOff(String chOff)
Offset of alignment character.
voidsetColSpan(int colSpan)
Number of columns spanned by cell.
voidsetHeaders(String headers)
List of id attribute values for header cells.
voidsetHeight(String height)
Cell height.
voidsetNoWrap(boolean noWrap)
Suppress word wrapping.
voidsetRowSpan(int rowSpan)
Number of rows spanned by cell.
voidsetScope(String scope)
Scope covered by header cells.
voidsetVAlign(String vAlign)
Vertical alignment of data in cell.
voidsetWidth(String width)
Cell width.

Method Detail

getAbbr

public String getAbbr()
Abbreviation for header cells. See the abbr attribute definition in HTML 4.01.

getAlign

public String getAlign()
Horizontal alignment of data in cell. See the align attribute definition in HTML 4.01.

getAxis

public String getAxis()
Names group of related headers. See the axis attribute definition in HTML 4.01.

getBgColor

public String getBgColor()
Cell background color. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

getCellIndex

public int getCellIndex()
The index of this cell in the row, starting from 0. This index is in document tree order and not display order.

getCh

public String getCh()
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.

getChOff

public String getChOff()
Offset of alignment character. See the charoff attribute definition in HTML 4.01.

getColSpan

public int getColSpan()
Number of columns spanned by cell. See the colspan attribute definition in HTML 4.01.

getHeaders

public String getHeaders()
List of id attribute values for header cells. See the headers attribute definition in HTML 4.01.

getHeight

public String getHeight()
Cell height. See the height attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

getNoWrap

public boolean getNoWrap()
Suppress word wrapping. See the nowrap attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

getRowSpan

public int getRowSpan()
Number of rows spanned by cell. See the rowspan attribute definition in HTML 4.01.

getScope

public String getScope()
Scope covered by header cells. See the scope attribute definition in HTML 4.01.

getVAlign

public String getVAlign()
Vertical alignment of data in cell. See the valign attribute definition in HTML 4.01.

getWidth

public String getWidth()
Cell width. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setAbbr

public void setAbbr(String abbr)
Abbreviation for header cells. See the abbr attribute definition in HTML 4.01.

setAlign

public void setAlign(String align)
Horizontal alignment of data in cell. See the align attribute definition in HTML 4.01.

setAxis

public void setAxis(String axis)
Names group of related headers. See the axis attribute definition in HTML 4.01.

setBgColor

public void setBgColor(String bgColor)
Cell background color. See the bgcolor attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setCh

public void setCh(String ch)
Alignment character for cells in a column. See the char attribute definition in HTML 4.01.

setChOff

public void setChOff(String chOff)
Offset of alignment character. See the charoff attribute definition in HTML 4.01.

setColSpan

public void setColSpan(int colSpan)
Number of columns spanned by cell. See the colspan attribute definition in HTML 4.01.

setHeaders

public void setHeaders(String headers)
List of id attribute values for header cells. See the headers attribute definition in HTML 4.01.

setHeight

public void setHeight(String height)
Cell height. See the height attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setNoWrap

public void setNoWrap(boolean noWrap)
Suppress word wrapping. See the nowrap attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.

setRowSpan

public void setRowSpan(int rowSpan)
Number of rows spanned by cell. See the rowspan attribute definition in HTML 4.01.

setScope

public void setScope(String scope)
Scope covered by header cells. See the scope attribute definition in HTML 4.01.

setVAlign

public void setVAlign(String vAlign)
Vertical alignment of data in cell. See the valign attribute definition in HTML 4.01.

setWidth

public void setWidth(String width)
Cell width. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.