See also the Document Object Model (DOM) Level 2 Specification.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public String | |
| public int | |
| public String | |
| public boolean | |
| public HTMLFormElement | |
| public String | |
| public boolean | |
| public int | |
| public int | |
| public String | |
| public String | getValue()
Represents the current contents of the corresponding form control, in an interactive user agent. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| blur | back to summary |
|---|---|
| public void blur() Removes keyboard focus from this element. | |
| focus | back to summary |
|---|---|
| public void focus() Gives keyboard focus to this element. | |
| getAccessKey | back to summary |
|---|---|
| public String getAccessKey() A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.0. | |
| getCols | back to summary |
|---|---|
| public int getCols() Width of control (in characters). See the cols attribute definition in HTML 4.0. | |
| getDefaultValue | back to summary |
|---|---|
| public String getDefaultValue() Represents the contents of the element. The value of this attribute does not change if the contents of the corresponding form control, in an interactive user agent, changes. Changing this attribute, however, resets the contents of the form control. | |
| getDisabled | back to summary |
|---|---|
| public boolean getDisabled() The control is unavailable in this context. See the disabled attribute definition in HTML 4.0. | |
| getForm | back to summary |
|---|---|
| public HTMLFormElement getForm() Returns the | |
| getName | back to summary |
|---|---|
| public String getName() Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0. | |
| getReadOnly | back to summary |
|---|---|
| public boolean getReadOnly() This control is read-only. See the readonly attribute definition in HTML 4.0. | |
| getRows | back to summary |
|---|---|
| public int getRows() Number of text rows. See the rows attribute definition in HTML 4.0. | |
| getTabIndex | back to summary |
|---|---|
| public int getTabIndex() Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0. | |
| getType | back to summary |
|---|---|
| public String getType() The type of this form control. This the string "textarea". | |
| getValue | back to summary |
|---|---|
| public String getValue() Represents the current contents of the corresponding form control, in
an interactive user agent. Changing this attribute changes the
contents of the form control, but does not change the contents of the
element. If the entirety of the data can not fit into a single
| |
| select | back to summary |
|---|---|
| public void select() Select the contents of the | |
| setAccessKey | back to summary |
|---|---|
| public void setAccessKey(String accessKey) | |
| setCols | back to summary |
|---|---|
| public void setCols(int cols) | |
| setDefaultValue | back to summary |
|---|---|
| public void setDefaultValue(String defaultValue) | |
| setDisabled | back to summary |
|---|---|
| public void setDisabled(boolean disabled) | |
| setName | back to summary |
|---|---|
| public void setName(String name) | |
| setReadOnly | back to summary |
|---|---|
| public void setReadOnly(boolean readOnly) | |
| setRows | back to summary |
|---|---|
| public void setRows(int rows) | |
| setTabIndex | back to summary |
|---|---|
| public void setTabIndex(int tabIndex) | |
| setValue | back to summary |
|---|---|
| public void setValue(String value) | |