The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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.