Class Hamlet.OPTION<T extends HamletSpec.__>
java.lang.Object
org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.EImp<T>
org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.OPTION<T>
- All Implemented Interfaces:
HamletSpec.__,HamletSpec._Child,HamletSpec._Content,HamletSpec._RawContent,HamletSpec.Attrs,HamletSpec.CoreAttrs,HamletSpec.EventsAttrs,HamletSpec.I18nAttrs,HamletSpec.OPTION,HamletSpec.PCData
- Enclosing class:
- Hamlet
public class Hamlet.OPTION<T extends HamletSpec.__>
extends HamletImpl.EImp<T>
implements HamletSpec.OPTION
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionContent of the elementRaw (no need to be HTML escaped) contentspace-separated list of classes$dir(HamletSpec.Dir value) direction for weak/neutral textunavailable in this contextdocument-wide unique idfor use in hierarchical menuslanguage codea pointer button was clicked$ondblclick(String value) a pointer button was double clicked$onkeydown(String value) a key was pressed down$onkeypress(String value) a key was pressed and releaseda key was released$onmousedown(String value) a pointer button was pressed down$onmousemove(String value) a pointer was moved within$onmouseout(String value) a pointer was moved away$onmouseover(String value) a pointer was moved onto$onmouseup(String value) a pointer button was releasedcurrently selected optionassociated style infoadvisory titledefaults to element contentMethods inherited from class org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.EImp
__, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.hadoop.yarn.webapp.hamlet2.HamletSpec._Child
__
-
Constructor Details
-
OPTION
-
-
Method Details
-
$value
Description copied from interface:HamletSpec.OPTIONdefaults to element content- Specified by:
$valuein interfaceHamletSpec.OPTION- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$disabled
Description copied from interface:HamletSpec.OPTIONunavailable in this context- Specified by:
$disabledin interfaceHamletSpec.OPTION- Returns:
- the current element builder
-
$selected
Description copied from interface:HamletSpec.OPTIONcurrently selected option- Specified by:
$selectedin interfaceHamletSpec.OPTION- Returns:
- the current element builder
-
$label
Description copied from interface:HamletSpec.OPTIONfor use in hierarchical menus- Specified by:
$labelin interfaceHamletSpec.OPTION- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$id
Description copied from interface:HamletSpec.CoreAttrsdocument-wide unique id- Specified by:
$idin interfaceHamletSpec.CoreAttrs- Parameters:
value- the id- Returns:
- the current element builder
-
$class
Description copied from interface:HamletSpec.CoreAttrsspace-separated list of classes- Specified by:
$classin interfaceHamletSpec.CoreAttrs- Parameters:
value- the classes- Returns:
- the current element builder
-
$title
Description copied from interface:HamletSpec.CoreAttrsadvisory title- Specified by:
$titlein interfaceHamletSpec.CoreAttrs- Parameters:
value- the title- Returns:
- the current element builder
-
$style
Description copied from interface:HamletSpec.CoreAttrsassociated style info- Specified by:
$stylein interfaceHamletSpec.CoreAttrs- Parameters:
value- the style- Returns:
- the current element builder
-
$lang
Description copied from interface:HamletSpec.I18nAttrslanguage code- Specified by:
$langin interfaceHamletSpec.I18nAttrs- Parameters:
value- the code- Returns:
- the current element builder
-
$dir
Description copied from interface:HamletSpec.I18nAttrsdirection for weak/neutral text- Specified by:
$dirin interfaceHamletSpec.I18nAttrs- Parameters:
value- theHamletSpec.Dirvalue- Returns:
- the current element builder
-
$onclick
Description copied from interface:HamletSpec.EventsAttrsa pointer button was clicked- Specified by:
$onclickin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$ondblclick
Description copied from interface:HamletSpec.EventsAttrsa pointer button was double clicked- Specified by:
$ondblclickin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmousedown
Description copied from interface:HamletSpec.EventsAttrsa pointer button was pressed down- Specified by:
$onmousedownin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmouseup
Description copied from interface:HamletSpec.EventsAttrsa pointer button was released- Specified by:
$onmouseupin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmouseover
Description copied from interface:HamletSpec.EventsAttrsa pointer was moved onto- Specified by:
$onmouseoverin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmousemove
Description copied from interface:HamletSpec.EventsAttrsa pointer was moved within- Specified by:
$onmousemovein interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onmouseout
Description copied from interface:HamletSpec.EventsAttrsa pointer was moved away- Specified by:
$onmouseoutin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onkeypress
Description copied from interface:HamletSpec.EventsAttrsa key was pressed and released- Specified by:
$onkeypressin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onkeydown
Description copied from interface:HamletSpec.EventsAttrsa key was pressed down- Specified by:
$onkeydownin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
$onkeyup
Description copied from interface:HamletSpec.EventsAttrsa key was released- Specified by:
$onkeyupin interfaceHamletSpec.EventsAttrs- Parameters:
value- the script- Returns:
- the current element builder
-
__
Description copied from interface:HamletSpec._ContentContent of the element- Specified by:
__in interfaceHamletSpec._Content- Parameters:
lines- of content- Returns:
- the current element builder
-
_r
Description copied from interface:HamletSpec._RawContentRaw (no need to be HTML escaped) content- Specified by:
_rin interfaceHamletSpec._RawContent- Parameters:
lines- of content- Returns:
- the current element builder
-