public static class Html4.OPTION extends HtmlParentElement implements Html4.ParentElement<Html4.OPTION>
<option>.| Modifier and Type | Field and Description |
|---|---|
static HtmlElementType |
TYPE
HtmlElementType for
<option> (void=false, block=true, pre=false). |
| Constructor and Description |
|---|
OPTION() |
| Instance Methods | |
|---|---|
HtmlElementType |
getElementType()
Get the metadata of this element.
|
Html4.OPTION |
disabled(boolean value)
Set boolean attribute
disabled. |
Html4.OPTION |
label(CharSequence value)
Set attribute
label="{value}". |
Html4.OPTION |
selected(boolean value)
Set boolean attribute
selected. |
Html4.OPTION |
value(CharSequence value)
Set attribute
value="{value}". |
addChild, addChild, addChildren, detachChildren, getChild, getChildCount, removeChild, render, setChildgetAttribute, getAttributeCount, getAttributeMap, isBlock, setAttributeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, addattr, attr, attr, attr, class_, class_add, dir, getAttribute, id, lang, on, setAttribute, style, titleaddChild, addChild, addChildren, detachChildren, getChild, getChildCount, getChildList, removeChild, render, setChildpublic static final HtmlElementType TYPE
<option> (void=false, block=true, pre=false).public HtmlElementType getElementType()
HtmlElementHtmlElementType.getElementType in class HtmlElementpublic Html4.OPTION disabled(boolean value)
disabled.public Html4.OPTION label(CharSequence value)
label="{value}".public Html4.OPTION selected(boolean value)
selected.public Html4.OPTION value(CharSequence value)
value="{value}".