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

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


Constructor Summary
Hamlet.FORM(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
           
 
Method Summary
 Hamlet.FORM<T> _(Class<? extends SubView> cls)
          Embed a sub-view.
 Hamlet.FORM<T> $accept_charset(String value)
          (space and/or comma separated) list of supported charsets
 Hamlet.FORM<T> $accept(String value)
          list of MIME types for file upload
 Hamlet.FORM<T> $action(String value)
          server-side form handler
 Hamlet.FORM<T> $class(String value)
          space-separated list of classes
 Hamlet.FORM<T> $dir(HamletSpec.Dir value)
          direction for weak/neutral text
 Hamlet.FORM<T> $enctype(String value)
          contentype for "POST" method.
 Hamlet.FORM<T> $id(String value)
          document-wide unique id
 Hamlet.FORM<T> $lang(String value)
          language code
 Hamlet.FORM<T> $method(HamletSpec.Method value)
          HTTP method used to submit the form
 Hamlet.FORM<T> $name(String value)
          name of form for scripting
 Hamlet.FORM<T> $onclick(String value)
          a pointer button was clicked
 Hamlet.FORM<T> $ondblclick(String value)
          a pointer button was double clicked
 Hamlet.FORM<T> $onkeydown(String value)
          a key was pressed down
 Hamlet.FORM<T> $onkeypress(String value)
          a key was pressed and released
 Hamlet.FORM<T> $onkeyup(String value)
          a key was released
 Hamlet.FORM<T> $onmousedown(String value)
          a pointer button was pressed down
 Hamlet.FORM<T> $onmousemove(String value)
          a pointer was moved within
 Hamlet.FORM<T> $onmouseout(String value)
          a pointer was moved away
 Hamlet.FORM<T> $onmouseover(String value)
          a pointer was moved onto
 Hamlet.FORM<T> $onmouseup(String value)
          a pointer button was released
 Hamlet.FORM<T> $onreset(String value)
          the form was reset
 Hamlet.FORM<T> $onsubmit(String value)
          the form was submitted
 Hamlet.FORM<T> $style(String value)
          associated style info
 Hamlet.FORM<T> $title(String value)
          advisory title
 Hamlet.ADDRESS<Hamlet.FORM<T>> address()
          Add a ADDRESS element.
 Hamlet.FORM<T> address(String cdata)
          Add a complete ADDRESS element.
 Hamlet.BLOCKQUOTE<Hamlet.FORM<T>> blockquote()
          Add a BLOCKQUOTE element.
 Hamlet.BLOCKQUOTE<Hamlet.FORM<T>> bq()
          Alias of blockquote
 Hamlet.DIV<Hamlet.FORM<T>> div()
          Add a DIV element.
 Hamlet.DIV<Hamlet.FORM<T>> div(String selector)
          Add a DIV element.
 Hamlet.DL<Hamlet.FORM<T>> dl()
          Add a DL (description list) element.
 Hamlet.DL<Hamlet.FORM<T>> dl(String selector)
          Add a DL element.
 Hamlet.FIELDSET<Hamlet.FORM<T>> fieldset()
          Add a FIELDSET element.
 Hamlet.FIELDSET<Hamlet.FORM<T>> fieldset(String selector)
          Add a FIELDSET element.
 Hamlet.H1<Hamlet.FORM<T>> h1()
          Add an H1 element.
 Hamlet.FORM<T> h1(String cdata)
          Add a complete H1 element.
 Hamlet.FORM<T> h1(String selector, String cdata)
          Add a complete H1 element
 Hamlet.H2<Hamlet.FORM<T>> h2()
          Add an H2 element.
 Hamlet.FORM<T> h2(String cdata)
          Add a complete H2 element.
 Hamlet.FORM<T> h2(String selector, String cdata)
          Add a complete H1 element
 Hamlet.H3<Hamlet.FORM<T>> h3()
          Add an H3 element.
 Hamlet.FORM<T> h3(String cdata)
          Add a complete H3 element.
 Hamlet.FORM<T> h3(String selector, String cdata)
          Add a complete H1 element
 Hamlet.H4<Hamlet.FORM<T>> h4()
          Add an H4 element.
 Hamlet.FORM<T> h4(String cdata)
          Add a complete H4 element.
 Hamlet.FORM<T> h4(String selector, String cdata)
          Add a complete H4 element
 Hamlet.H5<Hamlet.FORM<T>> h5()
          Add an H5 element.
 Hamlet.FORM<T> h5(String cdata)
          Add a complete H5 element.
 Hamlet.FORM<T> h5(String selector, String cdata)
          Add a complete H5 element
 Hamlet.H6<Hamlet.FORM<T>> h6()
          Add an H6 element.
 Hamlet.FORM<T> h6(String cdata)
          Add a complete H6 element.
 Hamlet.FORM<T> h6(String selector, String cdata)
          Add a complete H6 element.
 Hamlet.HR<Hamlet.FORM<T>> hr()
          Add a HR (horizontal rule) element.
 Hamlet.FORM<T> hr(String selector)
          Add a HR element.
 Hamlet.OL<Hamlet.FORM<T>> ol()
          Add a OL (ordered list) element.
 Hamlet.OL<Hamlet.FORM<T>> ol(String selector)
          Add a OL (ordered list) element.
 Hamlet.P<Hamlet.FORM<T>> p()
          Add a P (paragraph) element.
 Hamlet.P<Hamlet.FORM<T>> p(String selector)
          Add a P (paragraph) element.
 Hamlet.PRE<Hamlet.FORM<T>> pre()
          Add a PRE (preformatted) element.
 Hamlet.PRE<Hamlet.FORM<T>> pre(String selector)
          Add a PRE (preformatted) element.
 Hamlet.SCRIPT<Hamlet.FORM<T>> script()
          Add a script element.
 Hamlet.FORM<T> script(String src)
          Add a script element
 Hamlet.TABLE<Hamlet.FORM<T>> table()
          Add a TABLE element.
 Hamlet.TABLE<Hamlet.FORM<T>> table(String selector)
          Add a TABLE element.
 Hamlet.UL<Hamlet.FORM<T>> ul()
          Add a UL (unordered list) element.
 Hamlet.UL<Hamlet.FORM<T>> ul(String selector)
          Add a UL (unordered list) element.
 
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.FORM

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

$name

public Hamlet.FORM<T> $name(String value)
Description copied from interface: HamletSpec.FORM
name of form for scripting

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

$accept

public Hamlet.FORM<T> $accept(String value)
Description copied from interface: HamletSpec.FORM
list of MIME types for file upload

Specified by:
$accept in interface HamletSpec.FORM
Returns:
the current element builder

$action

public Hamlet.FORM<T> $action(String value)
Description copied from interface: HamletSpec.FORM
server-side form handler

Specified by:
$action in interface HamletSpec.FORM
Returns:
the current element builder

$method

public Hamlet.FORM<T> $method(HamletSpec.Method value)
Description copied from interface: HamletSpec.FORM
HTTP method used to submit the form

Specified by:
$method in interface HamletSpec.FORM
Returns:
the current element builder

$enctype

public Hamlet.FORM<T> $enctype(String value)
Description copied from interface: HamletSpec.FORM
contentype for "POST" method. The default is "application/x-www-form-urlencoded". Use "multipart/form-data" for input type=file

Specified by:
$enctype in interface HamletSpec.FORM
Returns:
the current element builder

$onsubmit

public Hamlet.FORM<T> $onsubmit(String value)
Description copied from interface: HamletSpec.FORM
the form was submitted

Specified by:
$onsubmit in interface HamletSpec.FORM
Returns:
the current element builder

$onreset

public Hamlet.FORM<T> $onreset(String value)
Description copied from interface: HamletSpec.FORM
the form was reset

Specified by:
$onreset in interface HamletSpec.FORM
Returns:
the current element builder

$accept_charset

public Hamlet.FORM<T> $accept_charset(String value)
Description copied from interface: HamletSpec.FORM
(space and/or comma separated) list of supported charsets

Specified by:
$accept_charset in interface HamletSpec.FORM
Returns:
the current element builder

$id

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

script

public Hamlet.SCRIPT<Hamlet.FORM<T>> script()
Description copied from interface: HamletSpec._Script
Add a script element.

Specified by:
script in interface HamletSpec._Script
Returns:
a script element builder

script

public Hamlet.FORM<T> script(String src)
Description copied from interface: HamletSpec._Script
Add a script element

Specified by:
script in interface HamletSpec._Script
Parameters:
src - uri of the script
Returns:
the current element builder

table

public Hamlet.TABLE<Hamlet.FORM<T>> table()
Description copied from interface: HamletSpec._Block
Add a TABLE element.

Specified by:
table in interface HamletSpec._Block
Returns:
a new TABLE element builder

table

public Hamlet.TABLE<Hamlet.FORM<T>> table(String selector)
Description copied from interface: HamletSpec._Block
Add a TABLE element.

Specified by:
table in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new TABLE element builder

address

public Hamlet.FORM<T> address(String cdata)
Description copied from interface: HamletSpec._Block
Add a complete ADDRESS element.

Specified by:
address in interface HamletSpec._Block
Parameters:
cdata - the content
Returns:
the current element builder

address

public Hamlet.ADDRESS<Hamlet.FORM<T>> address()
Description copied from interface: HamletSpec._Block
Add a ADDRESS element.

Specified by:
address in interface HamletSpec._Block
Returns:
a new ADDRESS element builder

p

public Hamlet.P<Hamlet.FORM<T>> p(String selector)
Description copied from interface: HamletSpec._Block
Add a P (paragraph) element.

Specified by:
p in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new P element builder

p

public Hamlet.P<Hamlet.FORM<T>> p()
Description copied from interface: HamletSpec._Block
Add a P (paragraph) element.

Specified by:
p in interface HamletSpec._Block
Returns:
a new P element builder

_

public Hamlet.FORM<T> _(Class<? extends SubView> cls)
Description copied from interface: HamletSpec._Block
Embed a sub-view.

Specified by:
_ in interface HamletSpec._Block
Parameters:
cls - the sub-view class
Returns:
the current element builder

hr

public Hamlet.HR<Hamlet.FORM<T>> hr()
Description copied from interface: HamletSpec._Block
Add a HR (horizontal rule) element.

Specified by:
hr in interface HamletSpec._Block
Returns:
a new HR element builder

hr

public Hamlet.FORM<T> hr(String selector)
Description copied from interface: HamletSpec._Block
Add a HR element.

Specified by:
hr in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new HR element builder

dl

public Hamlet.DL<Hamlet.FORM<T>> dl(String selector)
Description copied from interface: HamletSpec._Block
Add a DL element.

Specified by:
dl in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new DL element builder

dl

public Hamlet.DL<Hamlet.FORM<T>> dl()
Description copied from interface: HamletSpec._Block
Add a DL (description list) element.

Specified by:
dl in interface HamletSpec._Block
Returns:
a new DL element builder

div

public Hamlet.DIV<Hamlet.FORM<T>> div(String selector)
Description copied from interface: HamletSpec._Block
Add a DIV element.

Specified by:
div in interface HamletSpec._Block
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new DIV element builder

div

public Hamlet.DIV<Hamlet.FORM<T>> div()
Description copied from interface: HamletSpec._Block
Add a DIV element.

Specified by:
div in interface HamletSpec._Block
Returns:
a new DIV element builder

blockquote

public Hamlet.BLOCKQUOTE<Hamlet.FORM<T>> blockquote()
Description copied from interface: HamletSpec._Block
Add a BLOCKQUOTE element.

Specified by:
blockquote in interface HamletSpec._Block
Returns:
a new BLOCKQUOTE element builder

bq

public Hamlet.BLOCKQUOTE<Hamlet.FORM<T>> bq()
Description copied from interface: HamletSpec._Block
Alias of blockquote

Specified by:
bq in interface HamletSpec._Block
Returns:
a new BLOCKQUOTE element builder

h1

public Hamlet.FORM<T> h1(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H1 element.

Specified by:
h1 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h1

public Hamlet.H1<Hamlet.FORM<T>> h1()
Description copied from interface: HamletSpec.Heading
Add an H1 element.

Specified by:
h1 in interface HamletSpec.Heading
Returns:
a new H1 element builder

h1

public Hamlet.FORM<T> h1(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H1 element

Specified by:
h1 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h2

public Hamlet.FORM<T> h2(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H2 element.

Specified by:
h2 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h2

public Hamlet.H2<Hamlet.FORM<T>> h2()
Description copied from interface: HamletSpec.Heading
Add an H2 element.

Specified by:
h2 in interface HamletSpec.Heading
Returns:
a new H2 element builder

h2

public Hamlet.FORM<T> h2(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H1 element

Specified by:
h2 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h3

public Hamlet.H3<Hamlet.FORM<T>> h3()
Description copied from interface: HamletSpec.Heading
Add an H3 element.

Specified by:
h3 in interface HamletSpec.Heading
Returns:
a new H3 element builder

h3

public Hamlet.FORM<T> h3(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H3 element.

Specified by:
h3 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h3

public Hamlet.FORM<T> h3(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H1 element

Specified by:
h3 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h4

public Hamlet.H4<Hamlet.FORM<T>> h4()
Description copied from interface: HamletSpec.Heading
Add an H4 element.

Specified by:
h4 in interface HamletSpec.Heading
Returns:
a new H4 element builder

h4

public Hamlet.FORM<T> h4(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H4 element.

Specified by:
h4 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h4

public Hamlet.FORM<T> h4(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H4 element

Specified by:
h4 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h5

public Hamlet.H5<Hamlet.FORM<T>> h5()
Description copied from interface: HamletSpec.Heading
Add an H5 element.

Specified by:
h5 in interface HamletSpec.Heading
Returns:
a new H5 element builder

h5

public Hamlet.FORM<T> h5(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H5 element.

Specified by:
h5 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h5

public Hamlet.FORM<T> h5(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H5 element

Specified by:
h5 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

h6

public Hamlet.H6<Hamlet.FORM<T>> h6()
Description copied from interface: HamletSpec.Heading
Add an H6 element.

Specified by:
h6 in interface HamletSpec.Heading
Returns:
a new H6 element builder

h6

public Hamlet.FORM<T> h6(String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H6 element.

Specified by:
h6 in interface HamletSpec.Heading
Parameters:
cdata - the content of the element
Returns:
the current element builder

h6

public Hamlet.FORM<T> h6(String selector,
                         String cdata)
Description copied from interface: HamletSpec.Heading
Add a complete H6 element.

Specified by:
h6 in interface HamletSpec.Heading
Parameters:
selector - the css selector in the form of (#id)?(.class)*
cdata - the content of the element
Returns:
the current element builder

ul

public Hamlet.UL<Hamlet.FORM<T>> ul()
Description copied from interface: HamletSpec.Listing
Add a UL (unordered list) element.

Specified by:
ul in interface HamletSpec.Listing
Returns:
a new UL element builder

ul

public Hamlet.UL<Hamlet.FORM<T>> ul(String selector)
Description copied from interface: HamletSpec.Listing
Add a UL (unordered list) element.

Specified by:
ul in interface HamletSpec.Listing
Parameters:
selector - the css selector in the form of (#id)?(.class)*
Returns:
a new UL element builder

ol

public Hamlet.OL<Hamlet.FORM<T>> ol()
Description copied from interface: HamletSpec.Listing
Add a OL (ordered list) element.

Specified by:
ol in interface HamletSpec.Listing
Returns:
a new UL element builder

ol

public Hamlet.OL<Hamlet.FORM<T>> ol(String selector)
Description copied from interface: HamletSpec.Listing
Add a OL (ordered list) element.

Specified by:
ol in interface HamletSpec.Listing
Parameters:
selector - the css selector in the form of (#id)?(.class)*
Returns:
a new UL element builder

pre

public Hamlet.PRE<Hamlet.FORM<T>> pre()
Description copied from interface: HamletSpec.Preformatted
Add a PRE (preformatted) element.

Specified by:
pre in interface HamletSpec.Preformatted
Returns:
a new PRE element builder

pre

public Hamlet.PRE<Hamlet.FORM<T>> pre(String selector)
Description copied from interface: HamletSpec.Preformatted
Add a PRE (preformatted) element.

Specified by:
pre in interface HamletSpec.Preformatted
Parameters:
selector - the css selector in the form of (#id)?(.class)*
Returns:
a new PRE element builder

fieldset

public Hamlet.FIELDSET<Hamlet.FORM<T>> fieldset()
Description copied from interface: HamletSpec._FieldSet
Add a FIELDSET element.

Specified by:
fieldset in interface HamletSpec._FieldSet
Returns:
a new FIELDSET element builder

fieldset

public Hamlet.FIELDSET<Hamlet.FORM<T>> fieldset(String selector)
Description copied from interface: HamletSpec._FieldSet
Add a FIELDSET element.

Specified by:
fieldset in interface HamletSpec._FieldSet
Parameters:
selector - the css selector in the form of (#id)*(.class)*
Returns:
a new FIELDSET element builder


Copyright © 2013 Apache Software Foundation. All Rights Reserved.