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, setChild
getAttribute, getAttributeCount, getAttributeMap, isBlock, setAttribute
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add
attr, attr, attr, attr, class_, class_add, dir, getAttribute, id, lang, on, setAttribute, style, title
addChild, addChild, addChildren, detachChildren, getChild, getChildCount, getChildList, removeChild, render, setChild
public static final HtmlElementType TYPE
<option>
(void=false, block=true, pre=false).public HtmlElementType getElementType()
HtmlElement
HtmlElementType
.getElementType
in class HtmlElement
public 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}"
.