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


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 | 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 () |
Protected Member Functions | |
HTMLInputElement (HTMLInputElementImpl *impl) |
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 337 of file html_form.h.
Member Function Documentation
|
Stores the initial control value (i.e.
, the initial value of Definition at line 316 of file html_form.cpp. References DOM::Node::impl, and DOM::DOMString::isNull(). Referenced by KJS::HTMLElement::getValueProperty(). |
|
see defaultValue
Definition at line 325 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
When
Definition at line 330 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see defaultChecked
Definition at line 336 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
### KDE 4.0: remove.
Reimplemented from DOM::Element. Definition at line 342 of file html_form.cpp. References DOM::Element::form(). Referenced by KJS::HTMLElement::getValueProperty(). |
|
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 347 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see accept
Definition at line 353 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0. Definition at line 358 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see accessKey
Definition at line 364 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
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 369 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see align
Definition at line 375 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
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 380 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see alt
Definition at line 386 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
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 391 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see checked
Definition at line 397 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
The control is unavailable in this context. See the disabled attribute definition in HTML 4.0. Definition at line 403 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see disabled
Definition at line 409 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
Maximum number of characters for text fields, when See the maxlength attribute definition in HTML 4.0. Definition at line 417 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see maxLength
Definition at line 423 of file html_form.cpp. References DOM::Node::impl, QString::number(), and value(). Referenced by KJS::HTMLElement::putValueProperty(). |
|
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0. Definition at line 431 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see name
Definition at line 437 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
This control is read-only.
When Definition at line 442 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see readOnly
Definition at line 448 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
Definition at line 455 of file html_form.cpp. References DOM::Node::impl. |
|
Definition at line 461 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
Size information. The precise meaning is specific to each type of field. See the size attribute definition in HTML 4.0. Definition at line 466 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see getSize
Definition at line 472 of file html_form.cpp. References DOM::Node::impl, and QString::number(). |
|
When the See the src attribute definition in HTML 4.0. Definition at line 477 of file html_form.cpp. References DOM::Node::impl, DOM::DOMString::isNull(), and DOM::DOMString::string(). Referenced by KJS::HTMLElement::getValueProperty(). |
|
see src
Definition at line 484 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0. Definition at line 489 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see tabIndex
Definition at line 495 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
The type of control created. See the type attribute definition in HTML 4.0. Definition at line 501 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see type
Definition at line 507 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
Use client-side image map. See the usemap attribute definition in HTML 4.0. Definition at line 513 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::getValueProperty(). |
|
see useMap
Definition at line 519 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
The current form control value. Used for radio buttons and check boxes. See the value attribute definition in HTML 4.0. Definition at line 524 of file html_form.cpp. References DOM::Node::impl, and DOM::DOMString::isNull(). Referenced by KJS::HTMLElement::getValueProperty(), and setMaxLength(). |
|
see value
Definition at line 531 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElement::putValueProperty(). |
|
Removes keyboard focus from this element.
Definition at line 538 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElementFunction::tryCall(). |
|
Gives keyboard focus to this element.
Definition at line 544 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElementFunction::tryCall(). |
|
Select the contents of the text area.
For Definition at line 550 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElementFunction::tryCall(). |
|
Simulate a mouse-click.
For Definition at line 556 of file html_form.cpp. References DOM::Node::impl. Referenced by KJS::HTMLElementFunction::tryCall(). |
The documentation for this class was generated from the following files: