@Bean(typeName="option") public class Option extends HtmlElementText
| Constructor and Description |
|---|
Option() |
| Modifier and Type | Method and Description |
|---|---|
Option |
_class(String _class)
class attribute.
|
Option |
disabled(Object disabled)
disabled attribute.
|
Option |
id(String id)
id attribute.
|
Option |
label(String label)
label attribute.
|
Option |
selected(Object selected)
selected attribute.
|
Option |
style(String style)
style attribute.
|
Option |
text(Object text)
Sets the text node on this element.
|
Option |
value(Object value)
value attribute.
|
getText, setTextaccesskey, attr, attrUri, contenteditable, deminimize, dir, getAttr, getAttr, getAttrs, hidden, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, setAttrs, spellcheck, tabindex, title, toString, translatepublic Option()
public final Option disabled(Object disabled)
Whether the form control is disabled.
public final Option label(String label)
User-visible label.
label - The new value for this attribute.public final Option selected(Object selected)
Whether the option is selected by default.
public final Option value(Object value)
Value to be used for form submission.
public final Option _class(String _class)
HtmlElement_class in class HtmlElement_class - The new value for this attribute.public final Option id(String id)
HtmlElementid in class HtmlElementid - The new value for this attribute.public final Option style(String style)
HtmlElementstyle in class HtmlElementstyle - The new value for this attribute.public Option text(Object text)
HtmlElementTexttext in class HtmlElementTexttext - The text node to add to this element.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.