public class Hamlet.BODY<T extends HamletSpec._> extends HamletImpl.EImp<T> implements HamletSpec.BODY
Constructor and Description |
---|
BODY(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
Modifier and Type | Method and Description |
---|---|
Hamlet.BODY<T> |
_(Class<? extends SubView> cls)
Embed a sub-view.
|
Hamlet.BODY<T> |
$class(String value)
space-separated list of classes
|
Hamlet.BODY<T> |
$dir(HamletSpec.Dir value)
direction for weak/neutral text
|
Hamlet.BODY<T> |
$id(String value)
document-wide unique id
|
Hamlet.BODY<T> |
$lang(String value)
language code
|
Hamlet.BODY<T> |
$onclick(String value)
a pointer button was clicked
|
Hamlet.BODY<T> |
$ondblclick(String value)
a pointer button was double clicked
|
Hamlet.BODY<T> |
$onkeydown(String value)
a key was pressed down
|
Hamlet.BODY<T> |
$onkeypress(String value)
a key was pressed and released
|
Hamlet.BODY<T> |
$onkeyup(String value)
a key was released
|
Hamlet.BODY<T> |
$onload(String value)
The document has been loaded.
|
Hamlet.BODY<T> |
$onmousedown(String value)
a pointer button was pressed down
|
Hamlet.BODY<T> |
$onmousemove(String value)
a pointer was moved within
|
Hamlet.BODY<T> |
$onmouseout(String value)
a pointer was moved away
|
Hamlet.BODY<T> |
$onmouseover(String value)
a pointer was moved onto
|
Hamlet.BODY<T> |
$onmouseup(String value)
a pointer button was released
|
Hamlet.BODY<T> |
$onunload(String value)
The document has been removed
|
Hamlet.BODY<T> |
$style(String value)
associated style info
|
Hamlet.BODY<T> |
$title(String value)
advisory title
|
Hamlet.ADDRESS<Hamlet.BODY<T>> |
address()
Add a ADDRESS element.
|
Hamlet.BODY<T> |
address(String cdata)
Add a complete ADDRESS element.
|
Hamlet.BLOCKQUOTE<Hamlet.BODY<T>> |
blockquote()
Add a BLOCKQUOTE element.
|
Hamlet.BLOCKQUOTE<Hamlet.BODY<T>> |
bq()
Alias of blockquote
|
Hamlet.DEL<Hamlet.BODY<T>> |
del()
Add a DEL (delete) element.
|
Hamlet.BODY<T> |
del(String cdata)
Add a complete DEL element.
|
Hamlet.DIV<Hamlet.BODY<T>> |
div()
Add a DIV element.
|
Hamlet.DIV<Hamlet.BODY<T>> |
div(String selector)
Add a DIV element.
|
Hamlet.DL<Hamlet.BODY<T>> |
dl()
Add a DL (description list) element.
|
Hamlet.DL<Hamlet.BODY<T>> |
dl(String selector)
Add a DL element.
|
Hamlet.FIELDSET<Hamlet.BODY<T>> |
fieldset()
Add a FIELDSET element.
|
Hamlet.FIELDSET<Hamlet.BODY<T>> |
fieldset(String selector)
Add a FIELDSET element.
|
Hamlet.FORM<Hamlet.BODY<T>> |
form()
Add a FORM element.
|
Hamlet.FORM<Hamlet.BODY<T>> |
form(String selector)
Add a FORM element.
|
Hamlet.H1<Hamlet.BODY<T>> |
h1()
Add an H1 element.
|
Hamlet.BODY<T> |
h1(String cdata)
Add a complete H1 element.
|
Hamlet.BODY<T> |
h1(String selector,
String cdata)
Add a complete H1 element
|
Hamlet.H2<Hamlet.BODY<T>> |
h2()
Add an H2 element.
|
Hamlet.BODY<T> |
h2(String cdata)
Add a complete H2 element.
|
Hamlet.BODY<T> |
h2(String selector,
String cdata)
Add a complete H1 element
|
Hamlet.H3<Hamlet.BODY<T>> |
h3()
Add an H3 element.
|
Hamlet.BODY<T> |
h3(String cdata)
Add a complete H3 element.
|
Hamlet.BODY<T> |
h3(String selector,
String cdata)
Add a complete H1 element
|
Hamlet.H4<Hamlet.BODY<T>> |
h4()
Add an H4 element.
|
Hamlet.BODY<T> |
h4(String cdata)
Add a complete H4 element.
|
Hamlet.BODY<T> |
h4(String selector,
String cdata)
Add a complete H4 element
|
Hamlet.H5<Hamlet.BODY<T>> |
h5()
Add an H5 element.
|
Hamlet.BODY<T> |
h5(String cdata)
Add a complete H5 element.
|
Hamlet.BODY<T> |
h5(String selector,
String cdata)
Add a complete H5 element
|
Hamlet.H6<Hamlet.BODY<T>> |
h6()
Add an H6 element.
|
Hamlet.BODY<T> |
h6(String cdata)
Add a complete H6 element.
|
Hamlet.BODY<T> |
h6(String selector,
String cdata)
Add a complete H6 element.
|
Hamlet.HR<Hamlet.BODY<T>> |
hr()
Add a HR (horizontal rule) element.
|
Hamlet.BODY<T> |
hr(String selector)
Add a HR element.
|
Hamlet.INS<Hamlet.BODY<T>> |
ins()
Add an INS (insert) element.
|
Hamlet.BODY<T> |
ins(String cdata)
Add a complete INS element.
|
Hamlet.OL<Hamlet.BODY<T>> |
ol()
Add a OL (ordered list) element.
|
Hamlet.OL<Hamlet.BODY<T>> |
ol(String selector)
Add a OL (ordered list) element.
|
Hamlet.P<Hamlet.BODY<T>> |
p()
Add a P (paragraph) element.
|
Hamlet.P<Hamlet.BODY<T>> |
p(String selector)
Add a P (paragraph) element.
|
Hamlet.PRE<Hamlet.BODY<T>> |
pre()
Add a PRE (preformatted) element.
|
Hamlet.PRE<Hamlet.BODY<T>> |
pre(String selector)
Add a PRE (preformatted) element.
|
Hamlet.SCRIPT<Hamlet.BODY<T>> |
script()
Add a script element.
|
Hamlet.BODY<T> |
script(String src)
Add a script element
|
Hamlet.TABLE<Hamlet.BODY<T>> |
table()
Add a TABLE element.
|
Hamlet.TABLE<Hamlet.BODY<T>> |
table(String selector)
Add a TABLE element.
|
Hamlet.UL<Hamlet.BODY<T>> |
ul()
Add a UL (unordered list) element.
|
Hamlet.UL<Hamlet.BODY<T>> |
ul(String selector)
Add a UL (unordered list) element.
|
_, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_
public BODY(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.BODY<T> $onload(String value)
HamletSpec.BODY
$onload
in interface HamletSpec.BODY
value
- to invokepublic Hamlet.BODY<T> $onunload(String value)
HamletSpec.BODY
$onunload
in interface HamletSpec.BODY
value
- to invokepublic Hamlet.BODY<T> $id(String value)
HamletSpec.CoreAttrs
$id
in interface HamletSpec.CoreAttrs
value
- the idpublic Hamlet.BODY<T> $class(String value)
HamletSpec.CoreAttrs
$class
in interface HamletSpec.CoreAttrs
value
- the classespublic Hamlet.BODY<T> $title(String value)
HamletSpec.CoreAttrs
$title
in interface HamletSpec.CoreAttrs
value
- the titlepublic Hamlet.BODY<T> $style(String value)
HamletSpec.CoreAttrs
$style
in interface HamletSpec.CoreAttrs
value
- the stylepublic Hamlet.BODY<T> $lang(String value)
HamletSpec.I18nAttrs
$lang
in interface HamletSpec.I18nAttrs
value
- the codepublic Hamlet.BODY<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir
in interface HamletSpec.I18nAttrs
value
- the HamletSpec.Dir
valuepublic Hamlet.BODY<T> $onclick(String value)
HamletSpec.EventsAttrs
$onclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.BODY<T> $ondblclick(String value)
HamletSpec.EventsAttrs
$ondblclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.BODY<T> $onmousedown(String value)
HamletSpec.EventsAttrs
$onmousedown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.BODY<T> $onmouseup(String value)
HamletSpec.EventsAttrs
$onmouseup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.BODY<T> $onmouseover(String value)
HamletSpec.EventsAttrs
$onmouseover
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.BODY<T> $onmousemove(String value)
HamletSpec.EventsAttrs
$onmousemove
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.BODY<T> $onmouseout(String value)
HamletSpec.EventsAttrs
$onmouseout
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.BODY<T> $onkeypress(String value)
HamletSpec.EventsAttrs
$onkeypress
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.BODY<T> $onkeydown(String value)
HamletSpec.EventsAttrs
$onkeydown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.BODY<T> $onkeyup(String value)
HamletSpec.EventsAttrs
$onkeyup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.TABLE<Hamlet.BODY<T>> table()
HamletSpec._Block
table
in interface HamletSpec._Block
public Hamlet.TABLE<Hamlet.BODY<T>> table(String selector)
HamletSpec._Block
table
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.BODY<T> address(String cdata)
HamletSpec._Block
address
in interface HamletSpec._Block
cdata
- the contentpublic Hamlet.ADDRESS<Hamlet.BODY<T>> address()
HamletSpec._Block
address
in interface HamletSpec._Block
public Hamlet.P<Hamlet.BODY<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.BODY<T>> p()
HamletSpec._Block
p
in interface HamletSpec._Block
public Hamlet.BODY<T> _(Class<? extends SubView> cls)
HamletSpec._Block
_
in interface HamletSpec._Block
cls
- the sub-view classpublic Hamlet.HR<Hamlet.BODY<T>> hr()
HamletSpec._Block
hr
in interface HamletSpec._Block
public Hamlet.BODY<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.BODY<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.BODY<T>> dl()
HamletSpec._Block
dl
in interface HamletSpec._Block
public Hamlet.DIV<Hamlet.BODY<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.BODY<T>> div()
HamletSpec._Block
div
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet.BODY<T>> blockquote()
HamletSpec._Block
blockquote
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet.BODY<T>> bq()
HamletSpec._Block
bq
in interface HamletSpec._Block
public Hamlet.BODY<T> h1(String cdata)
HamletSpec.Heading
h1
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.H1<Hamlet.BODY<T>> h1()
HamletSpec.Heading
h1
in interface HamletSpec.Heading
public Hamlet.BODY<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 elementpublic Hamlet.BODY<T> h2(String cdata)
HamletSpec.Heading
h2
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.H2<Hamlet.BODY<T>> h2()
HamletSpec.Heading
h2
in interface HamletSpec.Heading
public Hamlet.BODY<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 elementpublic Hamlet.H3<Hamlet.BODY<T>> h3()
HamletSpec.Heading
h3
in interface HamletSpec.Heading
public Hamlet.BODY<T> h3(String cdata)
HamletSpec.Heading
h3
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.BODY<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 elementpublic Hamlet.H4<Hamlet.BODY<T>> h4()
HamletSpec.Heading
h4
in interface HamletSpec.Heading
public Hamlet.BODY<T> h4(String cdata)
HamletSpec.Heading
h4
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.BODY<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 elementpublic Hamlet.H5<Hamlet.BODY<T>> h5()
HamletSpec.Heading
h5
in interface HamletSpec.Heading
public Hamlet.BODY<T> h5(String cdata)
HamletSpec.Heading
h5
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.BODY<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 elementpublic Hamlet.H6<Hamlet.BODY<T>> h6()
HamletSpec.Heading
h6
in interface HamletSpec.Heading
public Hamlet.BODY<T> h6(String cdata)
HamletSpec.Heading
h6
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.BODY<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 elementpublic Hamlet.UL<Hamlet.BODY<T>> ul()
HamletSpec.Listing
ul
in interface HamletSpec.Listing
public Hamlet.UL<Hamlet.BODY<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.BODY<T>> ol()
HamletSpec.Listing
ol
in interface HamletSpec.Listing
public Hamlet.OL<Hamlet.BODY<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.BODY<T>> pre()
HamletSpec.Preformatted
pre
in interface HamletSpec.Preformatted
public Hamlet.PRE<Hamlet.BODY<T>> pre(String selector)
HamletSpec.Preformatted
pre
in interface HamletSpec.Preformatted
selector
- the css selector in the form of (#id)?(.class)*public Hamlet.FORM<Hamlet.BODY<T>> form()
HamletSpec._Form
form
in interface HamletSpec._Form
public Hamlet.FORM<Hamlet.BODY<T>> form(String selector)
HamletSpec._Form
form
in interface HamletSpec._Form
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.FIELDSET<Hamlet.BODY<T>> fieldset()
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
public Hamlet.FIELDSET<Hamlet.BODY<T>> fieldset(String selector)
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.SCRIPT<Hamlet.BODY<T>> script()
HamletSpec._Script
script
in interface HamletSpec._Script
public Hamlet.BODY<T> script(String src)
HamletSpec._Script
script
in interface HamletSpec._Script
src
- uri of the scriptpublic Hamlet.INS<Hamlet.BODY<T>> ins()
HamletSpec._InsDel
ins
in interface HamletSpec._InsDel
public Hamlet.BODY<T> ins(String cdata)
HamletSpec._InsDel
ins
in interface HamletSpec._InsDel
cdata
- inserted datapublic Hamlet.DEL<Hamlet.BODY<T>> del()
HamletSpec._InsDel
del
in interface HamletSpec._InsDel
public Hamlet.BODY<T> del(String cdata)
HamletSpec._InsDel
del
in interface HamletSpec._InsDel
cdata
- deleted dataCopyright © 2008–2019 Apache Software Foundation. All rights reserved.