Scott Lanning > Mozilla-DOM > Mozilla::DOM::NSHTMLInputElement

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

NAME ^

Mozilla::DOM::NSHTMLInputElement

Mozilla::DOM::NSHTMLInputElement is a wrapper around an instance of Mozilla's nsIDOMNSHTMLInputElement interface. This class inherits from Supports.

Note: The `GetControllers' method is not wrapped; it has something to do with XUL.

CLASS METHODS ^

$iid = Mozilla::DOM::NSHTMLInputElement->GetIID()

Pass this to QueryInterface.

METHODS ^

$selectionstart = $nshtmlinputelement->GetSelectionStart()

Output:

$selectionstart (int)

$nshtmlinputelement->SetSelectionStart($selectionstart)

Input:

$aSelectionStart (int)

$selectionend = $nshtmlinputelement->GetSelectionEnd()

Output:

$selectionend (int)

$nshtmlinputelement->SetSelectionEnd($selectionend)

Input:

$aSelectionEnd (int)

$nshtmlinputelement->SetSelectionRange($selectionstart, $selectionend)

Input:

$selectionStart (int)
$selectionEnd (int)

$textlength = $nshtmlinputelement->GetTextLength()

Output:

$textlength (int)

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: