org.apache.hadoop.yarn.webapp.hamlet
Class Hamlet.AREA<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.AREA<T>
All Implemented Interfaces:
HamletSpec._, HamletSpec._Child, HamletSpec.AREA, HamletSpec.Attrs, HamletSpec.CoreAttrs, HamletSpec.EventsAttrs, HamletSpec.I18nAttrs
Enclosing class:
Hamlet

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


Constructor Summary
Hamlet.AREA(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
           
 
Method Summary
 Hamlet.AREA<T> $accesskey(String value)
          accessibility key character
 Hamlet.AREA<T> $alt(String value)
          short description
 Hamlet.AREA<T> $class(String value)
          space-separated list of classes
 Hamlet.AREA<T> $coords(String value)
          comma-separated list of lengths
 Hamlet.AREA<T> $dir(HamletSpec.Dir value)
          direction for weak/neutral text
 Hamlet.AREA<T> $href(String value)
          URI for linked resource
 Hamlet.AREA<T> $id(String value)
          document-wide unique id
 Hamlet.AREA<T> $lang(String value)
          language code
 Hamlet.AREA<T> $onblur(String value)
          the element lost the focus
 Hamlet.AREA<T> $onclick(String value)
          a pointer button was clicked
 Hamlet.AREA<T> $ondblclick(String value)
          a pointer button was double clicked
 Hamlet.AREA<T> $onfocus(String value)
          the element got the focus
 Hamlet.AREA<T> $onkeydown(String value)
          a key was pressed down
 Hamlet.AREA<T> $onkeypress(String value)
          a key was pressed and released
 Hamlet.AREA<T> $onkeyup(String value)
          a key was released
 Hamlet.AREA<T> $onmousedown(String value)
          a pointer button was pressed down
 Hamlet.AREA<T> $onmousemove(String value)
          a pointer was moved within
 Hamlet.AREA<T> $onmouseout(String value)
          a pointer was moved away
 Hamlet.AREA<T> $onmouseover(String value)
          a pointer was moved onto
 Hamlet.AREA<T> $onmouseup(String value)
          a pointer button was released
 Hamlet.AREA<T> $shape(HamletSpec.Shape value)
          controls interpretation of coords
 Hamlet.AREA<T> $style(String value)
          associated style info
 Hamlet.AREA<T> $tabindex(int value)
          position in tabbing order
 Hamlet.AREA<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.AREA

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

$href

public Hamlet.AREA<T> $href(String value)
Description copied from interface: HamletSpec.AREA
URI for linked resource

Specified by:
$href in interface HamletSpec.AREA
Parameters:
value - the URI
Returns:
the current element builder

$tabindex

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

Specified by:
$tabindex in interface HamletSpec.AREA
Parameters:
value - of the order
Returns:
the current element builder

$accesskey

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

Specified by:
$accesskey in interface HamletSpec.AREA
Parameters:
value - the key
Returns:
the current element builder

$onfocus

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

Specified by:
$onfocus in interface HamletSpec.AREA
Parameters:
value - to invoke
Returns:
the current element builder

$onblur

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

Specified by:
$onblur in interface HamletSpec.AREA
Parameters:
value - to invoke
Returns:
the current element builder

$alt

public Hamlet.AREA<T> $alt(String value)
Description copied from interface: HamletSpec.AREA
short description

Specified by:
$alt in interface HamletSpec.AREA
Parameters:
value - the description
Returns:
the current element builder

$shape

public Hamlet.AREA<T> $shape(HamletSpec.Shape value)
Description copied from interface: HamletSpec.AREA
controls interpretation of coords

Specified by:
$shape in interface HamletSpec.AREA
Parameters:
value - of the area
Returns:
the current element builder

$coords

public Hamlet.AREA<T> $coords(String value)
Description copied from interface: HamletSpec.AREA
comma-separated list of lengths

Specified by:
$coords in interface HamletSpec.AREA
Parameters:
value - coords of the area
Returns:
the current element builder

$id

public Hamlet.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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.AREA<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


Copyright © 2014 Apache Software Foundation. All Rights Reserved.