Class Hamlet.INPUT<T extends HamletSpec.__>
java.lang.Object
org.apache.hadoop.yarn.webapp.hamlet2.HamletImpl.EImp<T>
org.apache.hadoop.yarn.webapp.hamlet2.Hamlet.INPUT<T>
- All Implemented Interfaces:
HamletSpec.__,HamletSpec._Child,HamletSpec.Attrs,HamletSpec.CoreAttrs,HamletSpec.EventsAttrs,HamletSpec.I18nAttrs,HamletSpec.INPUT
- Enclosing class:
- Hamlet
public class Hamlet.INPUT<T extends HamletSpec.__>
extends HamletImpl.EImp<T>
implements HamletSpec.INPUT
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlist of MIME types for file upload (csv)$accesskey(String value) accessibility key charactershort description$checked()for radio buttons and check boxesspace-separated list of classes$dir(HamletSpec.Dir value) direction for weak/neutral textunavailable in this contextdocument-wide unique id$ismap()use server-side image maplanguage code$maxlength(int value) max chars for text fieldssubmit as part of formthe element lost the focusthe element value was changeda pointer button was clicked$ondblclick(String value) a pointer button was double clickedthe element got the focus$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 releasedsome text was selectedfor text and passwdspecific to each type of fieldfor fields with imagesassociated style info$tabindex(int value) position in tabbing orderadvisory title$type(HamletSpec.InputType value) what kind of widget is needed. default is "text".Specify for radio buttons and checkboxesMethods 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
-
INPUT
-
-
Method Details
-
$type
Description copied from interface:HamletSpec.INPUTwhat kind of widget is needed. default is "text".- Specified by:
$typein interfaceHamletSpec.INPUT- Parameters:
value- input value.- Returns:
- the current element builder
-
$src
Description copied from interface:HamletSpec.INPUTfor fields with images- Specified by:
$srcin interfaceHamletSpec.INPUT- Parameters:
value- the URI.- Returns:
- the current element builder
-
$name
Description copied from interface:HamletSpec.INPUTsubmit as part of form- Specified by:
$namein interfaceHamletSpec.INPUT- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$value
Description copied from interface:HamletSpec.INPUTSpecify for radio buttons and checkboxes- Specified by:
$valuein interfaceHamletSpec.INPUT- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$disabled
Description copied from interface:HamletSpec.INPUTunavailable in this context- Specified by:
$disabledin interfaceHamletSpec.INPUT- Returns:
- the current element builder
-
$tabindex
Description copied from interface:HamletSpec.INPUTposition in tabbing order- Specified by:
$tabindexin interfaceHamletSpec.INPUT- Parameters:
value- the index- Returns:
- the current element builder
-
$accesskey
Description copied from interface:HamletSpec.INPUTaccessibility key character- Specified by:
$accesskeyin interfaceHamletSpec.INPUT- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$onfocus
Description copied from interface:HamletSpec.INPUTthe element got the focus- Specified by:
$onfocusin interfaceHamletSpec.INPUT- Parameters:
value- to invoke.- Returns:
- the current element builder
-
$onblur
Description copied from interface:HamletSpec.INPUTthe element lost the focus- Specified by:
$onblurin interfaceHamletSpec.INPUT- Parameters:
value- to invoke.- Returns:
- the current element builder
-
$readonly
Description copied from interface:HamletSpec.INPUTfor text and passwd- Specified by:
$readonlyin interfaceHamletSpec.INPUT- Returns:
- the current element builder
-
$onselect
Description copied from interface:HamletSpec.INPUTsome text was selected- Specified by:
$onselectin interfaceHamletSpec.INPUT- Parameters:
value- to invoke.- Returns:
- the current element builder
-
$onchange
Description copied from interface:HamletSpec.INPUTthe element value was changed- Specified by:
$onchangein interfaceHamletSpec.INPUT- Parameters:
value- to invoke.- Returns:
- the current element builder
-
$size
Description copied from interface:HamletSpec.INPUTspecific to each type of field- Specified by:
$sizein interfaceHamletSpec.INPUT- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$checked
Description copied from interface:HamletSpec.INPUTfor radio buttons and check boxes- Specified by:
$checkedin interfaceHamletSpec.INPUT- Returns:
- the current element builder
-
$maxlength
Description copied from interface:HamletSpec.INPUTmax chars for text fields- Specified by:
$maxlengthin interfaceHamletSpec.INPUT- Parameters:
value- max chars length.- Returns:
- the current element builder
-
$alt
Description copied from interface:HamletSpec.INPUTshort description- Specified by:
$altin interfaceHamletSpec.INPUT- Parameters:
value- the content of the element.- Returns:
- the current element builder
-
$ismap
Description copied from interface:HamletSpec.INPUTuse server-side image map- Specified by:
$ismapin interfaceHamletSpec.INPUT- Returns:
- the current element builder
-
$accept
Description copied from interface:HamletSpec.INPUTlist of MIME types for file upload (csv)- Specified by:
$acceptin interfaceHamletSpec.INPUT- Parameters:
value- content types.- 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
-