org.apache.hadoop.yarn.webapp.hamlet
Class Hamlet.TEXTAREA<T extends HamletSpec._>

java.lang.Object
  extended by org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp<T>
      extended by org.apache.hadoop.yarn.webapp.hamlet.Hamlet.TEXTAREA<T>
All Implemented Interfaces:
HamletSpec._, HamletSpec._Child, HamletSpec._Content, HamletSpec._RawContent, HamletSpec.Attrs, HamletSpec.CoreAttrs, HamletSpec.EventsAttrs, HamletSpec.I18nAttrs, HamletSpec.PCData, HamletSpec.TEXTAREA
Enclosing class:
Hamlet

public class Hamlet.TEXTAREA<T extends HamletSpec._>
extends HamletImpl.EImp<T>
implements HamletSpec.TEXTAREA


Constructor Summary
Hamlet.TEXTAREA(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
           
 
Method Summary
 Hamlet.TEXTAREA<T> _(Object... lines)
          Content of the element
 Hamlet.TEXTAREA<T> _r(Object... lines)
          Raw (no need to be HTML escaped) content
 Hamlet.TEXTAREA<T> $accesskey(String value)
          accessibility key character
 Hamlet.TEXTAREA<T> $class(String value)
          space-separated list of classes
 Hamlet.TEXTAREA<T> $cols(int value)
          visible columns
 Hamlet.TEXTAREA<T> $dir(HamletSpec.Dir value)
          direction for weak/neutral text
 Hamlet.TEXTAREA<T> $disabled()
          unavailable in this context
 Hamlet.TEXTAREA<T> $id(String value)
          document-wide unique id
 Hamlet.TEXTAREA<T> $lang(String value)
          language code
 Hamlet.TEXTAREA<T> $name(String value)
          variable name for the text
 Hamlet.TEXTAREA<T> $onblur(String value)
          the element lost the focus
 Hamlet.TEXTAREA<T> $onchange(String value)
          the element value was changed
 Hamlet.TEXTAREA<T> $onclick(String value)
          a pointer button was clicked
 Hamlet.TEXTAREA<T> $ondblclick(String value)
          a pointer button was double clicked
 Hamlet.TEXTAREA<T> $onfocus(String value)
          the element got the focus
 Hamlet.TEXTAREA<T> $onkeydown(String value)
          a key was pressed down
 Hamlet.TEXTAREA<T> $onkeypress(String value)
          a key was pressed and released
 Hamlet.TEXTAREA<T> $onkeyup(String value)
          a key was released
 Hamlet.TEXTAREA<T> $onmousedown(String value)
          a pointer button was pressed down
 Hamlet.TEXTAREA<T> $onmousemove(String value)
          a pointer was moved within
 Hamlet.TEXTAREA<T> $onmouseout(String value)
          a pointer was moved away
 Hamlet.TEXTAREA<T> $onmouseover(String value)
          a pointer was moved onto
 Hamlet.TEXTAREA<T> $onmouseup(String value)
          a pointer button was released
 Hamlet.TEXTAREA<T> $onselect(String value)
          some text was selected
 Hamlet.TEXTAREA<T> $readonly()
          text is readonly
 Hamlet.TEXTAREA<T> $rows(int value)
          visible rows
 Hamlet.TEXTAREA<T> $style(String value)
          associated style info
 Hamlet.TEXTAREA<T> $tabindex(int value)
          position in tabbing order
 Hamlet.TEXTAREA<T> $title(String value)
          advisory title
 
Methods inherited from class org.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.yarn.webapp.hamlet.HamletSpec._Child
_
 

Constructor Detail

Hamlet.TEXTAREA

public Hamlet.TEXTAREA(String name,
                       T parent,
                       EnumSet<HamletImpl.EOpt> opts)
Method Detail

$name

public Hamlet.TEXTAREA<T> $name(String value)
Description copied from interface: HamletSpec.TEXTAREA
variable name for the text

Specified by:
$name in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$disabled

public Hamlet.TEXTAREA<T> $disabled()
Description copied from interface: HamletSpec.TEXTAREA
unavailable in this context

Specified by:
$disabled in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$tabindex

public Hamlet.TEXTAREA<T> $tabindex(int value)
Description copied from interface: HamletSpec.TEXTAREA
position in tabbing order

Specified by:
$tabindex in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$accesskey

public Hamlet.TEXTAREA<T> $accesskey(String value)
Description copied from interface: HamletSpec.TEXTAREA
accessibility key character

Specified by:
$accesskey in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$onfocus

public Hamlet.TEXTAREA<T> $onfocus(String value)
Description copied from interface: HamletSpec.TEXTAREA
the element got the focus

Specified by:
$onfocus in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$onblur

public Hamlet.TEXTAREA<T> $onblur(String value)
Description copied from interface: HamletSpec.TEXTAREA
the element lost the focus

Specified by:
$onblur in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$rows

public Hamlet.TEXTAREA<T> $rows(int value)
Description copied from interface: HamletSpec.TEXTAREA
visible rows

Specified by:
$rows in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$cols

public Hamlet.TEXTAREA<T> $cols(int value)
Description copied from interface: HamletSpec.TEXTAREA
visible columns

Specified by:
$cols in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$readonly

public Hamlet.TEXTAREA<T> $readonly()
Description copied from interface: HamletSpec.TEXTAREA
text is readonly

Specified by:
$readonly in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$onselect

public Hamlet.TEXTAREA<T> $onselect(String value)
Description copied from interface: HamletSpec.TEXTAREA
some text was selected

Specified by:
$onselect in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$onchange

public Hamlet.TEXTAREA<T> $onchange(String value)
Description copied from interface: HamletSpec.TEXTAREA
the element value was changed

Specified by:
$onchange in interface HamletSpec.TEXTAREA
Returns:
the current element builder

$id

public Hamlet.TEXTAREA<T> $id(String value)
Description copied from interface: HamletSpec.CoreAttrs
document-wide unique id

Specified by:
$id in interface HamletSpec.CoreAttrs
Parameters:
value - the id
Returns:
the current element builder

$class

public Hamlet.TEXTAREA<T> $class(String value)
Description copied from interface: HamletSpec.CoreAttrs
space-separated list of classes

Specified by:
$class in interface HamletSpec.CoreAttrs
Parameters:
value - the classes
Returns:
the current element builder

$title

public Hamlet.TEXTAREA<T> $title(String value)
Description copied from interface: HamletSpec.CoreAttrs
advisory title

Specified by:
$title in interface HamletSpec.CoreAttrs
Parameters:
value - the title
Returns:
the current element builder

$style

public Hamlet.TEXTAREA<T> $style(String value)
Description copied from interface: HamletSpec.CoreAttrs
associated style info

Specified by:
$style in interface HamletSpec.CoreAttrs
Parameters:
value - the style
Returns:
the current element builder

$lang

public Hamlet.TEXTAREA<T> $lang(String value)
Description copied from interface: HamletSpec.I18nAttrs
language code

Specified by:
$lang in interface HamletSpec.I18nAttrs
Parameters:
value - the code
Returns:
the current element builder

$dir

public Hamlet.TEXTAREA<T> $dir(HamletSpec.Dir value)
Description copied from interface: HamletSpec.I18nAttrs
direction for weak/neutral text

Specified by:
$dir in interface HamletSpec.I18nAttrs
Parameters:
value - the HamletSpec.Dir value
Returns:
the current element builder

$onclick

public Hamlet.TEXTAREA<T> $onclick(String value)
Description copied from interface: HamletSpec.EventsAttrs
a pointer button was clicked

Specified by:
$onclick in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

$ondblclick

public Hamlet.TEXTAREA<T> $ondblclick(String value)
Description copied from interface: HamletSpec.EventsAttrs
a pointer button was double clicked

Specified by:
$ondblclick in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

$onmousedown

public Hamlet.TEXTAREA<T> $onmousedown(String value)
Description copied from interface: HamletSpec.EventsAttrs
a pointer button was pressed down

Specified by:
$onmousedown in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

$onmouseup

public Hamlet.TEXTAREA<T> $onmouseup(String value)
Description copied from interface: HamletSpec.EventsAttrs
a pointer button was released

Specified by:
$onmouseup in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

$onmouseover

public Hamlet.TEXTAREA<T> $onmouseover(String value)
Description copied from interface: HamletSpec.EventsAttrs
a pointer was moved onto

Specified by:
$onmouseover in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

$onmousemove

public Hamlet.TEXTAREA<T> $onmousemove(String value)
Description copied from interface: HamletSpec.EventsAttrs
a pointer was moved within

Specified by:
$onmousemove in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

$onmouseout

public Hamlet.TEXTAREA<T> $onmouseout(String value)
Description copied from interface: HamletSpec.EventsAttrs
a pointer was moved away

Specified by:
$onmouseout in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

$onkeypress

public Hamlet.TEXTAREA<T> $onkeypress(String value)
Description copied from interface: HamletSpec.EventsAttrs
a key was pressed and released

Specified by:
$onkeypress in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

$onkeydown

public Hamlet.TEXTAREA<T> $onkeydown(String value)
Description copied from interface: HamletSpec.EventsAttrs
a key was pressed down

Specified by:
$onkeydown in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

$onkeyup

public Hamlet.TEXTAREA<T> $onkeyup(String value)
Description copied from interface: HamletSpec.EventsAttrs
a key was released

Specified by:
$onkeyup in interface HamletSpec.EventsAttrs
Parameters:
value - the script
Returns:
the current element builder

_

public Hamlet.TEXTAREA<T> _(Object... lines)
Description copied from interface: HamletSpec._Content
Content of the element

Specified by:
_ in interface HamletSpec._Content
Parameters:
lines - of content
Returns:
the current element builder

_r

public Hamlet.TEXTAREA<T> _r(Object... lines)
Description copied from interface: HamletSpec._RawContent
Raw (no need to be HTML escaped) content

Specified by:
_r in interface HamletSpec._RawContent
Parameters:
lines - of content
Returns:
the current element builder


Copyright © 2014 Apache Software Foundation. All Rights Reserved.