Interface HamletSpec.OPTION
- All Superinterfaces:
HamletSpec.__,HamletSpec._Child,HamletSpec._Content,HamletSpec._RawContent,HamletSpec.Attrs,HamletSpec.CoreAttrs,HamletSpec.EventsAttrs,HamletSpec.I18nAttrs,HamletSpec.PCData
- All Known Implementing Classes:
Hamlet.OPTION
- Enclosing class:
- HamletSpec
public static interface HamletSpec.OPTION
extends HamletSpec.Attrs, HamletSpec.PCData, HamletSpec._Child
-
Method Summary
Modifier and TypeMethodDescriptionunavailable in this contextfor use in hierarchical menuscurrently selected optiondefaults to element contentMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Child
__Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Content
__Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._RawContent
_rMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.CoreAttrs
$class, $id, $style, $titleMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.EventsAttrs
$onclick, $ondblclick, $onkeydown, $onkeypress, $onkeyup, $onmousedown, $onmousemove, $onmouseout, $onmouseover, $onmouseupMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.I18nAttrs
$dir, $lang
-
Method Details
-
$selected
HamletSpec.OPTION $selected()currently selected option- Returns:
- the current element builder
-
$disabled
HamletSpec.OPTION $disabled()unavailable in this context- Returns:
- the current element builder
-
$label
for use in hierarchical menus- Parameters:
cdata- the content of the element.- Returns:
- the current element builder
-
$value
defaults to element content- Parameters:
cdata- the content of the element.- Returns:
- the current element builder
-