Interface HamletSpec.SELECT
- All Superinterfaces:
HamletSpec.__,HamletSpec._Child,HamletSpec._Option,HamletSpec.Attrs,HamletSpec.CoreAttrs,HamletSpec.EventsAttrs,HamletSpec.I18nAttrs
- All Known Implementing Classes:
Hamlet.SELECT
- Enclosing class:
- HamletSpec
public static interface HamletSpec.SELECT
extends HamletSpec.Attrs, HamletSpec._Option, HamletSpec._Child
-
Method Summary
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Child
__Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Option
option, optionMethods 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
-
optgroup
HamletSpec.OPTGROUP optgroup()Add a OPTGROUP element.- Returns:
- a new OPTGROUP element builder
-
$name
field name- Parameters:
cdata- the content of the element.- Returns:
- the current element builder
-
$size
rows visible- Parameters:
rows- number of rows.- Returns:
- the current element builder
-
$multiple
HamletSpec.SELECT $multiple()default is single selection- Returns:
- the current element builder
-
$disabled
HamletSpec.SELECT $disabled()unavailable in this context- Returns:
- the current element builder
-
$tabindex
position in tabbing order- Parameters:
index- the index- Returns:
- the current element builder
-
$onfocus
the element got the focus- Parameters:
script- to invoke.- Returns:
- the current element builder
-
$onblur
the element lost the focus- Parameters:
script- to invoke.- Returns:
- the current element builder
-
$onchange
the element value was changed- Parameters:
script- to invoke.- Returns:
- the current element builder
-