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

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

NAME ^

Mozilla::DOM::HTMLOptionElement

Mozilla::DOM::HTMLOptionElement is a wrapper around an instance of Mozilla's nsIDOMHTMLOptionElement interface. This class inherits from HTMLElement.

 * The nsIDOMHTMLOptionElement interface is the interface to a [X]HTML
 * option 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::HTMLOptionElement->GetIID()

Pass this to QueryInterface.

METHODS ^

$bool = $htmloptionelement->GetDefaultSelected()

$bool = $htmloptionelement->GetDisabled()

$form = $htmloptionelement->GetForm()

$index = $htmloptionelement->GetIndex()

$label = $htmloptionelement->GetLabel()

$bool = $htmloptionelement->GetSelected()

$text = $htmloptionelement->GetText()

$value = $htmloptionelement->GetValue()

$htmloptionelement->SetDefaultSelected($defaultselected)

$htmloptionelement->SetDisabled($disabled)

$htmloptionelement->SetLabel($label)

$htmloptionelement->SetSelected($selected)

$htmloptionelement->SetValue($value)

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: