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.TableElement |
The create* and delete* methods on the table allow authors to construct and modify tables. [HTML 4.01] specifies that only one of each of the CAPTION, THEAD, and TFOOT elements may exist in a table. Therefore, if one exists, and the createTHead() or createTFoot() method is called, the method returns the existing THead or TFoot element.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.google.gwt.dom.client.Node
|
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Assert that the given
Element is compatible with this class and
automatically typecast it. | |||||||||||
Create a new table caption object or return an existing one.
| |||||||||||
Create a table footer row or return an existing one.
| |||||||||||
Create a table header row or return an existing one.
| |||||||||||
Delete the table caption, if one exists.
| |||||||||||
Delete a table row.
| |||||||||||
Delete the header from the table, if one exists.
| |||||||||||
Delete the header from the table, if one exists.
| |||||||||||
The width of the border around the table.
| |||||||||||
The table's CAPTION, or null if none exists.
| |||||||||||
Specifies the horizontal and vertical space between cell content and cell
borders.
| |||||||||||
Specifies the horizontal and vertical separation between cells.
| |||||||||||
Specifies which external table borders to render.
| |||||||||||
Returns a collection of all the rows in the table, including all in THEAD,
TFOOT, all TBODY elements.
| |||||||||||
Specifies which internal table borders to render.
| |||||||||||
Returns a collection of the table bodies (including implicit ones).
| |||||||||||
The table's TFOOT, or null if none exists.
| |||||||||||
The table's THEAD, or null if none exists.
| |||||||||||
Specifies the desired table width.
| |||||||||||
Insert a new empty row in the table.
| |||||||||||
The width of the border around the table.
| |||||||||||
The table's CAPTION, or null if none exists.
| |||||||||||
Specifies the horizontal and vertical space between cell content and cell
borders.
| |||||||||||
Specifies the horizontal and vertical separation between cells.
| |||||||||||
Specifies which external table borders to render.
| |||||||||||
Specifies which internal table borders to render.
| |||||||||||
The table's TFOOT, or null if none exists.
| |||||||||||
The table's THEAD, or null if none exists.
| |||||||||||
Specifies the desired table width.
|
[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
|
Assert that the given Element
is compatible with this class and
automatically typecast it.
Create a new table caption object or return an existing one.
Create a table footer row or return an existing one.
Create a table header row or return an existing one.
Delete the table caption, if one exists.
Delete a table row.
index | The index of the row to be deleted. This index starts from 0 and is relative to the logical order (not document order) of all the rows contained inside the table. If the index is -1 the last row in the table is deleted |
---|
Delete the header from the table, if one exists.
Delete the header from the table, if one exists.
The width of the border around the table.
Specifies the horizontal and vertical space between cell content and cell borders.
Specifies the horizontal and vertical separation between cells.
Returns a collection of all the rows in the table, including all in THEAD, TFOOT, all TBODY elements.
Returns a collection of the table bodies (including implicit ones).
Insert a new empty row in the table. The new row is inserted immediately before and in the same section as the current indexth row in the table. If index is -1 or equal to the number of rows, the new row is appended. In addition, when the table is empty the row is inserted into a TBODY which is created and inserted into the table. Note: A table row cannot be empty according to [HTML 4.01].
index | The row number where to insert a new row. This index starts from 0 and is relative to the logical order (not document order) of all the rows contained inside the table |
---|
The width of the border around the table.
The table's CAPTION, or null if none exists.
Specifies the horizontal and vertical space between cell content and cell borders.
Specifies the horizontal and vertical separation between cells.
Specifies which external table borders to render.
Specifies which internal table borders to render.