Interface HamletSpec.BUTTON
- All Superinterfaces:
HamletSpec.__,HamletSpec._Block,HamletSpec._Child,HamletSpec._Content,HamletSpec._FontSize,HamletSpec._FontStyle,HamletSpec._ImgObject,HamletSpec._InsDel,HamletSpec._Object,HamletSpec._RawContent,HamletSpec._Script,HamletSpec._Special,HamletSpec._SubSup,HamletSpec.Attrs,HamletSpec.CoreAttrs,HamletSpec.EventsAttrs,HamletSpec.FontStyle,HamletSpec.Heading,HamletSpec.I18nAttrs,HamletSpec.Listing,HamletSpec.PCData,HamletSpec.Phrase,HamletSpec.Preformatted
- All Known Implementing Classes:
Hamlet.BUTTON
- Enclosing class:
- HamletSpec
public static interface HamletSpec.BUTTON
extends HamletSpec._Block, HamletSpec.PCData, HamletSpec.FontStyle, HamletSpec.Phrase, HamletSpec._Special, HamletSpec._ImgObject, HamletSpec._SubSup, HamletSpec.Attrs
-
Method Summary
Modifier and TypeMethodDescription$accesskey(String cdata) accessibility key characterunavailable in this contextname of the valuethe element lost the focusthe element got the focus$tabindex(int index) position in tabbing order$type(HamletSpec.ButtonType type) for use as form buttonsent to server when submittedMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Block
__, address, address, blockquote, bq, div, div, dl, dl, hr, hr, p, p, table, tableMethods 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._FontSize
small, small, smallMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._FontStyle
b, b, b, i, i, iMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._ImgObject
img, imgMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._InsDel
del, del, ins, insMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Object
object, objectMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._RawContent
_rMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Script
script, scriptMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Special
bdo, bdo, br, br, map, map, q, q, q, span, span, spanMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._SubSup
sub, sub, sub, sup, sup, supMethods 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.Heading
h1, h1, h1, h2, h2, h2, h3, h3, h3, h4, h4, h4, h5, h5, h5, h6, h6, h6Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.I18nAttrs
$dir, $langMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.Listing
ol, ol, ul, ulMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.Phrase
abbr, abbr, abbr, cite, cite, cite, code, code, code, dfn, dfn, dfn, em, em, em, kbd, kbd, kbd, samp, samp, samp, strong, strong, strong, var, var, varMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec.Preformatted
pre, pre
-
Method Details
-
$name
name of the value- Parameters:
cdata- the content of the element.- Returns:
- the current element builder
-
$value
sent to server when submitted- Parameters:
cdata- the content of the element.- Returns:
- the current element builder
-
$type
for use as form button- Parameters:
type- button type.- Returns:
- the current element builder
-
$disabled
HamletSpec.BUTTON $disabled()unavailable in this context- Returns:
- the current element builder
-
$tabindex
position in tabbing order- Parameters:
index- the index- Returns:
- the current element builder
-
$accesskey
accessibility key character- Parameters:
cdata- the content of the element.- 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
-