|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.yarn.webapp.hamlet.HamletImpl.EImp<T>
org.apache.hadoop.yarn.webapp.hamlet.Hamlet.FORM<T>
public class Hamlet.FORM<T extends HamletSpec._>
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 |
---|
public Hamlet.FORM(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
Method Detail |
---|
public Hamlet.FORM<T> $name(String value)
HamletSpec.FORM
$name
in interface HamletSpec.FORM
public Hamlet.FORM<T> $accept(String value)
HamletSpec.FORM
$accept
in interface HamletSpec.FORM
public Hamlet.FORM<T> $action(String value)
HamletSpec.FORM
$action
in interface HamletSpec.FORM
public Hamlet.FORM<T> $method(HamletSpec.Method value)
HamletSpec.FORM
$method
in interface HamletSpec.FORM
public Hamlet.FORM<T> $enctype(String value)
HamletSpec.FORM
$enctype
in interface HamletSpec.FORM
public Hamlet.FORM<T> $onsubmit(String value)
HamletSpec.FORM
$onsubmit
in interface HamletSpec.FORM
public Hamlet.FORM<T> $onreset(String value)
HamletSpec.FORM
$onreset
in interface HamletSpec.FORM
public Hamlet.FORM<T> $accept_charset(String value)
HamletSpec.FORM
$accept_charset
in interface HamletSpec.FORM
public Hamlet.FORM<T> $id(String value)
HamletSpec.CoreAttrs
$id
in interface HamletSpec.CoreAttrs
value
- the id
public Hamlet.FORM<T> $class(String value)
HamletSpec.CoreAttrs
$class
in interface HamletSpec.CoreAttrs
value
- the classes
public Hamlet.FORM<T> $title(String value)
HamletSpec.CoreAttrs
$title
in interface HamletSpec.CoreAttrs
value
- the title
public Hamlet.FORM<T> $style(String value)
HamletSpec.CoreAttrs
$style
in interface HamletSpec.CoreAttrs
value
- the style
public Hamlet.FORM<T> $lang(String value)
HamletSpec.I18nAttrs
$lang
in interface HamletSpec.I18nAttrs
value
- the code
public Hamlet.FORM<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir
in interface HamletSpec.I18nAttrs
value
- the HamletSpec.Dir
value
public Hamlet.FORM<T> $onclick(String value)
HamletSpec.EventsAttrs
$onclick
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.FORM<T> $ondblclick(String value)
HamletSpec.EventsAttrs
$ondblclick
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.FORM<T> $onmousedown(String value)
HamletSpec.EventsAttrs
$onmousedown
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.FORM<T> $onmouseup(String value)
HamletSpec.EventsAttrs
$onmouseup
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.FORM<T> $onmouseover(String value)
HamletSpec.EventsAttrs
$onmouseover
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.FORM<T> $onmousemove(String value)
HamletSpec.EventsAttrs
$onmousemove
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.FORM<T> $onmouseout(String value)
HamletSpec.EventsAttrs
$onmouseout
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.FORM<T> $onkeypress(String value)
HamletSpec.EventsAttrs
$onkeypress
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.FORM<T> $onkeydown(String value)
HamletSpec.EventsAttrs
$onkeydown
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.FORM<T> $onkeyup(String value)
HamletSpec.EventsAttrs
$onkeyup
in interface HamletSpec.EventsAttrs
value
- the script
public Hamlet.SCRIPT<Hamlet.FORM<T>> script()
HamletSpec._Script
script
in interface HamletSpec._Script
public Hamlet.FORM<T> script(String src)
HamletSpec._Script
script
in interface HamletSpec._Script
src
- uri of the script
public Hamlet.TABLE<Hamlet.FORM<T>> table()
HamletSpec._Block
table
in interface HamletSpec._Block
public Hamlet.TABLE<Hamlet.FORM<T>> table(String selector)
HamletSpec._Block
table
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*
public Hamlet.FORM<T> address(String cdata)
HamletSpec._Block
address
in interface HamletSpec._Block
cdata
- the content
public Hamlet.ADDRESS<Hamlet.FORM<T>> address()
HamletSpec._Block
address
in interface HamletSpec._Block
public Hamlet.P<Hamlet.FORM<T>> p(String selector)
HamletSpec._Block
p
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*
public Hamlet.P<Hamlet.FORM<T>> p()
HamletSpec._Block
p
in interface HamletSpec._Block
public Hamlet.FORM<T> _(Class<? extends SubView> cls)
HamletSpec._Block
_
in interface HamletSpec._Block
cls
- the sub-view class
public Hamlet.HR<Hamlet.FORM<T>> hr()
HamletSpec._Block
hr
in interface HamletSpec._Block
public Hamlet.FORM<T> hr(String selector)
HamletSpec._Block
hr
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*
public Hamlet.DL<Hamlet.FORM<T>> dl(String selector)
HamletSpec._Block
dl
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*
public Hamlet.DL<Hamlet.FORM<T>> dl()
HamletSpec._Block
dl
in interface HamletSpec._Block
public Hamlet.DIV<Hamlet.FORM<T>> div(String selector)
HamletSpec._Block
div
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*
public Hamlet.DIV<Hamlet.FORM<T>> div()
HamletSpec._Block
div
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet.FORM<T>> blockquote()
HamletSpec._Block
blockquote
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet.FORM<T>> bq()
HamletSpec._Block
bq
in interface HamletSpec._Block
public Hamlet.FORM<T> h1(String cdata)
HamletSpec.Heading
h1
in interface HamletSpec.Heading
cdata
- the content of the element
public Hamlet.H1<Hamlet.FORM<T>> h1()
HamletSpec.Heading
h1
in interface HamletSpec.Heading
public Hamlet.FORM<T> h1(String selector, String cdata)
HamletSpec.Heading
h1
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the element
public Hamlet.FORM<T> h2(String cdata)
HamletSpec.Heading
h2
in interface HamletSpec.Heading
cdata
- the content of the element
public Hamlet.H2<Hamlet.FORM<T>> h2()
HamletSpec.Heading
h2
in interface HamletSpec.Heading
public Hamlet.FORM<T> h2(String selector, String cdata)
HamletSpec.Heading
h2
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the element
public Hamlet.H3<Hamlet.FORM<T>> h3()
HamletSpec.Heading
h3
in interface HamletSpec.Heading
public Hamlet.FORM<T> h3(String cdata)
HamletSpec.Heading
h3
in interface HamletSpec.Heading
cdata
- the content of the element
public Hamlet.FORM<T> h3(String selector, String cdata)
HamletSpec.Heading
h3
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the element
public Hamlet.H4<Hamlet.FORM<T>> h4()
HamletSpec.Heading
h4
in interface HamletSpec.Heading
public Hamlet.FORM<T> h4(String cdata)
HamletSpec.Heading
h4
in interface HamletSpec.Heading
cdata
- the content of the element
public Hamlet.FORM<T> h4(String selector, String cdata)
HamletSpec.Heading
h4
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the element
public Hamlet.H5<Hamlet.FORM<T>> h5()
HamletSpec.Heading
h5
in interface HamletSpec.Heading
public Hamlet.FORM<T> h5(String cdata)
HamletSpec.Heading
h5
in interface HamletSpec.Heading
cdata
- the content of the element
public Hamlet.FORM<T> h5(String selector, String cdata)
HamletSpec.Heading
h5
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the element
public Hamlet.H6<Hamlet.FORM<T>> h6()
HamletSpec.Heading
h6
in interface HamletSpec.Heading
public Hamlet.FORM<T> h6(String cdata)
HamletSpec.Heading
h6
in interface HamletSpec.Heading
cdata
- the content of the element
public Hamlet.FORM<T> h6(String selector, String cdata)
HamletSpec.Heading
h6
in interface HamletSpec.Heading
selector
- the css selector in the form of (#id)?(.class)*cdata
- the content of the element
public Hamlet.UL<Hamlet.FORM<T>> ul()
HamletSpec.Listing
ul
in interface HamletSpec.Listing
public Hamlet.UL<Hamlet.FORM<T>> ul(String selector)
HamletSpec.Listing
ul
in interface HamletSpec.Listing
selector
- the css selector in the form of (#id)?(.class)*
public Hamlet.OL<Hamlet.FORM<T>> ol()
HamletSpec.Listing
ol
in interface HamletSpec.Listing
public Hamlet.OL<Hamlet.FORM<T>> ol(String selector)
HamletSpec.Listing
ol
in interface HamletSpec.Listing
selector
- the css selector in the form of (#id)?(.class)*
public Hamlet.PRE<Hamlet.FORM<T>> pre()
HamletSpec.Preformatted
pre
in interface HamletSpec.Preformatted
public Hamlet.PRE<Hamlet.FORM<T>> pre(String selector)
HamletSpec.Preformatted
pre
in interface HamletSpec.Preformatted
selector
- the css selector in the form of (#id)?(.class)*
public Hamlet.FIELDSET<Hamlet.FORM<T>> fieldset()
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
public Hamlet.FIELDSET<Hamlet.FORM<T>> fieldset(String selector)
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
selector
- the css selector in the form of (#id)*(.class)*
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |