public class

TableRowElement

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.TableRowElement

Class Overview

A row in a table.

Summary

[Expand]
Inherited Constants
From class com.google.gwt.dom.client.Node
Protected Constructors
TableRowElement()
Public Methods
static TableRowElement as(Element elem)
Assert that the given Element is compatible with this class and automatically typecast it.
final void deleteCell(int index)
Delete a cell from the current row.
final String getAlign()
Horizontal alignment of data within cells of this row.
final NodeList<TableCellElement> getCells()
The collection of cells in this row.
final String getCh()
Alignment character for cells in a column.
final String getChOff()
Offset of alignment character.
final int getRowIndex()
This is in logical order and not in document order.
final int getSectionRowIndex()
The index of this row, relative to the current section (THEAD, TFOOT, or TBODY), starting from 0.
final String getVAlign()
Vertical alignment of data within cells of this row.
final TableCellElement insertCell(int index)
Insert an empty TD cell into this row.
final void setAlign(String align)
Horizontal alignment of data within cells of this row.
final void setCh(String ch)
Alignment character for cells in a column.
final void setChOff(String chOff)
Offset of alignment character.
final void setVAlign(String vAlign)
Vertical alignment of data within cells of this row.
[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 TableRowElement ()

Public Methods

public static TableRowElement as (Element elem)

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

public final void deleteCell (int index)

Delete a cell from the current row.

public final String getAlign ()

Horizontal alignment of data within cells of this row.

public final NodeList<TableCellElement> getCells ()

The collection of cells in this row.

public final String getCh ()

Alignment character for cells in a column.

public final String getChOff ()

Offset of alignment character.

public final int getRowIndex ()

This is in logical order and not in document order. The rowIndex does take into account sections (THEAD, TFOOT, or TBODY) within the table, placing THEAD rows first in the index, followed by TBODY rows, followed by TFOOT rows.

public final int getSectionRowIndex ()

The index of this row, relative to the current section (THEAD, TFOOT, or TBODY), starting from 0.

public final String getVAlign ()

Vertical alignment of data within cells of this row.

public final TableCellElement insertCell (int index)

Insert an empty TD cell into this row. If index is -1 or equal to the number of cells, the new cell is appended.

public final void setAlign (String align)

Horizontal alignment of data within cells of this row.

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 setVAlign (String vAlign)

Vertical alignment of data within cells of this row.