@DOMObjectAttribute @DOMNameAttribute(name="HTMLTextAreaElement") public class HTMLTextAreaElement extends HTMLElement
Node.Flags
OnAbort, OnAbortDelegate, OnBlur, OnBlurDelegate, OnCancel, OnCancelDelegate, OnCanplay, OnCanplayDelegate, OnCanPlayThrough, OnCanPlayThroughDelegate, OnChange, OnChangeDelegate, OnClick, OnClickDelegate, OnCueChange, OnCueChangeDelegate, OnDblClick, OnDblClickDelegate, OnDurationChange, OnDurationChangeDelegate, OnEmptied, OnEmptiedDelegate, OnEnded, OnEndedDelegate, OnError, OnErrorDelegate, OnFocus, OnFocusDelegate, OnInput, OnInputDelegate, OnInvalid, OnInvalidDelegate, OnKeyDown, OnKeyDownDelegate, OnKeyPress, OnKeyPressDelegate, OnKeyUp, OnKeyUpDelegate, OnLoad, OnLoadDelegate, OnLoadedData, OnLoadedDataDelegate, OnLoadedMetadata, OnLoadedMetadataDelegate, OnLoadStart, OnLoadStartDelegate, OnMouseDown, OnMouseDownDelegate, OnMouseEnter, OnMouseEnterDelegate, OnMouseLeave, OnMouseLeaveDelegate, OnMouseMove, OnMouseMoveDelegate, OnMouseOut, OnMouseOutDelegate, OnMouseOver, OnMouseOverDelegate, OnMouseUp, OnMouseUpDelegate, OnMouseWheel, OnMouseWheelDelegate, OnPause, OnPauseDelegate, OnPlay, OnPlayDelegate, OnPlaying, OnPlayingDelegate, OnProgress, OnProgressDelegate, OnRateChange, OnRateChangeDelegate, OnReset, OnResetDelegate, OnResize, OnResizeDelegate, OnScroll, OnScrollDelegate, OnSeeked, OnSeekedDelegate, OnSeeking, OnSeekingDelegate, OnSelect, OnSelectDelegate, OnShow, OnShowDelegate, OnStalled, OnStalledDelegate, OnSubmit, OnSubmitDelegate, OnSuspend, OnSuspendDelegate, OnTimeUpdate, OnTimeUpdateDelegate, OnToggle, OnToggleDelegate, OnVolumeChange, OnVolumeChangeDelegate, OnWaiting, OnWaitingDelegate
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, flags, nodeDocument, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
EventMap
PropertyChanged
Constructor and Description |
---|
HTMLTextAreaElement(com.aspose.html.dom.DOMName name,
Document doc)
Initializes a new instance of the
HTMLTextAreaElement class. |
Modifier and Type | Method and Description |
---|---|
void |
blur()
Removes keyboard focus from this element.
|
void |
focus()
Gives keyboard focus to this element.
|
String |
getAccessKey()
A single character access key to give access to the form control.
|
int |
getCols()
Width of control (in characters).
|
String |
getDefaultValue()
Represents the contents of the element.
|
boolean |
getDisabled()
The control is unavailable in this context.
|
HTMLFormElement |
getForm()
Returns the
FORM element containing this control. |
String |
getName()
Form control or object name when submitted with a form.
|
boolean |
getReadOnly()
This control is read-only.
|
int |
getRows()
Number of text rows.
|
int |
getTabIndex()
Index that represents the element's position in the tabbing order.
|
String |
getType()
The type of this form control.
|
String |
getValue()
Represents the current contents of the corresponding form control, in
an interactive user agent.
|
void |
select()
Select the contents of the
TEXTAREA . |
void |
setAccessKey(String value)
A single character access key to give access to the form control.
|
void |
setCols(int value)
Width of control (in characters).
|
void |
setDefaultValue(String value)
Represents the contents of the element.
|
void |
setDisabled(boolean value)
The control is unavailable in this context.
|
void |
setName(String value)
Form control or object name when submitted with a form.
|
void |
setReadOnly(boolean value)
This control is read-only.
|
void |
setRows(int value)
Number of text rows.
|
void |
setTabIndex(int value)
Index that represents the element's position in the tabbing order.
|
void |
setValue(String value)
Represents the current contents of the corresponding form control, in
an interactive user agent.
|
getAttributeOrDefault, getChildOfType, getClassName_Rename_Namesake, getDir, getId_Rename_Namesake, getLang, getParentOfType, getRowIndexInScopeOfCollection, getStyle, getTitle, setAttribute, setAttribute, setAttribute, setClassName_Rename_Namesake, setDir, setId_Rename_Namesake, setLang, setTitle, toggleAttribute
attachShadow, equals, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getChildren, getClassName, getComputedStyle, getComputedStyle, getData, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getId, getInnerHTML, getLastElementChild, getLocalName, getNamespaceURI, getNextElementSibling, getNodeName, getNodeType, getOuterHTML, getPrefix, getPreviousElementSibling, getSchemaTypeInfo, getShadowRoot, getStyleContainer, getTag, getTagName, getTextContent, hasAttribute, hasAttributeNS, hasAttributes, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setData, setId, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOuterHTML, setTextContent
adoptNode, appendChild, cloneNode, deepClone, getBaseURI, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPreviousSibling, getRegisteredObservers, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceAll, replaceChild, setNodeValue, setParentNode, setPrefix, toString
addEventListener, addEventListener, addEventListener, addEventListener, dispatchEvent, dispose, removeEventListener, removeEventListener, removeEventListener
fireNotifyPropertyChanged, getCurrentValues, getRuntimesBinding, setCurrentValues, setField, setRuntimesBinding
public HTMLTextAreaElement(com.aspose.html.dom.DOMName name, Document doc)
Initializes a new instance of the HTMLTextAreaElement
class.
name
- The DOM name.doc
- The document.@DOMNameAttribute(name="defaultValue") 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.
@DOMNameAttribute(name="defaultValue") public void setDefaultValue(String value)
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.
@DOMNameAttribute(name="form") @DOMNullableAttribute public HTMLFormElement getForm()
Returns the FORM
element containing this control. Returns
null
if this control is not within the context of a
form.
@DOMNameAttribute(name="accessKey") public String getAccessKey()
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.01.
@DOMNameAttribute(name="accessKey") public void setAccessKey(String value)
A single character access key to give access to the form control. See the accesskey attribute definition in HTML 4.01.
@DOMNameAttribute(name="cols") public int getCols()
Width of control (in characters). See the cols attribute definition in HTML 4.01.
@DOMNameAttribute(name="cols") public void setCols(int value)
Width of control (in characters). See the cols attribute definition in HTML 4.01.
@DOMNameAttribute(name="disabled") public boolean getDisabled()
The control is unavailable in this context. See the disabled attribute definition in HTML 4.01.
@DOMNameAttribute(name="disabled") public void setDisabled(boolean value)
The control is unavailable in this context. See the disabled attribute definition in HTML 4.01.
@DOMNameAttribute(name="name") public String getName()
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.
@DOMNameAttribute(name="name") public void setName(String value)
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.01.
@DOMNameAttribute(name="readOnly") public boolean getReadOnly()
This control is read-only. See the readonly attribute definition in HTML 4.01.
@DOMNameAttribute(name="readOnly") public void setReadOnly(boolean value)
This control is read-only. See the readonly attribute definition in HTML 4.01.
@DOMNameAttribute(name="rows") public int getRows()
Number of text rows. See the rows attribute definition in HTML 4.01.
@DOMNameAttribute(name="rows") public void setRows(int value)
Number of text rows. See the rows attribute definition in HTML 4.01.
@DOMNameAttribute(name="tabIndex") public int getTabIndex()
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.
@DOMNameAttribute(name="tabIndex") public void setTabIndex(int value)
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.01.
@DOMNameAttribute(name="type") public String getType()
The type of this form control. This the string "textarea".
@DOMNameAttribute(name="value") 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
DOMString
, the implementation may truncate the data.
@DOMNameAttribute(name="value") public void setValue(String value)
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
DOMString
, the implementation may truncate the data.
@DOMNameAttribute(name="blur") public void blur()
Removes keyboard focus from this element.
@DOMNameAttribute(name="focus") public void focus()
Gives keyboard focus to this element.
@DOMNameAttribute(name="select") public void select()
Select the contents of the TEXTAREA
.