org.kde.koala

Class HTMLTableElement

public class HTMLTableElement extends HTMLElement

The create and delete methods on the table allow authors to construct and modify tables. HTML 4.0 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. 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
Stringalign()
Specifies the table's position with respect to the rest of the document.
StringbgColor()
Cell background color.
Stringborder()
The width of the border around the table.
HTMLTableCaptionElementcaption()
Returns the table's CAPTION , or void if none exists.
StringcellPadding()
Specifies the horizontal and vertical space between cell content and cell borders.
StringcellSpacing()
Specifies the horizontal and vertical separation between cells.
HTMLElementcreateCaption()
Create a new table caption object or return an existing one.
HTMLElementcreateTFoot()
Create a table footer row or return an existing one.
HTMLElementcreateTHead()
Create a table header row or return an existing one.
voiddeleteCaption()
Delete the table caption, if one exists.
voiddeleteRow(long index)
Delete a table row.
voiddeleteTFoot()
Delete the footer from the table, if one exists.
voiddeleteTHead()
Delete the header from the table, if one exists.
Stringframe()
Specifies which external table borders to render.
HTMLElementinsertRow(long index)
Insert a new empty row in the table.
HTMLCollectionrows()
Returns a collection of all the rows in the table, including all in THEAD , TFOOT , all TBODY elements.
Stringrules()
Specifies which internal table borders to render.
voidsetAlign(String arg1)
see align
voidsetBgColor(String arg1)
see bgColor
voidsetBorder(String arg1)
see border
voidsetCaption(HTMLTableCaptionElement arg1)
see caption
voidsetCellPadding(String arg1)
see cellPadding
voidsetCellSpacing(String arg1)
see cellSpacing
voidsetFrame(String arg1)
see frame
voidsetRules(String arg1)
see rules
voidsetSummary(String arg1)
see summary
voidsetTFoot(HTMLTableSectionElement arg1)
see tFoot
voidsetTHead(HTMLTableSectionElement arg1)
see tHead
voidsetWidth(String arg1)
see width
Stringsummary()
Supplementary description about the purpose or structure of a table.
HTMLCollectiontBodies()
Returns a collection of the table bodies (including implicit ones).
HTMLTableSectionElementtFoot()
Returns the table's TFOOT , or null if none exists.
HTMLTableSectionElementtHead()
Returns the table's THEAD , or null if none exists.
Stringwidth()
Specifies the desired table width.

Constructor Detail

HTMLTableElement

protected HTMLTableElement(Class dummy)

HTMLTableElement

public HTMLTableElement()

HTMLTableElement

public HTMLTableElement(HTMLTableElement other)

HTMLTableElement

public HTMLTableElement(Node other)

Method Detail

align

public String align()
Specifies the table's position with respect to the rest of the document. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0.

UNKNOWN: Specifies the table's position with respect to the rest of the document.

bgColor

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

UNKNOWN: Cell background color.

border

public String border()
The width of the border around the table. See the border attribute definition in HTML 4.0.

UNKNOWN: The width of the border around the table.

caption

public HTMLTableCaptionElement caption()
Returns the table's CAPTION , or void if none exists.

UNKNOWN: Returns the table's CAPTION , or void if none exists.

cellPadding

public String cellPadding()
Specifies the horizontal and vertical space between cell content and cell borders. See the cellpadding attribute definition in HTML 4.0.

UNKNOWN: Specifies the horizontal and vertical space between cell content and cell borders.

cellSpacing

public String cellSpacing()
Specifies the horizontal and vertical separation between cells. See the cellspacing attribute definition in HTML 4.0.

UNKNOWN: Specifies the horizontal and vertical separation between cells.

createCaption

public HTMLElement createCaption()
Create a new table caption object or return an existing one.

Returns: A CAPTION element.

UNKNOWN: Create a new table caption object or return an existing one.

createTFoot

public HTMLElement createTFoot()
Create a table footer row or return an existing one.

Returns: A footer element ( TFOOT ).

UNKNOWN: Create a table footer row or return an existing one.

createTHead

public HTMLElement createTHead()
Create a table header row or return an existing one.

Returns: A new table header element ( THEAD ).

UNKNOWN: Create a table header row or return an existing one.

deleteCaption

public void deleteCaption()
Delete the table caption, if one exists.

UNKNOWN: Delete the table caption, if one exists.

deleteRow

public void deleteRow(long index)
Delete a table row.

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.

deleteTFoot

public void deleteTFoot()
Delete the footer from the table, if one exists.

UNKNOWN: Delete the footer from the table, if one exists.

deleteTHead

public void deleteTHead()
Delete the header from the table, if one exists.

UNKNOWN: Delete the header from the table, if one exists.

frame

public String frame()
Specifies which external table borders to render. See the frame attribute definition in HTML 4.0.

UNKNOWN: Specifies which external table borders to render.

insertRow

public HTMLElement insertRow(long index)
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.0 Recommendation.

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.

rows

public HTMLCollection rows()
Returns a collection of all the rows in the table, including all in THEAD , TFOOT , all TBODY elements.

UNKNOWN: Returns a collection of all the rows in the table, including all in THEAD , TFOOT , all TBODY elements.

rules

public String rules()
Specifies which internal table borders to render. See the rules attribute definition in HTML 4.0.

UNKNOWN: Specifies which internal table borders to render.

setAlign

public void setAlign(String arg1)
see align

UNKNOWN: see align

setBgColor

public void setBgColor(String arg1)
see bgColor

UNKNOWN: see bgColor

setBorder

public void setBorder(String arg1)
see border

UNKNOWN: see border

setCaption

public void setCaption(HTMLTableCaptionElement arg1)
see caption

UNKNOWN: see caption

setCellPadding

public void setCellPadding(String arg1)
see cellPadding

UNKNOWN: see cellPadding

setCellSpacing

public void setCellSpacing(String arg1)
see cellSpacing

UNKNOWN: see cellSpacing

setFrame

public void setFrame(String arg1)
see frame

UNKNOWN: see frame

setRules

public void setRules(String arg1)
see rules

UNKNOWN: see rules

setSummary

public void setSummary(String arg1)
see summary

UNKNOWN: see summary

setTFoot

public void setTFoot(HTMLTableSectionElement arg1)
see tFoot

UNKNOWN: see tFoot

setTHead

public void setTHead(HTMLTableSectionElement arg1)
see tHead

UNKNOWN: see tHead

setWidth

public void setWidth(String arg1)
see width

UNKNOWN: see width

summary

public String summary()
Supplementary description about the purpose or structure of a table. See the summary attribute definition in HTML 4.0.

UNKNOWN: Supplementary description about the purpose or structure of a table.

tBodies

public HTMLCollection tBodies()
Returns a collection of the table bodies (including implicit ones).

UNKNOWN: Returns a collection of the table bodies (including implicit ones).

tFoot

public HTMLTableSectionElement tFoot()
Returns the table's TFOOT , or null if none exists.

UNKNOWN: Returns the table's TFOOT , or null if none exists.

tHead

public HTMLTableSectionElement tHead()
Returns the table's THEAD , or null if none exists.

UNKNOWN: Returns the table's THEAD , or null if none exists.

width

public String width()
Specifies the desired table width. See the width attribute definition in HTML 4.0.

UNKNOWN: Specifies the desired table width.