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

Download:
Mozilla-DOM-0.23.tar.gz

Annotate this POD

CPAN RT

New  2
Open  5
View/Report Bugs
Source  

NAME ^

Mozilla::DOM::NSHTMLTextAreaElement

Mozilla::DOM::NSHTMLTextAreaElement is a wrapper around an instance of Mozilla's nsIDOMNSHTMLTextAreaElement 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::NSHTMLTextAreaElement->GetIID()

Pass this to QueryInterface.

METHODS ^

$textlength = $nshtmltextareaelement->GetTextLength()

Output:

$textlength (int)

$selectionstart = $nshtmltextareaelement->GetSelectionStart()

Output:

$selectionstart (int)

$nshtmltextareaelement->SetSelectionStart($selectionstart)

Input:

$aSelectionStart (int)

$selectionend = $nshtmltextareaelement->GetSelectionEnd()

Output:

$selectionend (int)

$nshtmltextareaelement->SetSelectionEnd($selectionend)

Input:

$aSelectionEnd (int)

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

Input:

$selectionStart (int)
$selectionEnd (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: