Class Input
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclass attribute.final Inputaccept attribute.accesskey attribute.final Inputalt attribute.final Inputautocomplete(String autocomplete) autocomplete attribute.final Inputautofocus attribute.final Inputchecked attribute.contenteditable(Object contenteditable) contenteditable attribute.dir attribute.final Inputdirname attribute.final Inputdisabled attribute.final Inputform attribute.final Inputformaction(String formaction) formaction attribute.final Inputformenctype(String formenctype) formenctype attribute.final Inputformmethod(String formmethod) formmethod attribute.final Inputformnovalidate(String formnovalidate) formnovalidate attribute.final Inputformtarget(String formtarget) formtarget attribute.final Inputheight attribute.hidden attribute.id attribute.final Inputinputmode attribute.lang attribute.final Inputlist attribute.final Inputmax attribute.final Inputmaxlength attribute.final Inputmin attribute.final Inputminlength attribute.final Inputmultiple attribute.final Inputname 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 Inputpattern attribute.final Inputplaceholder(String placeholder) placeholder attribute.final Inputreadonly(boolean readonly) readonly attribute.final Inputreadonly attribute.final Inputrequired attribute.final Inputsize attribute.spellcheck(Object spellcheck) spellcheck attribute.final Inputsrc attribute.final Inputstep attribute.style attribute.tabindex attribute.title attribute.translate attribute.final Inputtype attribute.final Inputvalue attribute.final Inputwidth attribute.Methods inherited from class org.apache.juneau.dto.html5.HtmlElement
attr, attrUri, deminimize, getAttr, getAttr, getAttrs, setAttrs, toString
-
Constructor Details
-
Input
public Input()Creates an emptyInputelement. -
Input
Creates anInputelement with the specifiedtype(String)attribute.- Parameters:
type- Thetype(String)attribute.
-
-
Method Details
-
accept
accept attribute.Hint for expected file type in file upload controls.
- Parameters:
accept- The new value for this attribute.- Returns:
- This object.
-
alt
alt attribute.Replacement text for use when images are not available.
- Parameters:
alt- The new value for this attribute.- Returns:
- This object.
-
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.
- Parameters:
autofocus- The new value for this attribute.- Returns:
- This object.
-
checked
checked attribute.Whether the command or control is checked.
-
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.
-
formaction
formaction attribute.URL to use for form submission.
- Parameters:
formaction- The new value for this attribute.- Returns:
- This object.
-
formenctype
formenctype attribute.Form data set encoding type to use for form submission.
- Parameters:
formenctype- The new value for this attribute.- Returns:
- This object.
-
formmethod
formmethod attribute.HTTP method to use for form submission.
- Parameters:
formmethod- The new value for this attribute.- Returns:
- This object.
-
formnovalidate
formnovalidate attribute.Bypass form control validation for form submission.
- Parameters:
formnovalidate- The new value for this attribute.- Returns:
- This object.
-
formtarget
formtarget attribute.Browsing context for form submission.
- Parameters:
formtarget- The new value for this attribute.- Returns:
- This object.
-
height
height attribute.Vertical dimension.
-
inputmode
inputmode attribute. Hint for selecting an input modality.- Parameters:
inputmode- The new value for this attribute.- Returns:
- This object.
-
list
list attribute.List of auto-complete options.
- Parameters:
list- The new value for this attribute.- Returns:
- This object.
-
max
max attribute.Maximum value.
-
maxlength
maxlength attribute. Maximum length of value. -
min
min attribute.Minimum value.
-
minlength
minlength attribute.Minimum length of value.
-
multiple
multiple attribute.Whether to allow multiple values.
-
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.
-
pattern
pattern attribute.Pattern to be matched by the form control's value.
- Parameters:
pattern- 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.
-
readonly
readonly attribute.Whether to allow the value to be edited by the user.
- Parameters:
readonly- Iftrue , addsreadonly="readonly" .- Returns:
- This object.
-
required
required attribute.Whether the control is required for form submission.
-
size
size attribute.Size of the control.
-
src
src attribute.Address of the resource.
-
step
step attribute.Granularity to be matched by the form control's value.
- Parameters:
step- The new value for this attribute.- Returns:
- This object.
-
type
type attribute.Type of form control.
- Parameters:
type- The new value for this attribute.- Returns:
- This object.
-
value
value attribute.Value of the form control.
-
width
width attribute.Horizontal dimension.
-
_class
Description copied from class:HtmlElementclass attribute.- Overrides:
_classin classHtmlElementVoid- Parameters:
_class- The new value for this attribute.- Returns:
- This object.
-
accesskey
Description copied from class:HtmlElementaccesskey attribute.- Overrides:
accesskeyin classHtmlElementVoid- Parameters:
accesskey- The new value for this attribute.- Returns:
- This object.
-
contenteditable
Description copied from class:HtmlElementcontenteditable attribute.- Overrides:
contenteditablein classHtmlElementVoid- Parameters:
contenteditable- The new value for this attribute. Typically aBooleanorString.- Returns:
- This object.
-
dir
Description copied from class:HtmlElementdir attribute.- Overrides:
dirin classHtmlElementVoid- Parameters:
dir- The new value for this attribute.- Returns:
- This object.
-
id
Description copied from class:HtmlElementid attribute.- Overrides:
idin classHtmlElementVoid- Parameters:
id- The new value for this attribute.- Returns:
- This object.
-
lang
Description copied from class:HtmlElementlang attribute.- Overrides:
langin classHtmlElementVoid- Parameters:
lang- The new value for this attribute.- Returns:
- This object.
-
onabort
Description copied from class:HtmlElementonabort attribute.- Overrides:
onabortin classHtmlElementVoid- Parameters:
onabort- The new value for this attribute.- Returns:
- This object.
-
onblur
Description copied from class:HtmlElementonblur attribute.- Overrides:
onblurin classHtmlElementVoid- Parameters:
onblur- The new value for this attribute.- Returns:
- This object.
-
oncancel
Description copied from class:HtmlElementoncancel attribute.- Overrides:
oncancelin classHtmlElementVoid- Parameters:
oncancel- The new value for this attribute.- Returns:
- This object.
-
oncanplay
Description copied from class:HtmlElementoncanplay attribute.- Overrides:
oncanplayin classHtmlElementVoid- Parameters:
oncanplay- The new value for this attribute.- Returns:
- This object.
-
oncanplaythrough
Description copied from class:HtmlElementoncanplaythrough attribute.- Overrides:
oncanplaythroughin classHtmlElementVoid- Parameters:
oncanplaythrough- The new value for this attribute.- Returns:
- This object.
-
onchange
Description copied from class:HtmlElementonchange attribute.- Overrides:
onchangein classHtmlElementVoid- Parameters:
onchange- The new value for this attribute.- Returns:
- This object.
-
onclick
Description copied from class:HtmlElementonclick attribute.- Overrides:
onclickin classHtmlElementVoid- Parameters:
onclick- The new value for this attribute.- Returns:
- This object.
-
oncuechange
Description copied from class:HtmlElementoncuechange attribute.- Overrides:
oncuechangein classHtmlElementVoid- Parameters:
oncuechange- The new value for this attribute.- Returns:
- This object.
-
ondblclick
Description copied from class:HtmlElementondblclick attribute.- Overrides:
ondblclickin classHtmlElementVoid- Parameters:
ondblclick- The new value for this attribute.- Returns:
- This object.
-
ondurationchange
Description copied from class:HtmlElementondurationchange attribute.- Overrides:
ondurationchangein classHtmlElementVoid- Parameters:
ondurationchange- The new value for this attribute.- Returns:
- This object.
-
onemptied
Description copied from class:HtmlElementonemptied attribute.- Overrides:
onemptiedin classHtmlElementVoid- Parameters:
onemptied- The new value for this attribute.- Returns:
- This object.
-
onended
Description copied from class:HtmlElementonended attribute.- Overrides:
onendedin classHtmlElementVoid- Parameters:
onended- The new value for this attribute.- Returns:
- This object.
-
onerror
Description copied from class:HtmlElementonerror attribute.- Overrides:
onerrorin classHtmlElementVoid- Parameters:
onerror- The new value for this attribute.- Returns:
- This object.
-
onfocus
Description copied from class:HtmlElementonfocus attribute.- Overrides:
onfocusin classHtmlElementVoid- Parameters:
onfocus- The new value for this attribute.- Returns:
- This object.
-
oninput
Description copied from class:HtmlElementoninput attribute.- Overrides:
oninputin classHtmlElementVoid- Parameters:
oninput- The new value for this attribute.- Returns:
- This object.
-
oninvalid
Description copied from class:HtmlElementoninvalid attribute.- Overrides:
oninvalidin classHtmlElementVoid- Parameters:
oninvalid- The new value for this attribute.- Returns:
- This object.
-
onkeydown
Description copied from class:HtmlElementonkeydown attribute.- Overrides:
onkeydownin classHtmlElementVoid- Parameters:
onkeydown- The new value for this attribute.- Returns:
- This object.
-
onkeypress
Description copied from class:HtmlElementonkeypress attribute.- Overrides:
onkeypressin classHtmlElementVoid- Parameters:
onkeypress- The new value for this attribute.- Returns:
- This object.
-
onkeyup
Description copied from class:HtmlElementonkeyup attribute.- Overrides:
onkeyupin classHtmlElementVoid- Parameters:
onkeyup- The new value for this attribute.- Returns:
- This object.
-
onload
Description copied from class:HtmlElementonload attribute.- Overrides:
onloadin classHtmlElementVoid- Parameters:
onload- The new value for this attribute.- Returns:
- This object.
-
onloadeddata
Description copied from class:HtmlElementonloadeddata attribute.- Overrides:
onloadeddatain classHtmlElementVoid- Parameters:
onloadeddata- The new value for this attribute.- Returns:
- This object.
-
onloadedmetadata
Description copied from class:HtmlElementonloadedmetadata attribute.- Overrides:
onloadedmetadatain classHtmlElementVoid- Parameters:
onloadedmetadata- The new value for this attribute.- Returns:
- This object.
-
onloadstart
Description copied from class:HtmlElementonloadstart attribute.- Overrides:
onloadstartin classHtmlElementVoid- Parameters:
onloadstart- The new value for this attribute.- Returns:
- This object.
-
onmousedown
Description copied from class:HtmlElementonmousedown attribute.- Overrides:
onmousedownin classHtmlElementVoid- Parameters:
onmousedown- The new value for this attribute.- Returns:
- This object.
-
onmouseenter
Description copied from class:HtmlElementonmouseenter attribute.- Overrides:
onmouseenterin classHtmlElementVoid- Parameters:
onmouseenter- The new value for this attribute.- Returns:
- This object.
-
onmouseleave
Description copied from class:HtmlElementonmouseleave attribute.- Overrides:
onmouseleavein classHtmlElementVoid- Parameters:
onmouseleave- The new value for this attribute.- Returns:
- This object.
-
onmousemove
Description copied from class:HtmlElementonmousemove attribute.- Overrides:
onmousemovein classHtmlElementVoid- Parameters:
onmousemove- The new value for this attribute.- Returns:
- This object.
-
onmouseout
Description copied from class:HtmlElementonmouseout attribute.- Overrides:
onmouseoutin classHtmlElementVoid- Parameters:
onmouseout- The new value for this attribute.- Returns:
- This object.
-
onmouseover
Description copied from class:HtmlElementonmouseover attribute.- Overrides:
onmouseoverin classHtmlElementVoid- Parameters:
onmouseover- The new value for this attribute.- Returns:
- This object.
-
onmouseup
Description copied from class:HtmlElementonmouseup attribute.- Overrides:
onmouseupin classHtmlElementVoid- Parameters:
onmouseup- The new value for this attribute.- Returns:
- This object.
-
onmousewheel
Description copied from class:HtmlElementonmousewheel attribute.- Overrides:
onmousewheelin classHtmlElementVoid- Parameters:
onmousewheel- The new value for this attribute.- Returns:
- This object.
-
onpause
Description copied from class:HtmlElementonpause attribute.- Overrides:
onpausein classHtmlElementVoid- Parameters:
onpause- The new value for this attribute.- Returns:
- This object.
-
onplay
Description copied from class:HtmlElementonplay attribute.- Overrides:
onplayin classHtmlElementVoid- Parameters:
onplay- The new value for this attribute.- Returns:
- This object.
-
onplaying
Description copied from class:HtmlElementonplaying attribute.- Overrides:
onplayingin classHtmlElementVoid- Parameters:
onplaying- The new value for this attribute.- Returns:
- This object.
-
onprogress
Description copied from class:HtmlElementonprogress attribute.- Overrides:
onprogressin classHtmlElementVoid- Parameters:
onprogress- The new value for this attribute.- Returns:
- This object.
-
onratechange
Description copied from class:HtmlElementonratechange attribute.- Overrides:
onratechangein classHtmlElementVoid- Parameters:
onratechange- The new value for this attribute.- Returns:
- This object.
-
onreset
Description copied from class:HtmlElementonreset attribute.- Overrides:
onresetin classHtmlElementVoid- Parameters:
onreset- The new value for this attribute.- Returns:
- This object.
-
onresize
Description copied from class:HtmlElementonresize attribute.- Overrides:
onresizein classHtmlElementVoid- Parameters:
onresize- The new value for this attribute.- Returns:
- This object.
-
onscroll
Description copied from class:HtmlElementonscroll attribute.- Overrides:
onscrollin classHtmlElementVoid- Parameters:
onscroll- The new value for this attribute.- Returns:
- This object.
-
onseeked
Description copied from class:HtmlElementonseeked attribute.- Overrides:
onseekedin classHtmlElementVoid- Parameters:
onseeked- The new value for this attribute.- Returns:
- This object.
-
onseeking
Description copied from class:HtmlElementonseeking attribute.- Overrides:
onseekingin classHtmlElementVoid- Parameters:
onseeking- The new value for this attribute.- Returns:
- This object.
-
onselect
Description copied from class:HtmlElementonselect attribute.- Overrides:
onselectin classHtmlElementVoid- Parameters:
onselect- The new value for this attribute.- Returns:
- This object.
-
onshow
Description copied from class:HtmlElementonshow attribute.- Overrides:
onshowin classHtmlElementVoid- Parameters:
onshow- The new value for this attribute.- Returns:
- This object.
-
onstalled
Description copied from class:HtmlElementonstalled attribute.- Overrides:
onstalledin classHtmlElementVoid- Parameters:
onstalled- The new value for this attribute.- Returns:
- This object.
-
onsubmit
Description copied from class:HtmlElementonsubmit attribute.- Overrides:
onsubmitin classHtmlElementVoid- Parameters:
onsubmit- The new value for this attribute.- Returns:
- This object.
-
onsuspend
Description copied from class:HtmlElementonsuspend attribute.- Overrides:
onsuspendin classHtmlElementVoid- Parameters:
onsuspend- The new value for this attribute.- Returns:
- This object.
-
ontimeupdate
Description copied from class:HtmlElementontimeupdate attribute.- Overrides:
ontimeupdatein classHtmlElementVoid- Parameters:
ontimeupdate- The new value for this attribute.- Returns:
- This object.
-
ontoggle
Description copied from class:HtmlElementontoggle attribute.- Overrides:
ontogglein classHtmlElementVoid- Parameters:
ontoggle- The new value for this attribute.- Returns:
- This object.
-
onvolumechange
Description copied from class:HtmlElementonvolumechange attribute.- Overrides:
onvolumechangein classHtmlElementVoid- Parameters:
onvolumechange- The new value for this attribute.- Returns:
- This object.
-
onwaiting
Description copied from class:HtmlElementonwaiting attribute.- Overrides:
onwaitingin classHtmlElementVoid- Parameters:
onwaiting- The new value for this attribute.- Returns:
- This object.
-
spellcheck
Description copied from class:HtmlElementspellcheck attribute.- Overrides:
spellcheckin classHtmlElementVoid- Parameters:
spellcheck- The new value for this attribute. Typically aBooleanorString.- Returns:
- This object.
-
style
Description copied from class:HtmlElementstyle attribute.- Overrides:
stylein classHtmlElementVoid- Parameters:
style- The new value for this attribute.- Returns:
- This object.
-
tabindex
Description copied from class:HtmlElementtabindex attribute.- Overrides:
tabindexin classHtmlElementVoid- Parameters:
tabindex- The new value for this attribute. Typically aNumberorString.- Returns:
- This object.
-
title
Description copied from class:HtmlElementtitle attribute.- Overrides:
titlein classHtmlElementVoid- Parameters:
title- The new value for this attribute.- Returns:
- This object.
-
translate
Description copied from class:HtmlElementtranslate attribute.- Overrides:
translatein classHtmlElementVoid- Parameters:
translate- The new value for this attribute. Typically aNumberorString.- Returns:
- This object.
-