.TH "DOM::HTMLInputElement" kde3 "11 Jun 2005" "Version Version 3.4.1" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::HTMLInputElement \- Form control.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <html_form.h>\fP
.PP
Inherits \fBDOM::HTMLElement\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLInputElement\fP (const \fBHTMLInputElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLInputElement\fP (const \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBHTMLInputElement\fP & \fBoperator=\fP (const \fBHTMLInputElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLInputElement\fP & \fBoperator=\fP (const \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBdefaultValue\fP () const "
.br
.ti -1c
.RI "void \fBsetDefaultValue\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "bool \fBdefaultChecked\fP () const "
.br
.ti -1c
.RI "void \fBsetDefaultChecked\fP (bool)"
.br
.ti -1c
.RI "\fBHTMLFormElement\fP \fBform\fP () const "
.br
.ti -1c
.RI "\fBDOMString\fP \fBaccept\fP () const "
.br
.ti -1c
.RI "void \fBsetAccept\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBaccessKey\fP () const "
.br
.ti -1c
.RI "void \fBsetAccessKey\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBalign\fP () const "
.br
.ti -1c
.RI "void \fBsetAlign\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBalt\fP () const "
.br
.ti -1c
.RI "void \fBsetAlt\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "bool \fBchecked\fP () const "
.br
.ti -1c
.RI "void \fBsetChecked\fP (bool)"
.br
.ti -1c
.RI "bool \fBdisabled\fP () const "
.br
.ti -1c
.RI "void \fBsetDisabled\fP (bool)"
.br
.ti -1c
.RI "long \fBmaxLength\fP () const "
.br
.ti -1c
.RI "void \fBsetMaxLength\fP (long)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBname\fP () const "
.br
.ti -1c
.RI "void \fBsetName\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "bool \fBreadOnly\fP () const "
.br
.ti -1c
.RI "void \fBsetReadOnly\fP (bool)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBsize\fP () const KDE_DEPRECATED"
.br
.ti -1c
.RI "void \fBsetSize\fP (const \fBDOMString\fP &) KDE_DEPRECATED"
.br
.ti -1c
.RI "long \fBgetSize\fP () const "
.br
.ti -1c
.RI "void \fBsetSize\fP (long)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBsrc\fP () const "
.br
.ti -1c
.RI "void \fBsetSrc\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "long \fBtabIndex\fP () const "
.br
.ti -1c
.RI "void \fBsetTabIndex\fP (long)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBtype\fP () const "
.br
.ti -1c
.RI "void \fBsetType\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBuseMap\fP () const "
.br
.ti -1c
.RI "void \fBsetUseMap\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBvalue\fP () const "
.br
.ti -1c
.RI "void \fBsetValue\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "void \fBblur\fP ()"
.br
.ti -1c
.RI "void \fBfocus\fP ()"
.br
.ti -1c
.RI "void \fBselect\fP ()"
.br
.ti -1c
.RI "void \fBclick\fP ()"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLInputElement\fP (HTMLInputElementImpl *impl)"
.br
.in -1c
.SH "Detailed Description"
.PP 
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 \fCINPUT element definition \fP in HTML 4.0. 
.PP
Definition at line 337 of file html_form.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBDOMString\fP HTMLInputElement::defaultValue () const"
.PP
Stores the initial control value (i.e., the initial value of \fCvalue\fP ). 
.PP
Definition at line 316 of file html_form.cpp.
.PP
References DOM::DOMString::isNull().
.SS "void HTMLInputElement::setDefaultValue (const \fBDOMString\fP &)"
.PP
see defaultValue 
.PP
Definition at line 325 of file html_form.cpp.
.PP
References value().
.SS "bool HTMLInputElement::defaultChecked () const"
.PP
When \fCtype\fP has the value 'Radio' or 'Checkbox', stores the initial value of the \fCchecked\fP attribute. 
.PP
Definition at line 330 of file html_form.cpp.
.PP
References DOM::DOMString::isNull().
.SS "void HTMLInputElement::setDefaultChecked (bool)"
.PP
see defaultChecked 
.PP
Definition at line 336 of file html_form.cpp.
.SS "\fBHTMLFormElement\fP HTMLInputElement::form () const"
.PP
### \fBKDE\fP 4.0: remove. 
.PP
Reimplemented from \fBDOM::Element\fP.
.PP
Definition at line 342 of file html_form.cpp.
.PP
References DOM::Element::form().
.SS "\fBDOMString\fP HTMLInputElement::accept () const"
.PP
A comma-separated list of content types that a server processing this form will handle correctly. 
.PP
See the \fCaccept attribute definition \fP in HTML 4.0. 
.PP
Definition at line 347 of file html_form.cpp.
.SS "void HTMLInputElement::setAccept (const \fBDOMString\fP &)"
.PP
see accept 
.PP
Definition at line 353 of file html_form.cpp.
.PP
References value().
.SS "\fBDOMString\fP HTMLInputElement::accessKey () const"
.PP
A single character access key to give access to the form control. 
.PP
See the \fCaccesskey attribute definition \fP in HTML 4.0. 
.PP
Definition at line 358 of file html_form.cpp.
.SS "void HTMLInputElement::setAccessKey (const \fBDOMString\fP &)"
.PP
see accessKey 
.PP
Definition at line 364 of file html_form.cpp.
.PP
References value().
.SS "\fBDOMString\fP HTMLInputElement::align () const"
.PP
Aligns this object (vertically or horizontally) with respect to its surrounding text. 
.PP
See the \fCalign attribute definition \fP in HTML 4.0. This attribute is deprecated in HTML 4.0. 
.PP
Definition at line 369 of file html_form.cpp.
.SS "void HTMLInputElement::setAlign (const \fBDOMString\fP &)"
.PP
see align 
.PP
Definition at line 375 of file html_form.cpp.
.PP
References value().
.SS "\fBDOMString\fP HTMLInputElement::alt () const"
.PP
Alternate text for user agents not rendering the normal content of this element. 
.PP
See the \fCalt attribute definition \fP in HTML 4.0. 
.PP
Definition at line 380 of file html_form.cpp.
.SS "void HTMLInputElement::setAlt (const \fBDOMString\fP &)"
.PP
see alt 
.PP
Definition at line 386 of file html_form.cpp.
.PP
References value().
.SS "bool HTMLInputElement::checked () const"
.PP
Describes whether a radio or check box is checked, when \fCtype\fP has the value 'Radio' or 'Checkbox'. 
.PP
The value is true if explicitly set. Represents the current state of the checkbox or radio button. See the \fCchecked attribute definition \fP in HTML 4.0. 
.PP
Definition at line 391 of file html_form.cpp.
.SS "void HTMLInputElement::setChecked (bool)"
.PP
see checked 
.PP
Definition at line 397 of file html_form.cpp.
.SS "bool HTMLInputElement::disabled () const"
.PP
The control is unavailable in this context. 
.PP
See the \fCdisabled attribute definition \fP in HTML 4.0. 
.PP
Definition at line 403 of file html_form.cpp.
.PP
References DOM::DOMString::isNull().
.SS "void HTMLInputElement::setDisabled (bool)"
.PP
see disabled 
.PP
Definition at line 409 of file html_form.cpp.
.SS "long HTMLInputElement::maxLength () const"
.PP
Maximum number of characters for text fields, when \fCtype\fP has the value 'Text' or 'Password'. 
.PP
See the \fCmaxlength attribute definition \fP in HTML 4.0. 
.PP
Definition at line 417 of file html_form.cpp.
.PP
References DOM::DOMString::toInt().
.SS "void HTMLInputElement::setMaxLength (long)"
.PP
see maxLength 
.PP
Definition at line 423 of file html_form.cpp.
.PP
References value().
.SS "\fBDOMString\fP HTMLInputElement::name () const"
.PP
Form control or object name when submitted with a form. 
.PP
See the \fCname attribute definition \fP in HTML 4.0. 
.PP
Definition at line 431 of file html_form.cpp.
.SS "void HTMLInputElement::setName (const \fBDOMString\fP &)"
.PP
see name 
.PP
Definition at line 437 of file html_form.cpp.
.PP
References value().
.SS "bool HTMLInputElement::readOnly () const"
.PP
This control is read-only. 
.PP
When \fCtype\fP has the value 'text' or 'password' only. See the \fCreadonly attribute definition \fP in HTML 4.0. 
.PP
Definition at line 442 of file html_form.cpp.
.PP
References DOM::DOMString::isNull().
.SS "void HTMLInputElement::setReadOnly (bool)"
.PP
see readOnly 
.PP
Definition at line 448 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLInputElement::size () const"
.PP
\fBDeprecated\fP
.RS 4
.RE
.PP

.PP
Definition at line 455 of file html_form.cpp.
.SS "void HTMLInputElement::setSize (const \fBDOMString\fP &)"
.PP
\fBDeprecated\fP
.RS 4
.RE
.PP

.PP
Definition at line 461 of file html_form.cpp.
.PP
References value().
.SS "long HTMLInputElement::getSize () const"
.PP
Size information. 
.PP
The precise meaning is specific to each type of field. See the \fCsize attribute definition \fP in HTML 4.0. 
.PP
Definition at line 466 of file html_form.cpp.
.PP
References DOM::DOMString::toInt().
.SS "void HTMLInputElement::setSize (long)"
.PP
see getSize 
.PP
Definition at line 472 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLInputElement::src () const"
.PP
When the \fCtype\fP attribute has the value 'Image', this attribute specifies the location of the image to be used to decorate the graphical submit button. 
.PP
See the \fCsrc attribute definition \fP in HTML 4.0. 
.PP
Definition at line 477 of file html_form.cpp.
.PP
References DOM::DOMString::isNull(), and DOM::DOMString::string().
.SS "void HTMLInputElement::setSrc (const \fBDOMString\fP &)"
.PP
see src 
.PP
Definition at line 484 of file html_form.cpp.
.PP
References value().
.SS "long HTMLInputElement::tabIndex () const"
.PP
Index that represents the element's position in the tabbing order. 
.PP
See the \fCtabindex attribute definition \fP in HTML 4.0. 
.PP
Definition at line 489 of file html_form.cpp.
.SS "void HTMLInputElement::setTabIndex (long)"
.PP
see tabIndex 
.PP
Definition at line 495 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLInputElement::type () const"
.PP
The type of control created. 
.PP
See the \fCtype attribute definition \fP in HTML 4.0. 
.PP
Definition at line 501 of file html_form.cpp.
.SS "void HTMLInputElement::setType (const \fBDOMString\fP &)"
.PP
see type 
.PP
Definition at line 507 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLInputElement::useMap () const"
.PP
Use client-side image map. 
.PP
See the \fCusemap attribute definition \fP in HTML 4.0. 
.PP
Definition at line 513 of file html_form.cpp.
.SS "void HTMLInputElement::setUseMap (const \fBDOMString\fP &)"
.PP
see useMap 
.PP
Definition at line 519 of file html_form.cpp.
.PP
References value().
.SS "\fBDOMString\fP HTMLInputElement::value () const"
.PP
The current form control value. 
.PP
Used for radio buttons and check boxes. See the \fCvalue attribute definition \fP in HTML 4.0. 
.PP
Definition at line 524 of file html_form.cpp.
.PP
References DOM::DOMString::isNull().
.PP
Referenced by setAccept(), setAccessKey(), setAlign(), setAlt(), setDefaultValue(), setMaxLength(), setName(), setSize(), setSrc(), setUseMap(), and setValue().
.SS "void HTMLInputElement::setValue (const \fBDOMString\fP &)"
.PP
see value 
.PP
Definition at line 531 of file html_form.cpp.
.PP
References value().
.SS "void HTMLInputElement::blur ()"
.PP
Removes keyboard focus from this element. 
.PP
Definition at line 538 of file html_form.cpp.
.SS "void HTMLInputElement::focus ()"
.PP
Gives keyboard focus to this element. 
.PP
Definition at line 544 of file html_form.cpp.
.SS "void HTMLInputElement::select ()"
.PP
Select the contents of the text area. 
.PP
For \fCINPUT\fP elements whose \fCtype\fP attribute has one of the following values: 'Text', 'File', or 'Password'. 
.PP
Definition at line 550 of file html_form.cpp.
.SS "void HTMLInputElement::click ()"
.PP
Simulate a mouse-click. 
.PP
For \fCINPUT\fP elements whose \fCtype\fP attribute has one of the following values: 'Button', 'Checkbox', 'Radio', 'Reset', or 'Submit'. 
.PP
Definition at line 556 of file html_form.cpp.

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
