HTMLTextAreaElement Class Reference
from PyKDE4.khtml import *
Inherits: DOM.HTMLElement → DOM.Element → DOM.Node
Namespace: DOM
Detailed Description
Multi-line text field. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#edef-TEXTAREA">
TEXTAREA element definition in HTML 4.0.
Methods |
| __init__ (self) |
| __init__ (self, DOM.HTMLTextAreaElement other) |
| __init__ (self, DOM.Node other) |
| __init__ (self, HTMLTextAreaElementImpl impl) |
DOM.DOMString | accessKey (self) |
| blur (self) |
long | cols (self) |
DOM.DOMString | defaultValue (self) |
bool | disabled (self) |
| focus (self) |
DOM.HTMLFormElement | form (self) |
DOM.DOMString | name (self) |
bool | readOnly (self) |
long | rows (self) |
| select (self) |
long | selectionEnd (self) |
long | selectionStart (self) |
| setAccessKey (self, DOM.DOMString a0) |
| setCols (self, long a0) |
| setDefaultValue (self, DOM.DOMString a0) |
| setDisabled (self, bool a0) |
| setName (self, DOM.DOMString a0) |
| setReadOnly (self, bool a0) |
| setRows (self, long a0) |
| setSelectionEnd (self, long offset) |
| setSelectionRange (self, long start, long end) |
| setSelectionStart (self, long offset) |
| setTabIndex (self, long a0) |
| setValue (self, DOM.DOMString a0) |
long | tabIndex (self) |
long | textLength (self) |
DOM.DOMString | type (self) |
DOM.DOMString | value (self) |
Method Documentation
__init__ |
( |
self, |
|
|
|
HTMLTextAreaElementImpl |
impl |
|
) |
|
|
|
A single character access key to give access to the form
control. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-accesskey">
accesskey attribute definition in HTML 4.0.
Removes keyboard focus from this element.
Width of control (in characters). See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-cols-TEXTAREA">
cols attribute definition in HTML 4.0.
Stores the initial control value (i.e., the initial value of
value ).
The control is unavailable in this context. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-disabled">
disabled attribute definition in HTML 4.0.
Gives keyboard focus to this element.
Form control or object name when submitted with a form. See the
<a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-name-TEXTAREA">
name attribute definition in HTML 4.0.
This control is read-only. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-readonly">
readonly attribute definition in HTML 4.0.
Number of text rows. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-rows-TEXTAREA">
rows attribute definition in HTML 4.0.
Select the contents of the TEXTAREA .
long selectionEnd |
( |
|
self ) |
|
Returns the character offset of end of selection, or if none,
the cursor position.
NOTE: this method is not part of the DOM, but a Mozilla extension
long selectionStart |
( |
|
self ) |
|
Returns the character offset of beginning of selection, or if none,
the cursor position.
NOTE: this method is not part of the DOM, but a Mozilla extension
setCols |
( |
self, |
|
|
|
long |
a0 |
|
) |
|
|
|
setDisabled |
( |
self, |
|
|
|
bool |
a0 |
|
) |
|
|
|
setReadOnly |
( |
self, |
|
|
|
bool |
a0 |
|
) |
|
|
|
setRows |
( |
self, |
|
|
|
long |
a0 |
|
) |
|
|
|
setSelectionEnd |
( |
self, |
|
|
|
long |
offset |
|
) |
|
|
|
Move the end of the selection (and the cursor) to the given offset in text
NOTE: this method is not part of the DOM, but a Mozilla extension
setSelectionRange |
( |
self, |
|
|
|
long |
start, |
|
|
long |
end |
|
) |
|
|
|
Selects the text from start to end, and positions the cursor after the selection.
NOTE: this method is not part of the DOM, but a Mozilla extension
setSelectionStart |
( |
self, |
|
|
|
long |
offset |
|
) |
|
|
|
Move the beginning of the selection to the given offset in text
NOTE: this method is not part of the DOM, but a Mozilla extension
setTabIndex |
( |
self, |
|
|
|
long |
a0 |
|
) |
|
|
|
Index that represents the element's position in the tabbing
order. See the <a
href="http://www.w3.org/TR/REC-html40/interact/forms.html#adef-tabindex">
tabindex attribute definition in HTML 4.0.
Returns the length of the text.
NOTE: this method is not part of the DOM, but a Mozilla extension
The type of this form control.
The current textual content of the multi-line text field. If
the entirety of the data can not fit into a single wstring, the
implementation may truncate the data.