public class HTMLTextAreaElement extends HTMLElement
| Modifier and Type | Field and Description |
|---|---|
net.java.html.lib.Objs.Property<Boolean> |
autofocus
Provides a way to direct a user to a specific field when a document loads.
|
net.java.html.lib.Objs.Property<Number> |
cols
Sets or retrieves the width of the object.
|
net.java.html.lib.Objs.Property<String> |
defaultValue
Sets or retrieves the initial contents of the object.
|
net.java.html.lib.Objs.Property<Boolean> |
disabled |
net.java.html.lib.Objs.Property<HTMLFormElement> |
form
Retrieves a reference to the form that the object is embedded in.
|
net.java.html.lib.Objs.Property<Number> |
maxLength
Sets or retrieves the maximum number of characters that the user can enter in a text control.
|
net.java.html.lib.Objs.Property<String> |
name
Sets or retrieves the name of the object.
|
net.java.html.lib.Objs.Property<String> |
placeholder
Gets or sets a text string that is displayed in an input field as a hint or prompt to users as the format or type of information they need to enter.The text appears in an input field until the user puts focus on the field.
|
net.java.html.lib.Objs.Property<Boolean> |
readOnly
Sets or retrieves the value indicated whether the content of the object is read-only.
|
net.java.html.lib.Objs.Property<Boolean> |
required
When present, marks an element that can't be submitted without a value.
|
net.java.html.lib.Objs.Property<Number> |
rows
Sets or retrieves the number of horizontal rows contained in the object.
|
net.java.html.lib.Objs.Property<Number> |
selectionEnd
Gets or sets the end position or offset of a text selection.
|
net.java.html.lib.Objs.Property<Number> |
selectionStart
Gets or sets the starting position or offset of a text selection.
|
net.java.html.lib.Objs.Property<Object> |
status
Sets or retrieves the value indicating whether the control is selected.
|
net.java.html.lib.Objs.Property<String> |
type
Retrieves the type of control.
|
net.java.html.lib.Objs.Property<String> |
validationMessage
Returns the error message that would be displayed if the user submits the form, or an empty string if no error message.
|
net.java.html.lib.Objs.Property<ValidityState> |
validity
Returns a ValidityState object that represents the validity states of an element.
|
net.java.html.lib.Objs.Property<String> |
value
Retrieves or sets the text in the entry field of the textArea element.
|
net.java.html.lib.Objs.Property<Boolean> |
willValidate
Returns whether an element will successfully validate based on forms validation rules and constraints.
|
net.java.html.lib.Objs.Property<String> |
wrap
Sets or retrieves how to handle wordwrapping in the object.
|
accessKey, contentEditable, dataset, dir, draggable, hidden, hideFocus, children, innerHTML, innerText, isContentEditable, lang, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, onabort, onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforepaste, onblur, oncanplay, oncanplaythrough, onclick, oncontextmenu, oncopy, oncuechange, oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onchange, oninput, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onmscontentzoom, onmsmanipulationstatechanged, onpaste, onpause, onplay, onplaying, onprogress, onratechange, onreset, onscroll, onseeked, onseeking, onselect, onselectstart, onstalled, onsubmit, onsuspend, ontimeupdate, onvolumechange, onwaiting, outerHTML, outerText, spellcheck, style, tabIndex, titleclassList, className, clientHeight, clientLeft, clientTop, clientWidth, id, msContentZoomFactor, msRegionOverflow, onariarequest, oncommand, ongotpointercapture, onlostpointercapture, onmsgesturedoubletap, onmsgestureend, onmsgesturehold, onmsgesturechange, onmsgesturestart, onmsgesturetap, onmsgotpointercapture, onmsinertiastart, onmslostpointercapture, onmspointercancel, onmspointerdown, onmspointerenter, onmspointerleave, onmspointermove, onmspointerout, onmspointerover, onmspointerup, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onwebkitfullscreenerror, onwebkitfullscreenchange, scrollHeight, scrollLeft, scrollTop, scrollWidth, tagNameATTRIBUTE_NODE, attributes, baseURI, 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, firstChild, childNodes, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, TEXT_NODE, textContent| Modifier | Constructor and Description |
|---|---|
protected |
HTMLTextAreaElement(net.java.html.lib.Objs.Constructor<?> c,
Object js) |
| Modifier and Type | Method and Description |
|---|---|
static HTMLTextAreaElement |
$as(Object obj) |
Boolean |
autofocus() |
Number |
cols() |
TextRange |
createTextRange()
Creates a TextRange object for the element.
|
String |
defaultValue() |
Boolean |
disabled() |
HTMLFormElement |
form() |
Boolean |
checkValidity()
Returns whether a form will validate when it is submitted, without having to submit it.
|
Number |
maxLength() |
String |
name() |
String |
placeholder() |
Boolean |
readOnly() |
Boolean |
required() |
Number |
rows() |
void |
select()
Highlights the input area of a form element.
|
Number |
selectionEnd() |
Number |
selectionStart() |
void |
setCustomValidity(String error)
Sets a custom error message that is displayed when a form is submitted.
|
void |
setSelectionRange(double start,
double end)
Sets the start and end positions of a selection in a text field.
|
String |
type() |
String |
validationMessage() |
ValidityState |
validity() |
String |
value() |
Boolean |
willValidate() |
String |
wrap() |
accessKey, addEventListener, addEventListener, addEventListener, addEventListener, addEventListener, addEventListener, blur, click, contains, contentEditable, dataset, dir, dragDrop, draggable, focus, hidden, hideFocus, children, innerHTML, innerText, insertAdjacentElement, insertAdjacentHTML, insertAdjacentText, isContentEditable, lang, msGetInputContext, offsetHeight, offsetLeft, offsetParent, offsetTop, offsetWidth, onabort, onactivate, onbeforeactivate, onbeforecopy, onbeforecut, onbeforedeactivate, onbeforepaste, onblur, oncanplay, oncanplaythrough, onclick, oncontextmenu, oncopy, oncuechange, oncut, ondblclick, ondeactivate, ondrag, ondragend, ondragenter, ondragleave, ondragover, ondragstart, ondrop, ondurationchange, onemptied, onended, onerror, onfocus, onchange, oninput, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onmscontentzoom, onmsmanipulationstatechanged, onpaste, onpause, onplay, onplaying, onprogress, onratechange, onreset, onscroll, onseeked, onseeking, onselect, onselectstart, onstalled, onsubmit, onsuspend, ontimeupdate, onvolumechange, onwaiting, outerHTML, outerText, scrollIntoView, scrollIntoView, setActive, spellcheck, style, tabIndex, titleclassList, className, clientHeight, clientLeft, clientTop, clientWidth, getAttribute, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBoundingClientRect, getClientRects, getElementsByClassName, getElementsByTagName, getElementsByTagNameNS, hasAttribute, hasAttributeNS, id, msContentZoomFactor, msGetRegionContent, msGetUntransformedBounds, msMatchesSelector, msRegionOverflow, msReleasePointerCapture, msSetPointerCapture, msZoomTo, onariarequest, oncommand, ongotpointercapture, onlostpointercapture, onmsgesturedoubletap, onmsgestureend, onmsgesturehold, onmsgesturechange, onmsgesturestart, onmsgesturetap, onmsgotpointercapture, onmsinertiastart, onmslostpointercapture, onmspointercancel, onmspointerdown, onmspointerenter, onmspointerleave, onmspointermove, onmspointerout, onmspointerover, onmspointerup, ontouchcancel, ontouchend, ontouchmove, ontouchstart, onwebkitfullscreenerror, onwebkitfullscreenchange, releasePointerCapture, removeAttribute, removeAttribute, removeAttributeNode, removeAttributeNS, requestFullscreen, requestPointerLock, scrollHeight, scrollLeft, scrollTop, scrollWidth, setAttribute, setAttribute, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setPointerCapture, tagName, webkitMatchesSelector, webkitRequestFullscreen, webkitRequestFullScreenappendChild, ATTRIBUTE_NODE, attributes, baseURI, CDATA_SECTION_NODE, cloneNode, cloneNode, COMMENT_NODE, compareDocumentPosition, 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, firstChild, hasAttributes, hasChildNodes, childNodes, insertBefore, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, lastChild, localName, lookupNamespaceURI, lookupPrefix, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, NOTATION_NODE, ownerDocument, parentElement, parentNode, prefix, previousSibling, PROCESSING_INSTRUCTION_NODE, removeChild, replaceChild, TEXT_NODE, textContentdispatchEvent, removeEventListener, removeEventListener, removeEventListener, removeEventListener$as, $cast, $delete, $get, $js, $set, create, create, defineProperties, defineProperty, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPrototypeOf, hasOwnProperty, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, newObject, newObject, preventExtensions, propertyIsEnumerable, seal, toLocaleString, toString, valueOfpublic net.java.html.lib.Objs.Property<Boolean> autofocus
public net.java.html.lib.Objs.Property<Number> cols
public net.java.html.lib.Objs.Property<String> defaultValue
public net.java.html.lib.Objs.Property<Boolean> disabled
public net.java.html.lib.Objs.Property<HTMLFormElement> form
public net.java.html.lib.Objs.Property<Number> maxLength
public net.java.html.lib.Objs.Property<String> name
public net.java.html.lib.Objs.Property<String> placeholder
public net.java.html.lib.Objs.Property<Boolean> readOnly
public net.java.html.lib.Objs.Property<Boolean> required
public net.java.html.lib.Objs.Property<Number> rows
public net.java.html.lib.Objs.Property<Number> selectionEnd
public net.java.html.lib.Objs.Property<Number> selectionStart
public net.java.html.lib.Objs.Property<Object> status
public net.java.html.lib.Objs.Property<String> type
public net.java.html.lib.Objs.Property<String> validationMessage
public net.java.html.lib.Objs.Property<ValidityState> validity
public net.java.html.lib.Objs.Property<String> value
public net.java.html.lib.Objs.Property<Boolean> willValidate
public net.java.html.lib.Objs.Property<String> wrap
protected HTMLTextAreaElement(net.java.html.lib.Objs.Constructor<?> c,
Object js)
public static HTMLTextAreaElement $as(Object obj)
public Boolean autofocus()
public Number cols()
public String defaultValue()
public Boolean disabled()
public HTMLFormElement form()
public Number maxLength()
public String name()
public String placeholder()
public Boolean readOnly()
public Boolean required()
public Number rows()
public Number selectionEnd()
public Number selectionStart()
public String type()
public String validationMessage()
public ValidityState validity()
public String value()
public Boolean willValidate()
public String wrap()
public Boolean checkValidity()
public TextRange createTextRange()
public void select()
public void setCustomValidity(String error)
error - Sets a custom error message that is displayed when a form is submitted.public void setSelectionRange(double start,
double end)
start - The offset into the text field for the start of the selection.end - The offset into the text field for the end of the selection.Copyright © 2021. All rights reserved.