NAME
Mozilla::DOM::HTMLTableElement
Mozilla::DOM::HTMLTableElement is a wrapper around an instance of Mozilla's nsIDOMHTMLTableElement interface. This class inherits from HTMLElement.
* The nsIDOMHTMLTableElement interface is the interface to a [X]HTML
* table element.
*
* For more information on this interface please see
* http://www.w3.org/TR/DOM-Level-2-HTML/
*
* @status FROZEN
CLASS METHODS
$iid = Mozilla::DOM::HTMLTableElement->GetIID()
Pass this to QueryInterface.
METHODS
$retval = $htmltableelement->CreateCaption()
$retval = $htmltableelement->CreateTFoot()
$retval = $htmltableelement->CreateTHead()
$htmltableelement->DeleteCaption()
$htmltableelement->DeleteRow($index)
$index (integer (long))
$htmltableelement->DeleteTFoot()
$htmltableelement->DeleteTHead()
$align = $htmltableelement->GetAlign()
$bgcolor = $htmltableelement->GetBgColor()
$border = $htmltableelement->GetBorder()
$caption = $htmltableelement->GetCaption()
$cellpadding = $htmltableelement->GetCellPadding()
$cellspacing = $htmltableelement->GetCellSpacing()
$frame = $htmltableelement->GetFrame()
$rows = $htmltableelement->GetRows()
A collection of all the rows in the table, including all in THEAD, TFOOT, all TBODY elements (think of <tr>).
$rows is a Mozilla::DOM::HTMLCollection.
In list context, returns a list of Mozilla::DOM::HTMLTableRowElement.
$rules = $htmltableelement->GetRules()
$summary = $htmltableelement->GetSummary()
$tbodies = $htmltableelement->GetTBodies()
A collection of the table bodies (including implicit ones) (<tbody>). (I'm not sure what this is useful for.)
$tbodies is a Mozilla::DOM::HTMLCollection.
In list context, returns a list of Mozilla::DOM::HTMLElement. (I didn't see a more specific HTML element to QueryInterface it to.)
$tfoot = $htmltableelement->GetTFoot()
$thead = $htmltableelement->GetTHead()
$width = $htmltableelement->GetWidth()
$retval = $htmltableelement->InsertRow($index)
$index (integer (long))
$htmltableelement->SetAlign($align)
$align (string)
$htmltableelement->SetBgColor($bgcolor)
$bgcolor (string)
$htmltableelement->SetBorder($border)
$border (string)
$htmltableelement->SetCaption($caption)
$caption (Mozilla::DOM::HTMLTableCaptionElement)
$htmltableelement->SetCellPadding($cellpadding)
$cellpadding (string)
$htmltableelement->SetCellSpacing($cellspacing)
$cellspacing (string)
$htmltableelement->SetFrame($frame)
$frame (string)
$htmltableelement->SetRules($rules)
$rules (string)
$htmltableelement->SetSummary($summary)
$summary (string)
$htmltableelement->SetTFoot($tfoot)
$tfoot (Mozilla::DOM::HTMLTableSectionElement)
$htmltableelement->SetTHead($thead)
$thead (Mozilla::DOM::HTMLTableSectionElement)
$htmltableelement->SetWidth($width)
$width (string)
SEE ALSO
COPYRIGHT
Copyright (C) 2005-2007, Scott Lanning
This software is licensed under the LGPL. See Mozilla::DOM for a full notice.