DOM::HTMLInputElement Class Reference
#include <html_form.h>
Inheritance diagram for DOM::HTMLInputElement:

Detailed Description
Form control.Note. Depending upon the environment the page is being viewed, the value property may be read-only for the file upload input type. For the "password" input type, the actual value returned may be masked to prevent unauthorized use. See the INPUT element definition in HTML 4.0.
Definition at line 349 of file html_form.h.
Public Member Functions | |
HTMLInputElement () | |
HTMLInputElement (const HTMLInputElement &other) | |
HTMLInputElement (const Node &other) | |
HTMLInputElement & | operator= (const HTMLInputElement &other) |
HTMLInputElement & | operator= (const Node &other) |
~HTMLInputElement () | |
DOMString | defaultValue () const |
void | setDefaultValue (const DOMString &) |
bool | defaultChecked () const |
void | setDefaultChecked (bool) |
HTMLFormElement | form () const |
DOMString | accept () const |
void | setAccept (const DOMString &) |
DOMString | accessKey () const |
void | setAccessKey (const DOMString &) |
DOMString | align () const |
void | setAlign (const DOMString &) |
DOMString | alt () const |
void | setAlt (const DOMString &) |
bool | checked () const |
void | setChecked (bool) |
bool | indeterminate () const |
void | setIndeterminate (bool) |
bool | disabled () const |
void | setDisabled (bool) |
long | maxLength () const |
void | setMaxLength (long) |
DOMString | name () const |
void | setName (const DOMString &) |
bool | readOnly () const |
void | setReadOnly (bool) |
DOMString | size () const KDE_DEPRECATED |
void | setSize (const DOMString &) KDE_DEPRECATED |
long | getSize () const |
void | setSize (long) |
DOMString | src () const |
void | setSrc (const DOMString &) |
long | tabIndex () const |
void | setTabIndex (long) |
DOMString | type () const |
void | setType (const DOMString &) |
DOMString | useMap () const |
void | setUseMap (const DOMString &) |
DOMString | value () const |
void | setValue (const DOMString &) |
void | blur () |
void | focus () |
void | select () |
void | click () |
long | selectionStart () |
void | setSelectionStart (long offset) |
long | selectionEnd () |
void | setSelectionEnd (long offset) |
void | setSelectionRange (long start, long end) |
Protected Member Functions | |
HTMLInputElement (HTMLInputElementImpl *impl) |
Member Function Documentation
|
A comma-separated list of content types that a server processing this form will handle correctly. See the accept attribute definition in HTML 4.0. Definition at line 359 of file html_form.cpp. |
|
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0. Definition at line 370 of file html_form.cpp. |
|
Aligns this object (vertically or horizontally) with respect to its surrounding text. See the align attribute definition in HTML 4.0. This attribute is deprecated in HTML 4.0. Definition at line 381 of file html_form.cpp. |
|
Alternate text for user agents not rendering the normal content of this element. See the alt attribute definition in HTML 4.0. Definition at line 392 of file html_form.cpp. |
|
Removes keyboard focus from this element.
Definition at line 561 of file html_form.cpp. |
|
Describes whether a radio or check box is checked, when The value is true if explicitly set. Represents the current state of the checkbox or radio button. See the checked attribute definition in HTML 4.0. Definition at line 403 of file html_form.cpp. |
|
Simulate a mouse-click.
For Definition at line 579 of file html_form.cpp. |
|
When
Definition at line 342 of file html_form.cpp. |
|
Stores the initial control value (i.e.
, the initial value of Definition at line 328 of file html_form.cpp. |
|
The control is unavailable in this context. See the disabled attribute definition in HTML 4.0. Definition at line 427 of file html_form.cpp. |
|
Gives keyboard focus to this element.
Definition at line 567 of file html_form.cpp. |
|
### KDE 4.0: remove.
Reimplemented from DOM::Element. Definition at line 354 of file html_form.cpp. |
|
Size information. The precise meaning is specific to each type of field. See the size attribute definition in HTML 4.0. Definition at line 490 of file html_form.cpp. |
|
Describes whether a radio box is indeterminate.
Definition at line 415 of file html_form.cpp. |
|
Maximum number of characters for text fields, when See the maxlength attribute definition in HTML 4.0. Definition at line 441 of file html_form.cpp. |
|
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0. Definition at line 455 of file html_form.cpp. |
|
This control is read-only.
When Definition at line 466 of file html_form.cpp. |
|
Select the contents of the text area.
For Definition at line 573 of file html_form.cpp. |
|
Returns the character offset of end of selection, or if none, the cursor position. This operation is only supported if the type of this element is text; otherwise -1 is returned. NOTE: this method is not part of the DOM, but a Mozilla extension
Definition at line 592 of file html_form.cpp. |
|
Returns the character offset of beginning of selection, or if none, the cursor position. This operation is only supported if the type of this element is text; otherwise -1 is returned. NOTE: this method is not part of the DOM, but a Mozilla extension
Definition at line 585 of file html_form.cpp. |
|
see accept
Definition at line 365 of file html_form.cpp. |
|
see accessKey
Definition at line 376 of file html_form.cpp. |
|
see align
Definition at line 387 of file html_form.cpp. |
|
see alt
Definition at line 398 of file html_form.cpp. |
|
see checked
Definition at line 409 of file html_form.cpp. |
|
see defaultChecked
Definition at line 348 of file html_form.cpp. |
|
see defaultValue
Definition at line 337 of file html_form.cpp. |
|
see disabled
Definition at line 433 of file html_form.cpp. |
|
see indeterminate
Definition at line 421 of file html_form.cpp. |
|
see maxLength
Definition at line 447 of file html_form.cpp. |
|
see name
Definition at line 461 of file html_form.cpp. |
|
see readOnly
Definition at line 472 of file html_form.cpp. |
|
Move the end of the selection (and the cursor) to the given offset in text This call has no effect if the type of this input element isn't text NOTE: this method is not part of the DOM, but a Mozilla extension.
Definition at line 605 of file html_form.cpp. |
|
Makes the position span from start to end, and positions the cursor after the selection. This call has no effect if the type of this input element isn't text or if it is not rendered. NOTE: this method is not part of the DOM, but a Mozilla extension
Definition at line 611 of file html_form.cpp. |
|
Move the beginning of the selection to the given offset in text This call has no effect if the type of this input element isn't text NOTE: this method is not part of the DOM, but a Mozilla extension.
Definition at line 599 of file html_form.cpp. |
|
see getSize
Definition at line 496 of file html_form.cpp. |
|
Definition at line 485 of file html_form.cpp. |
|
see src
Definition at line 508 of file html_form.cpp. |
|
see tabIndex
Definition at line 519 of file html_form.cpp. |
|
see type
Definition at line 531 of file html_form.cpp. |
|
see useMap
Definition at line 543 of file html_form.cpp. |
|
see value
Definition at line 554 of file html_form.cpp. |
|
Definition at line 479 of file html_form.cpp. |
|
When the See the src attribute definition in HTML 4.0. Definition at line 501 of file html_form.cpp. |
|
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0. Definition at line 513 of file html_form.cpp. |
|
The type of control created. See the type attribute definition in HTML 4.0. Definition at line 525 of file html_form.cpp. |
|
Use client-side image map. See the usemap attribute definition in HTML 4.0. Definition at line 537 of file html_form.cpp. |
|
The current form control value. Used for radio buttons and check boxes. See the value attribute definition in HTML 4.0. Definition at line 548 of file html_form.cpp. |
The documentation for this class was generated from the following files: