public class

TableCellElement

extends Element
java.lang.Object
   ↳ com.google.gwt.core.client.JavaScriptObject
     ↳ com.google.gwt.dom.client.Node
       ↳ com.google.gwt.dom.client.Element
         ↳ com.google.gwt.dom.client.TableCellElement

Class Overview

The object used to represent the TH and TD elements.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.dom.client.Node
Protected Constructors
TableCellElement()
Public Methods
static TableCellElement as(Element elem)
Assert that the given Element is compatible with this class and automatically typecast it.
final String getAlign()
Horizontal alignment of data in cell.
final int getCellIndex()
The index of this cell in the row, starting from 0.
final String getCh()
Alignment character for cells in a column.
final String getChOff()
Offset of alignment character.
final int getColSpan()
Number of columns spanned by cell.
final String getHeaders()
List of id attribute values for header cells.
final int getRowSpan()
Number of rows spanned by cell.
final String getVAlign()
Vertical alignment of data in cell.
final void setAlign(String align)
Horizontal alignment of data in cell.
final void setCh(String ch)
Alignment character for cells in a column.
final void setChOff(String chOff)
Offset of alignment character.
final void setColSpan(int colSpan)
Number of columns spanned by cell.
final void setHeaders(String headers)
List of id attribute values for header cells.
final void setRowSpan(int rowSpan)
Number of rows spanned by cell.
final void setVAlign(String vAlign)
Vertical alignment of data in cell.
[Expand]
Inherited Methods
From class com.google.gwt.dom.client.Element
From class com.google.gwt.dom.client.Node
From class com.google.gwt.core.client.JavaScriptObject
From class java.lang.Object

Protected Constructors

protected TableCellElement ()

Public Methods

public static TableCellElement as (Element elem)

Assert that the given Element is compatible with this class and automatically typecast it.

public final String getAlign ()

Horizontal alignment of data in cell.

public final int getCellIndex ()

The index of this cell in the row, starting from 0. This index is in document tree order and not display order. Note: This method always returns 0 on Safari 2 (bug 3295).

public final String getCh ()

Alignment character for cells in a column.

public final String getChOff ()

Offset of alignment character.

public final int getColSpan ()

Number of columns spanned by cell.

public final String getHeaders ()

List of id attribute values for header cells.

public final int getRowSpan ()

Number of rows spanned by cell.

public final String getVAlign ()

Vertical alignment of data in cell.

public final void setAlign (String align)

Horizontal alignment of data in cell.

public final void setCh (String ch)

Alignment character for cells in a column.

public final void setChOff (String chOff)

Offset of alignment character.

public final void setColSpan (int colSpan)

Number of columns spanned by cell.

public final void setHeaders (String headers)

List of id attribute values for header cells.

public final void setRowSpan (int rowSpan)

Number of rows spanned by cell.

public final void setVAlign (String vAlign)

Vertical alignment of data in cell.