public class HTMLTextAreaElementImpl extends HTMLElementImpl implements org.w3c.dom.html.HTMLTextAreaElement
ALLOW_KEYBOARD_INPUTATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE| Modifier and Type | Method and Description |
|---|---|
Object |
call(String methodName,
Object... args)
Calls a JavaScript method.
|
boolean |
checkValidity() |
boolean |
equals(Object other) |
Object |
eval(String s)
Evaluates a JavaScript expression.
|
String |
getAccessKey() |
String |
getAutocomplete() |
boolean |
getAutofocus() |
int |
getCols() |
String |
getDefaultValue() |
String |
getDirName() |
boolean |
getDisabled() |
org.w3c.dom.html.HTMLFormElement |
getForm() |
NodeList |
getLabels() |
int |
getMaxLength() |
Object |
getMember(String name)
Retrieves a named member of a JavaScript object.
|
String |
getName() |
String |
getPlaceholder() |
boolean |
getReadOnly() |
boolean |
getRequired() |
int |
getRows() |
String |
getSelectionDirection() |
int |
getSelectionEnd() |
int |
getSelectionStart() |
Object |
getSlot(int index)
Retrieves an indexed member of a JavaScript object.
|
int |
getTextLength() |
String |
getType() |
String |
getValidationMessage() |
String |
getValue() |
boolean |
getWillValidate() |
String |
getWrap() |
int |
hashCode() |
void |
removeMember(String name)
Removes a named member of a JavaScript object.
|
void |
select() |
void |
setAccessKey(String value) |
void |
setAutocomplete(String value) |
void |
setAutofocus(boolean value) |
void |
setCols(int value) |
void |
setCustomValidity(String error) |
void |
setDefaultValue(String value) |
void |
setDirName(String value) |
void |
setDisabled(boolean value) |
void |
setMaxLength(int value) |
void |
setMember(String name,
Object value)
Sets a named member of a JavaScript object.
|
void |
setName(String value) |
void |
setPlaceholder(String value) |
void |
setRangeText(String replacement) |
void |
setRangeTextEx(String replacement,
int start,
int end,
String selectionMode) |
void |
setReadOnly(boolean value) |
void |
setRequired(boolean value) |
void |
setRows(int value) |
void |
setSelectionDirection(String value) |
void |
setSelectionEnd(int value) |
void |
setSelectionRange(int start,
int end,
String direction) |
void |
setSelectionStart(int value) |
void |
setSlot(int index,
Object value)
Sets an indexed member of a JavaScript object.
|
void |
setValue(String value) |
void |
setWrap(String value) |
String |
toString() |
click, getChildren, getContentEditable, getDir, getDraggable, getHidden, getId, getInnerText, getIsContentEditable, getLang, getOuterText, getSpellcheck, getTabIndex, getTitle, getTitleDisplayString, getTranslate, getWebkitdropzone, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, setContentEditable, setDir, setDraggable, setHidden, setId, setInnerText, setLang, setOuterText, setSpellcheck, setTabIndex, setTitle, setTranslate, setWebkitdropzoneblur, closest, focus, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getChildElementCount, getClassName, getClientHeight, getClientLeft, getClientTop, getClientWidth, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, getFirstElementChild, getInnerHTML, getLastElementChild, getNextElementSibling, getOffsetHeight, getOffsetLeft, getOffsetParent, getOffsetTop, getOffsetWidth, getOnabort, getOnanimationend, getOnanimationiteration, getOnanimationstart, getOnbeforecopy, getOnbeforecut, getOnbeforeload, getOnbeforepaste, getOnblur, getOncanplay, getOncanplaythrough, getOnchange, getOnclick, getOncontextmenu, getOncopy, getOncut, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOndurationchange, getOnemptied, getOnended, getOnerror, getOnfocus, getOnfocusin, getOnfocusout, getOninput, getOninvalid, getOnkeydown, getOnkeypress, getOnkeyup, getOnload, getOnloadeddata, getOnloadedmetadata, getOnloadstart, getOnmousedown, getOnmouseenter, getOnmouseleave, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpaste, getOnpause, getOnplay, getOnplaying, getOnprogress, getOnratechange, getOnreset, getOnresize, getOnscroll, getOnsearch, getOnseeked, getOnseeking, getOnselect, getOnselectstart, getOnstalled, getOnsubmit, getOnsuspend, getOntimeupdate, getOntransitionend, getOnvolumechange, getOnwaiting, getOnwebkitanimationend, getOnwebkitanimationiteration, getOnwebkitanimationstart, getOnwebkittransitionend, getOnwheel, getOuterHTML, getPreviousElementSibling, getSchemaTypeInfo, getScrollHeight, getScrollLeft, getScrollTop, getScrollWidth, getStyle, getTagName, hasAttribute, hasAttributeNS, hasAttributes, matches, querySelector, querySelectorAll, remove, removeAttribute, removeAttributeNode, removeAttributeNS, scrollByLines, scrollByPages, scrollIntoView, scrollIntoViewIfNeeded, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setClassName, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setInnerHTML, setOnabort, setOnanimationend, setOnanimationiteration, setOnanimationstart, setOnbeforecopy, setOnbeforecut, setOnbeforeload, setOnbeforepaste, setOnblur, setOncanplay, setOncanplaythrough, setOnchange, setOnclick, setOncontextmenu, setOncopy, setOncut, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOndurationchange, setOnemptied, setOnended, setOnerror, setOnfocus, setOnfocusin, setOnfocusout, setOninput, setOninvalid, setOnkeydown, setOnkeypress, setOnkeyup, setOnload, setOnloadeddata, setOnloadedmetadata, setOnloadstart, setOnmousedown, setOnmouseenter, setOnmouseleave, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpaste, setOnpause, setOnplay, setOnplaying, setOnprogress, setOnratechange, setOnreset, setOnresize, setOnscroll, setOnsearch, setOnseeked, setOnseeking, setOnselect, setOnselectstart, setOnstalled, setOnsubmit, setOnsuspend, setOntimeupdate, setOntransitionend, setOnvolumechange, setOnwaiting, setOnwebkitanimationend, setOnwebkitanimationiteration, setOnwebkitanimationstart, setOnwebkittransitionend, setOnwheel, setOuterHTML, setScrollLeft, setScrollTop, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreenaddEventListener, appendChild, cloneNode, compareDocumentPosition, contains, dispatchEvent, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentElement, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDataclone, finalize, getClass, notify, notifyAll, wait, wait, waitblur, focus, getTabIndex, setTabIndexgetClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitlegetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic boolean getAutofocus()
public void setAutofocus(boolean value)
public String getDirName()
public void setDirName(String value)
public boolean getDisabled()
getDisabled in interface org.w3c.dom.html.HTMLTextAreaElementpublic void setDisabled(boolean value)
setDisabled in interface org.w3c.dom.html.HTMLTextAreaElementpublic org.w3c.dom.html.HTMLFormElement getForm()
getForm in interface org.w3c.dom.html.HTMLTextAreaElementpublic int getMaxLength()
public void setMaxLength(int value)
throws DOMException
DOMExceptionpublic String getName()
getName in interface org.w3c.dom.html.HTMLTextAreaElementpublic void setName(String value)
setName in interface org.w3c.dom.html.HTMLTextAreaElementpublic String getPlaceholder()
public void setPlaceholder(String value)
public boolean getReadOnly()
getReadOnly in interface org.w3c.dom.html.HTMLTextAreaElementpublic void setReadOnly(boolean value)
setReadOnly in interface org.w3c.dom.html.HTMLTextAreaElementpublic boolean getRequired()
public void setRequired(boolean value)
public int getRows()
getRows in interface org.w3c.dom.html.HTMLTextAreaElementpublic void setRows(int value)
setRows in interface org.w3c.dom.html.HTMLTextAreaElementpublic int getCols()
getCols in interface org.w3c.dom.html.HTMLTextAreaElementpublic void setCols(int value)
setCols in interface org.w3c.dom.html.HTMLTextAreaElementpublic String getWrap()
public void setWrap(String value)
public String getType()
getType in interface org.w3c.dom.html.HTMLTextAreaElementpublic String getDefaultValue()
getDefaultValue in interface org.w3c.dom.html.HTMLTextAreaElementpublic void setDefaultValue(String value)
setDefaultValue in interface org.w3c.dom.html.HTMLTextAreaElementpublic String getValue()
getValue in interface org.w3c.dom.html.HTMLTextAreaElementpublic void setValue(String value)
setValue in interface org.w3c.dom.html.HTMLTextAreaElementpublic int getTextLength()
public boolean getWillValidate()
public String getValidationMessage()
public NodeList getLabels()
public int getSelectionStart()
public void setSelectionStart(int value)
public int getSelectionEnd()
public void setSelectionEnd(int value)
public String getSelectionDirection()
public void setSelectionDirection(String value)
public String getAccessKey()
getAccessKey in interface org.w3c.dom.html.HTMLTextAreaElementgetAccessKey in class HTMLElementImplpublic void setAccessKey(String value)
setAccessKey in interface org.w3c.dom.html.HTMLTextAreaElementsetAccessKey in class HTMLElementImplpublic String getAutocomplete()
public void setAutocomplete(String value)
public boolean checkValidity()
public void setCustomValidity(String error)
public void select()
select in interface org.w3c.dom.html.HTMLTextAreaElementpublic void setRangeText(String replacement) throws DOMException
DOMExceptionpublic void setRangeTextEx(String replacement, int start, int end, String selectionMode) throws DOMException
DOMExceptionpublic void setSelectionRange(int start,
int end,
String direction)
public Object eval(String s) throws JSException
JSObjectEvaluates a JavaScript expression. The expression is a string of JavaScript source code which will be evaluated in the context given by "this".
eval in class JSObjects - The JavaScript expression.JSExceptionpublic Object getMember(String name)
JSObjectRetrieves a named member of a JavaScript object. Equivalent to "this.name" in JavaScript.
public void setMember(String name, Object value) throws JSException
JSObjectSets a named member of a JavaScript object. Equivalent to "this.name = value" in JavaScript.
setMember in class JSObjectname - The name of the JavaScript property to be accessed.value - The value of the propery.JSExceptionpublic void removeMember(String name) throws JSException
JSObjectRemoves a named member of a JavaScript object. Equivalent to "delete this.name" in JavaScript.
removeMember in class JSObjectname - The name of the JavaScript property to be removed.JSExceptionpublic Object getSlot(int index) throws JSException
JSObjectRetrieves an indexed member of a JavaScript object. Equivalent to "this[index]" in JavaScript.
getSlot in class JSObjectindex - The index of the array to be accessed.JSExceptionpublic void setSlot(int index,
Object value)
throws JSException
JSObjectSets an indexed member of a JavaScript object. Equivalent to "this[index] = value" in JavaScript.
setSlot in class JSObjectindex - The index of the array to be accessed.JSExceptionpublic Object call(String methodName, Object... args) throws JSException
JSObjectCalls a JavaScript method. Equivalent to "this.methodName(args[0], args[1], ...)" in JavaScript.
call in class JSObjectmethodName - The name of the JavaScript method to be invoked.args - the Java objects passed as arguments to the method.JSExceptionCopyright © 2025. All rights reserved.