Package org.apache.juneau.dto.html5
Class Textarea
java.lang.Object
org.apache.juneau.dto.html5.HtmlElement
org.apache.juneau.dto.html5.HtmlElementRawText
org.apache.juneau.dto.html5.Textarea
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclass attribute.accesskey attribute.final Textarea
autocomplete
(String autocomplete) autocomplete attribute.final Textarea
autofocus attribute.final Textarea
cols attribute.contenteditable
(Object contenteditable) contenteditable attribute.dir attribute.final Textarea
dirname attribute.final Textarea
disabled attribute.final Textarea
form attribute.hidden attribute.id attribute.final Textarea
inputmode attribute.lang attribute.final Textarea
maxlength attribute.final Textarea
minlength attribute.final Textarea
name attribute.onabort attribute.onblur attribute.oncancel attribute.oncanplay attribute.oncanplaythrough
(String oncanplaythrough) oncanplaythrough attribute.onchange attribute.onclick attribute.oncuechange
(String oncuechange) oncuechange attribute.ondblclick
(String ondblclick) ondblclick attribute.ondurationchange
(String ondurationchange) ondurationchange attribute.onemptied attribute.onended attribute.onerror attribute.onfocus attribute.oninput attribute.oninvalid attribute.onkeydown attribute.onkeypress
(String onkeypress) onkeypress attribute.onkeyup attribute.onload attribute.onloadeddata
(String onloadeddata) onloadeddata attribute.onloadedmetadata
(String onloadedmetadata) onloadedmetadata attribute.onloadstart
(String onloadstart) onloadstart attribute.onmousedown
(String onmousedown) onmousedown attribute.onmouseenter
(String onmouseenter) onmouseenter attribute.onmouseleave
(String onmouseleave) onmouseleave attribute.onmousemove
(String onmousemove) onmousemove attribute.onmouseout
(String onmouseout) onmouseout attribute.onmouseover
(String onmouseover) onmouseover attribute.onmouseup attribute.onmousewheel
(String onmousewheel) onmousewheel attribute.onpause attribute.onplay attribute.onplaying attribute.onprogress
(String onprogress) onprogress attribute.onratechange
(String onratechange) onratechange attribute.onreset attribute.onresize attribute.onscroll attribute.onseeked attribute.onseeking attribute.onselect attribute.onshow attribute.onstalled attribute.onsubmit attribute.onsuspend attribute.ontimeupdate
(String ontimeupdate) ontimeupdate attribute.ontoggle attribute.onvolumechange
(String onvolumechange) onvolumechange attribute.onwaiting attribute.final Textarea
placeholder
(String placeholder) placeholder attribute.final Textarea
readonly attribute.final Textarea
required attribute.final Textarea
rows attribute.spellcheck
(Object spellcheck) spellcheck attribute.style attribute.tabindex attribute.Sets the text node on this element.title attribute.translate attribute.final Textarea
wrap attribute.Methods inherited from class org.apache.juneau.dto.html5.HtmlElementRawText
getText, setText
Methods inherited from class org.apache.juneau.dto.html5.HtmlElement
attr, attrUri, deminimize, getAttr, getAttr, getAttrs, setAttrs, toString
-
Constructor Details
-
Textarea
public Textarea()Creates an emptyTextarea
element. -
Textarea
- Parameters:
name
- Thename(String)
attribute.text
- Thetext(Object)
node.
-
-
Method Details
-
autocomplete
autocomplete attribute.Hint for form auto-fill feature.
- Parameters:
autocomplete
- The new value for this attribute.- Returns:
- This object.
-
autofocus
autofocus attribute.Automatically focus the form control when the page is loaded.
-
cols
cols attribute.Maximum number of characters per line.
-
dirname
dirname attribute.Name of form field to use for sending the element's directionality in form submission.
- Parameters:
dirname
- The new value for this attribute.- Returns:
- This object.
-
disabled
disabled attribute.Whether the form control is disabled.
-
form
form attribute.Associates the control with a form element.
- Parameters:
form
- The new value for this attribute.- Returns:
- This object.
-
inputmode
inputmode attribute.Hint for selecting an input modality.
- Parameters:
inputmode
- The new value for this attribute.- Returns:
- This object.
-
maxlength
maxlength attribute.Maximum length of value.
-
minlength
minlength attribute.Minimum length of value.
-
name
name attribute.Name of form control to use for form submission and in the form.elements API.
- Parameters:
name
- The new value for this attribute.- Returns:
- This object.
-
placeholder
placeholder attribute.User-visible label to be placed within the form control.
- Parameters:
placeholder
- The new value for this attribute.- Returns:
- This object.
-
readonly
readonly attribute.Whether to allow the value to be edited by the user.
-
required
required attribute.Whether the control is required for form submission.
-
rows
rows attribute.Number of lines to show.
-
wrap
wrap attribute.How the value of the form control is to be wrapped for form submission.
- Parameters:
wrap
- The new value for this attribute.- Returns:
- This object.
-
_class
Description copied from class:HtmlElement
class attribute.- Overrides:
_class
in classHtmlElementRawText
- Parameters:
_class
- The new value for this attribute.- Returns:
- This object.
-
accesskey
Description copied from class:HtmlElement
accesskey attribute.- Overrides:
accesskey
in classHtmlElementRawText
- Parameters:
accesskey
- The new value for this attribute.- Returns:
- This object.
-
contenteditable
Description copied from class:HtmlElement
contenteditable attribute.- Overrides:
contenteditable
in classHtmlElementRawText
- Parameters:
contenteditable
- The new value for this attribute. Typically aBoolean
orString
.- Returns:
- This object.
-
dir
Description copied from class:HtmlElement
dir attribute.- Overrides:
dir
in classHtmlElementRawText
- Parameters:
dir
- The new value for this attribute.- Returns:
- This object.
-
id
Description copied from class:HtmlElement
id attribute.- Overrides:
id
in classHtmlElementRawText
- Parameters:
id
- The new value for this attribute.- Returns:
- This object.
-
lang
Description copied from class:HtmlElement
lang attribute.- Overrides:
lang
in classHtmlElementRawText
- Parameters:
lang
- The new value for this attribute.- Returns:
- This object.
-
onabort
Description copied from class:HtmlElement
onabort attribute.- Overrides:
onabort
in classHtmlElementRawText
- Parameters:
onabort
- The new value for this attribute.- Returns:
- This object.
-
onblur
Description copied from class:HtmlElement
onblur attribute.- Overrides:
onblur
in classHtmlElementRawText
- Parameters:
onblur
- The new value for this attribute.- Returns:
- This object.
-
oncancel
Description copied from class:HtmlElement
oncancel attribute.- Overrides:
oncancel
in classHtmlElementRawText
- Parameters:
oncancel
- The new value for this attribute.- Returns:
- This object.
-
oncanplay
Description copied from class:HtmlElement
oncanplay attribute.- Overrides:
oncanplay
in classHtmlElementRawText
- Parameters:
oncanplay
- The new value for this attribute.- Returns:
- This object.
-
oncanplaythrough
Description copied from class:HtmlElement
oncanplaythrough attribute.- Overrides:
oncanplaythrough
in classHtmlElementRawText
- Parameters:
oncanplaythrough
- The new value for this attribute.- Returns:
- This object.
-
onchange
Description copied from class:HtmlElement
onchange attribute.- Overrides:
onchange
in classHtmlElementRawText
- Parameters:
onchange
- The new value for this attribute.- Returns:
- This object.
-
onclick
Description copied from class:HtmlElement
onclick attribute.- Overrides:
onclick
in classHtmlElementRawText
- Parameters:
onclick
- The new value for this attribute.- Returns:
- This object.
-
oncuechange
Description copied from class:HtmlElement
oncuechange attribute.- Overrides:
oncuechange
in classHtmlElementRawText
- Parameters:
oncuechange
- The new value for this attribute.- Returns:
- This object.
-
ondblclick
Description copied from class:HtmlElement
ondblclick attribute.- Overrides:
ondblclick
in classHtmlElementRawText
- Parameters:
ondblclick
- The new value for this attribute.- Returns:
- This object.
-
ondurationchange
Description copied from class:HtmlElement
ondurationchange attribute.- Overrides:
ondurationchange
in classHtmlElementRawText
- Parameters:
ondurationchange
- The new value for this attribute.- Returns:
- This object.
-
onemptied
Description copied from class:HtmlElement
onemptied attribute.- Overrides:
onemptied
in classHtmlElementRawText
- Parameters:
onemptied
- The new value for this attribute.- Returns:
- This object.
-
onended
Description copied from class:HtmlElement
onended attribute.- Overrides:
onended
in classHtmlElementRawText
- Parameters:
onended
- The new value for this attribute.- Returns:
- This object.
-
onerror
Description copied from class:HtmlElement
onerror attribute.- Overrides:
onerror
in classHtmlElementRawText
- Parameters:
onerror
- The new value for this attribute.- Returns:
- This object.
-
onfocus
Description copied from class:HtmlElement
onfocus attribute.- Overrides:
onfocus
in classHtmlElementRawText
- Parameters:
onfocus
- The new value for this attribute.- Returns:
- This object.
-
oninput
Description copied from class:HtmlElement
oninput attribute.- Overrides:
oninput
in classHtmlElementRawText
- Parameters:
oninput
- The new value for this attribute.- Returns:
- This object.
-
oninvalid
Description copied from class:HtmlElement
oninvalid attribute.- Overrides:
oninvalid
in classHtmlElementRawText
- Parameters:
oninvalid
- The new value for this attribute.- Returns:
- This object.
-
onkeydown
Description copied from class:HtmlElement
onkeydown attribute.- Overrides:
onkeydown
in classHtmlElementRawText
- Parameters:
onkeydown
- The new value for this attribute.- Returns:
- This object.
-
onkeypress
Description copied from class:HtmlElement
onkeypress attribute.- Overrides:
onkeypress
in classHtmlElementRawText
- Parameters:
onkeypress
- The new value for this attribute.- Returns:
- This object.
-
onkeyup
Description copied from class:HtmlElement
onkeyup attribute.- Overrides:
onkeyup
in classHtmlElementRawText
- Parameters:
onkeyup
- The new value for this attribute.- Returns:
- This object.
-
onload
Description copied from class:HtmlElement
onload attribute.- Overrides:
onload
in classHtmlElementRawText
- Parameters:
onload
- The new value for this attribute.- Returns:
- This object.
-
onloadeddata
Description copied from class:HtmlElement
onloadeddata attribute.- Overrides:
onloadeddata
in classHtmlElementRawText
- Parameters:
onloadeddata
- The new value for this attribute.- Returns:
- This object.
-
onloadedmetadata
Description copied from class:HtmlElement
onloadedmetadata attribute.- Overrides:
onloadedmetadata
in classHtmlElementRawText
- Parameters:
onloadedmetadata
- The new value for this attribute.- Returns:
- This object.
-
onloadstart
Description copied from class:HtmlElement
onloadstart attribute.- Overrides:
onloadstart
in classHtmlElementRawText
- Parameters:
onloadstart
- The new value for this attribute.- Returns:
- This object.
-
onmousedown
Description copied from class:HtmlElement
onmousedown attribute.- Overrides:
onmousedown
in classHtmlElementRawText
- Parameters:
onmousedown
- The new value for this attribute.- Returns:
- This object.
-
onmouseenter
Description copied from class:HtmlElement
onmouseenter attribute.- Overrides:
onmouseenter
in classHtmlElementRawText
- Parameters:
onmouseenter
- The new value for this attribute.- Returns:
- This object.
-
onmouseleave
Description copied from class:HtmlElement
onmouseleave attribute.- Overrides:
onmouseleave
in classHtmlElementRawText
- Parameters:
onmouseleave
- The new value for this attribute.- Returns:
- This object.
-
onmousemove
Description copied from class:HtmlElement
onmousemove attribute.- Overrides:
onmousemove
in classHtmlElementRawText
- Parameters:
onmousemove
- The new value for this attribute.- Returns:
- This object.
-
onmouseout
Description copied from class:HtmlElement
onmouseout attribute.- Overrides:
onmouseout
in classHtmlElementRawText
- Parameters:
onmouseout
- The new value for this attribute.- Returns:
- This object.
-
onmouseover
Description copied from class:HtmlElement
onmouseover attribute.- Overrides:
onmouseover
in classHtmlElementRawText
- Parameters:
onmouseover
- The new value for this attribute.- Returns:
- This object.
-
onmouseup
Description copied from class:HtmlElement
onmouseup attribute.- Overrides:
onmouseup
in classHtmlElementRawText
- Parameters:
onmouseup
- The new value for this attribute.- Returns:
- This object.
-
onmousewheel
Description copied from class:HtmlElement
onmousewheel attribute.- Overrides:
onmousewheel
in classHtmlElementRawText
- Parameters:
onmousewheel
- The new value for this attribute.- Returns:
- This object.
-
onpause
Description copied from class:HtmlElement
onpause attribute.- Overrides:
onpause
in classHtmlElementRawText
- Parameters:
onpause
- The new value for this attribute.- Returns:
- This object.
-
onplay
Description copied from class:HtmlElement
onplay attribute.- Overrides:
onplay
in classHtmlElementRawText
- Parameters:
onplay
- The new value for this attribute.- Returns:
- This object.
-
onplaying
Description copied from class:HtmlElement
onplaying attribute.- Overrides:
onplaying
in classHtmlElementRawText
- Parameters:
onplaying
- The new value for this attribute.- Returns:
- This object.
-
onprogress
Description copied from class:HtmlElement
onprogress attribute.- Overrides:
onprogress
in classHtmlElementRawText
- Parameters:
onprogress
- The new value for this attribute.- Returns:
- This object.
-
onratechange
Description copied from class:HtmlElement
onratechange attribute.- Overrides:
onratechange
in classHtmlElementRawText
- Parameters:
onratechange
- The new value for this attribute.- Returns:
- This object.
-
onreset
Description copied from class:HtmlElement
onreset attribute.- Overrides:
onreset
in classHtmlElementRawText
- Parameters:
onreset
- The new value for this attribute.- Returns:
- This object.
-
onresize
Description copied from class:HtmlElement
onresize attribute.- Overrides:
onresize
in classHtmlElementRawText
- Parameters:
onresize
- The new value for this attribute.- Returns:
- This object.
-
onscroll
Description copied from class:HtmlElement
onscroll attribute.- Overrides:
onscroll
in classHtmlElementRawText
- Parameters:
onscroll
- The new value for this attribute.- Returns:
- This object.
-
onseeked
Description copied from class:HtmlElement
onseeked attribute.- Overrides:
onseeked
in classHtmlElementRawText
- Parameters:
onseeked
- The new value for this attribute.- Returns:
- This object.
-
onseeking
Description copied from class:HtmlElement
onseeking attribute.- Overrides:
onseeking
in classHtmlElementRawText
- Parameters:
onseeking
- The new value for this attribute.- Returns:
- This object.
-
onselect
Description copied from class:HtmlElement
onselect attribute.- Overrides:
onselect
in classHtmlElementRawText
- Parameters:
onselect
- The new value for this attribute.- Returns:
- This object.
-
onshow
Description copied from class:HtmlElement
onshow attribute.- Overrides:
onshow
in classHtmlElementRawText
- Parameters:
onshow
- The new value for this attribute.- Returns:
- This object.
-
onstalled
Description copied from class:HtmlElement
onstalled attribute.- Overrides:
onstalled
in classHtmlElementRawText
- Parameters:
onstalled
- The new value for this attribute.- Returns:
- This object.
-
onsubmit
Description copied from class:HtmlElement
onsubmit attribute.- Overrides:
onsubmit
in classHtmlElementRawText
- Parameters:
onsubmit
- The new value for this attribute.- Returns:
- This object.
-
onsuspend
Description copied from class:HtmlElement
onsuspend attribute.- Overrides:
onsuspend
in classHtmlElementRawText
- Parameters:
onsuspend
- The new value for this attribute.- Returns:
- This object.
-
ontimeupdate
Description copied from class:HtmlElement
ontimeupdate attribute.- Overrides:
ontimeupdate
in classHtmlElementRawText
- Parameters:
ontimeupdate
- The new value for this attribute.- Returns:
- This object.
-
ontoggle
Description copied from class:HtmlElement
ontoggle attribute.- Overrides:
ontoggle
in classHtmlElementRawText
- Parameters:
ontoggle
- The new value for this attribute.- Returns:
- This object.
-
onvolumechange
Description copied from class:HtmlElement
onvolumechange attribute.- Overrides:
onvolumechange
in classHtmlElementRawText
- Parameters:
onvolumechange
- The new value for this attribute.- Returns:
- This object.
-
onwaiting
Description copied from class:HtmlElement
onwaiting attribute.- Overrides:
onwaiting
in classHtmlElementRawText
- Parameters:
onwaiting
- The new value for this attribute.- Returns:
- This object.
-
spellcheck
Description copied from class:HtmlElement
spellcheck attribute.- Overrides:
spellcheck
in classHtmlElementRawText
- Parameters:
spellcheck
- The new value for this attribute. Typically aBoolean
orString
.- Returns:
- This object.
-
style
Description copied from class:HtmlElement
style attribute.- Overrides:
style
in classHtmlElementRawText
- Parameters:
style
- The new value for this attribute.- Returns:
- This object.
-
tabindex
Description copied from class:HtmlElement
tabindex attribute.- Overrides:
tabindex
in classHtmlElementRawText
- Parameters:
tabindex
- The new value for this attribute. Typically aNumber
orString
.- Returns:
- This object.
-
title
Description copied from class:HtmlElement
title attribute.- Overrides:
title
in classHtmlElementRawText
- Parameters:
title
- The new value for this attribute.- Returns:
- This object.
-
translate
Description copied from class:HtmlElement
translate attribute.- Overrides:
translate
in classHtmlElementRawText
- Parameters:
translate
- The new value for this attribute. Typically aNumber
orString
.- Returns:
- This object.
-
text
Description copied from class:HtmlElementRawText
Sets the text node on this element.- Overrides:
text
in classHtmlElementRawText
- Parameters:
text
- The text node to add to this element.- Returns:
- This object.
-