org.kde.koala
public class HTMLTableElement extends HTMLElement
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. See
the
TABLE element definition in HTML 4.0.UNKNOWN: The create and delete methods on the table allow authors to construct and modify tables.
| Constructor Summary | |
|---|---|
| protected | HTMLTableElement(Class dummy) |
| HTMLTableElement() | |
| HTMLTableElement(HTMLTableElement other) | |
| HTMLTableElement(Node other) | |
| Method Summary | |
|---|---|
| String | align()
Specifies the table's position with respect to the rest of the
document. |
| String | bgColor()
Cell background color. |
| String | border()
The width of the border around the table. |
| HTMLTableCaptionElement | caption()
Returns the table's CAPTION , or void if none
exists. |
| String | cellPadding()
Specifies the horizontal and vertical space between cell
content and cell borders. |
| String | cellSpacing()
Specifies the horizontal and vertical separation between cells.
|
| HTMLElement | createCaption()
Create a new table caption object or return an existing one. |
| HTMLElement | createTFoot()
Create a table footer row or return an existing one. |
| HTMLElement | createTHead()
Create a table header row or return an existing one. |
| void | deleteCaption()
Delete the table caption, if one exists. |
| void | deleteRow(long index)
Delete a table row. |
| void | deleteTFoot()
Delete the footer from the table, if one exists. |
| void | deleteTHead()
Delete the header from the table, if one exists. |
| String | frame()
Specifies which external table borders to render. |
| HTMLElement | insertRow(long index)
Insert a new empty row in the table.
|
| HTMLCollection | rows()
Returns a collection of all the rows in the table, including
all in THEAD , TFOOT , all
TBODY elements. |
| String | rules()
Specifies which internal table borders to render. |
| void | setAlign(String arg1)
see align |
| void | setBgColor(String arg1)
see bgColor |
| void | setBorder(String arg1)
see border |
| void | setCaption(HTMLTableCaptionElement arg1)
see caption |
| void | setCellPadding(String arg1)
see cellPadding |
| void | setCellSpacing(String arg1)
see cellSpacing |
| void | setFrame(String arg1)
see frame |
| void | setRules(String arg1)
see rules |
| void | setSummary(String arg1)
see summary |
| void | setTFoot(HTMLTableSectionElement arg1)
see tFoot |
| void | setTHead(HTMLTableSectionElement arg1)
see tHead |
| void | setWidth(String arg1)
see width |
| String | summary()
Supplementary description about the purpose or structure of a
table. |
| HTMLCollection | tBodies()
Returns a collection of the table bodies (including implicit ones). |
| HTMLTableSectionElement | tFoot()
Returns the table's TFOOT , or null
if none exists. |
| HTMLTableSectionElement | tHead()
Returns the table's THEAD , or null
if none exists. |
| String | width()
Specifies the desired table width. |
UNKNOWN: Specifies the table's position with respect to the rest of the document.
UNKNOWN: Cell background color.
UNKNOWN: The width of the border around the table.
CAPTION , or void if none
exists.UNKNOWN: Returns the table's CAPTION , or void if none exists.
UNKNOWN: Specifies the horizontal and vertical space between cell content and cell borders.
UNKNOWN: Specifies the horizontal and vertical separation between cells.
Returns: A CAPTION element.
UNKNOWN: Create a new table caption object or return an existing one.
Returns: A footer element ( TFOOT ).
UNKNOWN: Create a table footer row or return an existing one.
Returns: A new table header element ( THEAD ).
UNKNOWN: Create a table header row or return an existing one.
UNKNOWN: Delete the table caption, if one exists.
Parameters: 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.
UNKNOWN: Delete a table row.
UNKNOWN: Delete the footer from the table, if one exists.
UNKNOWN: Delete the header from the table, if one exists.
UNKNOWN: Specifies which external table borders to render.
Parameters: index The row number where to insert a new row. The index starts from 0 and is relative to the logical order (not document order) of all the rows contained inside the table.
Returns: The newly created row.
UNKNOWN: Insert a new empty row in the table.
THEAD , TFOOT , all
TBODY elements.UNKNOWN: Returns a collection of all the rows in the table, including all in THEAD , TFOOT , all TBODY elements.
UNKNOWN: Specifies which internal table borders to render.
UNKNOWN: see align
UNKNOWN: see bgColor
UNKNOWN: see border
UNKNOWN: see caption
UNKNOWN: see cellPadding
UNKNOWN: see cellSpacing
UNKNOWN: see frame
UNKNOWN: see rules
UNKNOWN: see summary
UNKNOWN: see tFoot
UNKNOWN: see tHead
UNKNOWN: see width
UNKNOWN: Supplementary description about the purpose or structure of a table.
UNKNOWN: Returns a collection of the table bodies (including implicit ones).
TFOOT , or null
if none exists.UNKNOWN: Returns the table's TFOOT , or null if none exists.
THEAD , or null
if none exists.UNKNOWN: Returns the table's THEAD , or null if none exists.
UNKNOWN: Specifies the desired table width.