KHTML
html_form.cpp
Go to the documentation of this file.
void remove(long index)
Remove an element from the collection of OPTION elements for this SELECT .
Definition: html_form.cpp:933
void setSelectionRange(long start, long end)
Selects the text from start to end, and positions the cursor after the selection. ...
Definition: html_form.cpp:1150
The Node interface is the primary datatype for the entire Document Object Model.
Definition: dom_node.h:270
void setSelectionEnd(long offset)
Move the end of the selection (and the cursor) to the given offset in text This call has no effect if...
Definition: html_form.cpp:608
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:113
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:454
The select element allows the selection of an option.
Definition: html_form.h:877
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:707
This element is used for single-line text input.
Definition: html_form.h:1382
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:908
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:882
HTMLCollection elements() const
Returns a collection of all control elements in the form.
Definition: html_form.cpp:209
DOMString defaultValue() const
Stores the initial control value (i.e., the initial value of value ).
Definition: html_form.cpp:327
The FORM element encompasses behavior similar to a collection and an element.
Definition: html_form.h:206
DOMString alt() const
Alternate text for user agents not rendering the normal content of this element.
Definition: html_form.cpp:391
DOMString accept() const
A comma-separated list of content types that a server processing this form will handle correctly...
Definition: html_form.cpp:358
DOMString value() const
The current textual content of the multi-line text field.
Definition: html_form.cpp:1088
long selectionEnd()
Returns the character offset of end of selection, or if none, the cursor position.
Definition: html_form.cpp:595
DOM operations only raise exceptions in "exceptional" circumstances, i.e., when an operation is impos...
Definition: dom_exception.h:58
HTMLOptionElement & operator=(const HTMLOptionElement &other)
Definition: html_form.cpp:1176
HTMLFormElement form() const
Returns the FORM element containing this control.
Definition: html_form.cpp:63
void setAttribute(const DOMString &name, const DOMString &value)
Adds a new attribute.
Definition: dom_element.cpp:158
DOMString acceptCharset() const
List of character sets supported by the server.
Definition: html_form.cpp:232
DOMString enctype() const
The content type of the submitted form, generally "application/x-www-form-urlencoded".
Definition: html_form.cpp:254
HTMLLabelElement & operator=(const HTMLLabelElement &other)
Definition: html_form.cpp:640
bool defaultChecked() const
When type has the value "Radio" or "Checkbox", stores the initial value of the checked attribute...
Definition: html_form.cpp:341
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:516
HTMLCollection options() const
The collection of OPTION elements contained by this element.
Definition: html_form.cpp:853
HTMLLegendElement & operator=(const HTMLLegendElement &other)
Definition: html_form.cpp:692
HTMLFormElement & operator=(const HTMLFormElement &other)
Definition: html_form.cpp:199
HTMLInputElement & operator=(const HTMLInputElement &other)
Definition: html_form.cpp:317
void setSelectionEnd(long offset)
Move the end of the selection (and the cursor) to the given offset in text NOTE: this method is not p...
Definition: html_form.cpp:1144
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:996
bool checked() const
Describes whether a radio or check box is checked, when type has the value "Radio" or "Checkbox"...
Definition: html_form.cpp:402
long maxLength() const
Maximum number of characters for text fields, when type has the value "Text" or "Password".
Definition: html_form.cpp:440
DOMString align() const
Aligns this object (vertically or horizontally) with respect to its surrounding text.
Definition: html_form.cpp:380
HTMLOptGroupElement & operator=(const HTMLOptGroupElement &other)
Definition: html_form.cpp:749
long selectionEnd()
Returns the character offset of end of selection, or if none, the cursor position.
Definition: html_form.cpp:1124
HTMLFieldSetElement & operator=(const HTMLFieldSetElement &other)
Definition: html_form.cpp:164
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:650
void setSelectionStart(long offset)
Move the beginning of the selection to the given offset in text NOTE: this method is not part of the ...
Definition: html_form.cpp:1138
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:1033
HTMLIsIndexElement & operator=(const HTMLIsIndexElement &other)
Definition: html_form.cpp:1283
void setSelectionStart(long offset)
Move the beginning of the selection to the given offset in text This call has no effect if the type o...
Definition: html_form.cpp:602
DOMString src() const
When the type attribute has the value "Image", this attribute specifies the location of the image to ...
Definition: html_form.cpp:504
long selectionStart()
Returns the character offset of beginning of selection, or if none, the cursor position.
Definition: html_form.cpp:588
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:68
HTMLSelectElement & operator=(const HTMLSelectElement &other)
Definition: html_form.cpp:802
HTMLElement & operator=(const HTMLElement &other)
Definition: html_element.cpp:41
DOMString htmlFor() const
This attribute links this label with another form control by id attribute.
Definition: html_form.cpp:661
HTMLButtonElement & operator=(const HTMLButtonElement &other)
Definition: html_form.cpp:53
DOMString getAttribute(const DOMString &name)
Retrieves an attribute value by name.
Definition: dom_element.cpp:147
void setSelectionRange(long start, long end)
Makes the position span from start to end, and positions the cursor after the selection.
Definition: html_form.cpp:614
DOMString name() const
Form control or object name when submitted with a form.
Definition: html_form.cpp:90
bool indeterminate() const
Describes whether a radio box is indeterminate.
Definition: html_form.cpp:414
Element form() const
KHTML extension to DOM This method returns the associated form element.
Definition: dom_element.cpp:310
long tabIndex() const
Index that represents the element's position in the tabbing order.
Definition: html_form.cpp:1070
void assignOther(const Node &other, int elementId)
Definition: html_element.cpp:176
bool defaultSelected() const
Stores the initial value of the selected attribute.
Definition: html_form.cpp:1191
DOMString accessKey() const
A single character access key to give access to the form control.
Definition: html_form.cpp:369
long selectionStart()
Returns the character offset of beginning of selection, or if none, the cursor position.
Definition: html_form.cpp:1117
bool multiple() const
If true, multiple OPTION elements may be selected in this SELECT .
Definition: html_form.cpp:871
Definition: html_misc.h:209
DOMString defaultValue() const
Stores the initial control value (i.e., the initial value of value ).
Definition: html_form.cpp:980
HTMLTextAreaElement & operator=(const HTMLTextAreaElement &other)
Definition: html_form.cpp:970
void add(const HTMLElement &element, const HTMLElement &before)
Add a new element to the collection of OPTION elements for this SELECT .
Definition: html_form.cpp:920
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:51:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.