Scott Lanning > Mozilla-DOM-0.23 > Mozilla::DOM::HTMLTableElement

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

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)

$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)

$htmltableelement->SetAlign($align)

$htmltableelement->SetBgColor($bgcolor)

$htmltableelement->SetBorder($border)

$htmltableelement->SetCaption($caption)

$htmltableelement->SetCellPadding($cellpadding)

$htmltableelement->SetCellSpacing($cellspacing)

$htmltableelement->SetFrame($frame)

$htmltableelement->SetRules($rules)

$htmltableelement->SetSummary($summary)

$htmltableelement->SetTFoot($tfoot)

$htmltableelement->SetTHead($thead)

$htmltableelement->SetWidth($width)

SEE ALSO ^

Mozilla::DOM

COPYRIGHT ^

Copyright (C) 2005-2007, Scott Lanning

This software is licensed under the LGPL. See Mozilla::DOM for a full notice.

syntax highlighting: