public class Hamlet.MAP<T extends HamletSpec.__> extends HamletImpl.EImp<T> implements HamletSpec.MAP
Constructor and Description |
---|
MAP(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
Modifier and Type | Method and Description |
---|---|
Hamlet.MAP<T> |
__(Class<? extends SubView> cls)
Embed a sub-view.
|
Hamlet.MAP<T> |
$class(String value)
space-separated list of classes
|
Hamlet.MAP<T> |
$dir(HamletSpec.Dir value)
direction for weak/neutral text
|
Hamlet.MAP<T> |
$id(String value)
document-wide unique id
|
Hamlet.MAP<T> |
$lang(String value)
language code
|
Hamlet.MAP<T> |
$name(String value)
for reference by usemap
|
Hamlet.MAP<T> |
$onclick(String value)
a pointer button was clicked
|
Hamlet.MAP<T> |
$ondblclick(String value)
a pointer button was double clicked
|
Hamlet.MAP<T> |
$onkeydown(String value)
a key was pressed down
|
Hamlet.MAP<T> |
$onkeypress(String value)
a key was pressed and released
|
Hamlet.MAP<T> |
$onkeyup(String value)
a key was released
|
Hamlet.MAP<T> |
$onmousedown(String value)
a pointer button was pressed down
|
Hamlet.MAP<T> |
$onmousemove(String value)
a pointer was moved within
|
Hamlet.MAP<T> |
$onmouseout(String value)
a pointer was moved away
|
Hamlet.MAP<T> |
$onmouseover(String value)
a pointer was moved onto
|
Hamlet.MAP<T> |
$onmouseup(String value)
a pointer button was released
|
Hamlet.MAP<T> |
$style(String value)
associated style info
|
Hamlet.MAP<T> |
$title(String value)
advisory title
|
Hamlet.ADDRESS<Hamlet.MAP<T>> |
address()
Add a ADDRESS element.
|
Hamlet.MAP<T> |
address(String cdata)
Add a complete ADDRESS element.
|
Hamlet.AREA<Hamlet.MAP<T>> |
area()
Add a AREA element.
|
Hamlet.AREA<Hamlet.MAP<T>> |
area(String selector)
Add a AREA element.
|
Hamlet.BLOCKQUOTE<Hamlet.MAP<T>> |
blockquote()
Add a BLOCKQUOTE element.
|
Hamlet.BLOCKQUOTE<Hamlet.MAP<T>> |
bq()
Alias of blockquote
|
Hamlet.DIV<Hamlet.MAP<T>> |
div()
Add a DIV element.
|
Hamlet.DIV<Hamlet.MAP<T>> |
div(String selector)
Add a DIV element.
|
Hamlet.DL<Hamlet.MAP<T>> |
dl()
Add a DL (description list) element.
|
Hamlet.DL<Hamlet.MAP<T>> |
dl(String selector)
Add a DL element.
|
Hamlet.FIELDSET<Hamlet.MAP<T>> |
fieldset()
Add a FIELDSET element.
|
Hamlet.FIELDSET<Hamlet.MAP<T>> |
fieldset(String selector)
Add a FIELDSET element.
|
Hamlet.FORM<Hamlet.MAP<T>> |
form()
Add a FORM element.
|
Hamlet.FORM<Hamlet.MAP<T>> |
form(String selector)
Add a FORM element.
|
Hamlet.H1<Hamlet.MAP<T>> |
h1()
Add an H1 element.
|
Hamlet.MAP<T> |
h1(String cdata)
Add a complete H1 element.
|
Hamlet.MAP<T> |
h1(String selector,
String cdata)
Add a complete H1 element
|
Hamlet.H2<Hamlet.MAP<T>> |
h2()
Add an H2 element.
|
Hamlet.MAP<T> |
h2(String cdata)
Add a complete H2 element.
|
Hamlet.MAP<T> |
h2(String selector,
String cdata)
Add a complete H1 element
|
Hamlet.H3<Hamlet.MAP<T>> |
h3()
Add an H3 element.
|
Hamlet.MAP<T> |
h3(String cdata)
Add a complete H3 element.
|
Hamlet.MAP<T> |
h3(String selector,
String cdata)
Add a complete H1 element
|
Hamlet.H4<Hamlet.MAP<T>> |
h4()
Add an H4 element.
|
Hamlet.MAP<T> |
h4(String cdata)
Add a complete H4 element.
|
Hamlet.MAP<T> |
h4(String selector,
String cdata)
Add a complete H4 element
|
Hamlet.H5<Hamlet.MAP<T>> |
h5()
Add an H5 element.
|
Hamlet.MAP<T> |
h5(String cdata)
Add a complete H5 element.
|
Hamlet.MAP<T> |
h5(String selector,
String cdata)
Add a complete H5 element
|
Hamlet.H6<Hamlet.MAP<T>> |
h6()
Add an H6 element.
|
Hamlet.MAP<T> |
h6(String cdata)
Add a complete H6 element.
|
Hamlet.MAP<T> |
h6(String selector,
String cdata)
Add a complete H6 element.
|
Hamlet.HR<Hamlet.MAP<T>> |
hr()
Add a HR (horizontal rule) element.
|
Hamlet.MAP<T> |
hr(String selector)
Add a HR element.
|
Hamlet.OL<Hamlet.MAP<T>> |
ol()
Add a OL (ordered list) element.
|
Hamlet.OL<Hamlet.MAP<T>> |
ol(String selector)
Add a OL (ordered list) element.
|
Hamlet.P<Hamlet.MAP<T>> |
p()
Add a P (paragraph) element.
|
Hamlet.P<Hamlet.MAP<T>> |
p(String selector)
Add a P (paragraph) element.
|
Hamlet.PRE<Hamlet.MAP<T>> |
pre()
Add a PRE (preformatted) element.
|
Hamlet.PRE<Hamlet.MAP<T>> |
pre(String selector)
Add a PRE (preformatted) element.
|
Hamlet.TABLE<Hamlet.MAP<T>> |
table()
Add a TABLE element.
|
Hamlet.TABLE<Hamlet.MAP<T>> |
table(String selector)
Add a TABLE element.
|
Hamlet.UL<Hamlet.MAP<T>> |
ul()
Add a UL (unordered list) element.
|
Hamlet.UL<Hamlet.MAP<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 MAP(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
public Hamlet.MAP<T> $name(String value)
HamletSpec.MAP
$name
in interface HamletSpec.MAP
value
- of the mappublic Hamlet.AREA<Hamlet.MAP<T>> area()
HamletSpec.MAP
area
in interface HamletSpec.MAP
public Hamlet.AREA<Hamlet.MAP<T>> area(String selector)
HamletSpec.MAP
area
in interface HamletSpec.MAP
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.MAP<T> $id(String value)
HamletSpec.CoreAttrs
$id
in interface HamletSpec.CoreAttrs
value
- the idpublic Hamlet.MAP<T> $class(String value)
HamletSpec.CoreAttrs
$class
in interface HamletSpec.CoreAttrs
value
- the classespublic Hamlet.MAP<T> $title(String value)
HamletSpec.CoreAttrs
$title
in interface HamletSpec.CoreAttrs
value
- the titlepublic Hamlet.MAP<T> $style(String value)
HamletSpec.CoreAttrs
$style
in interface HamletSpec.CoreAttrs
value
- the stylepublic Hamlet.MAP<T> $lang(String value)
HamletSpec.I18nAttrs
$lang
in interface HamletSpec.I18nAttrs
value
- the codepublic Hamlet.MAP<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir
in interface HamletSpec.I18nAttrs
value
- the HamletSpec.Dir
valuepublic Hamlet.MAP<T> $onclick(String value)
HamletSpec.EventsAttrs
$onclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.MAP<T> $ondblclick(String value)
HamletSpec.EventsAttrs
$ondblclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.MAP<T> $onmousedown(String value)
HamletSpec.EventsAttrs
$onmousedown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.MAP<T> $onmouseup(String value)
HamletSpec.EventsAttrs
$onmouseup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.MAP<T> $onmouseover(String value)
HamletSpec.EventsAttrs
$onmouseover
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.MAP<T> $onmousemove(String value)
HamletSpec.EventsAttrs
$onmousemove
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.MAP<T> $onmouseout(String value)
HamletSpec.EventsAttrs
$onmouseout
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.MAP<T> $onkeypress(String value)
HamletSpec.EventsAttrs
$onkeypress
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.MAP<T> $onkeydown(String value)
HamletSpec.EventsAttrs
$onkeydown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.MAP<T> $onkeyup(String value)
HamletSpec.EventsAttrs
$onkeyup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.TABLE<Hamlet.MAP<T>> table()
HamletSpec._Block
table
in interface HamletSpec._Block
public Hamlet.TABLE<Hamlet.MAP<T>> table(String selector)
HamletSpec._Block
table
in interface HamletSpec._Block
selector
- the css selector in the form of (#id)*(.class)*public Hamlet.MAP<T> address(String cdata)
HamletSpec._Block
address
in interface HamletSpec._Block
cdata
- the contentpublic Hamlet.ADDRESS<Hamlet.MAP<T>> address()
HamletSpec._Block
address
in interface HamletSpec._Block
public Hamlet.P<Hamlet.MAP<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.MAP<T>> p()
HamletSpec._Block
p
in interface HamletSpec._Block
public Hamlet.MAP<T> __(Class<? extends SubView> cls)
HamletSpec._Block
__
in interface HamletSpec._Block
cls
- the sub-view classpublic Hamlet.HR<Hamlet.MAP<T>> hr()
HamletSpec._Block
hr
in interface HamletSpec._Block
public Hamlet.MAP<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.MAP<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.MAP<T>> dl()
HamletSpec._Block
dl
in interface HamletSpec._Block
public Hamlet.DIV<Hamlet.MAP<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.MAP<T>> div()
HamletSpec._Block
div
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet.MAP<T>> blockquote()
HamletSpec._Block
blockquote
in interface HamletSpec._Block
public Hamlet.BLOCKQUOTE<Hamlet.MAP<T>> bq()
HamletSpec._Block
bq
in interface HamletSpec._Block
public Hamlet.MAP<T> h1(String cdata)
HamletSpec.Heading
h1
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.H1<Hamlet.MAP<T>> h1()
HamletSpec.Heading
h1
in interface HamletSpec.Heading
public Hamlet.MAP<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.MAP<T> h2(String cdata)
HamletSpec.Heading
h2
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.H2<Hamlet.MAP<T>> h2()
HamletSpec.Heading
h2
in interface HamletSpec.Heading
public Hamlet.MAP<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.MAP<T>> h3()
HamletSpec.Heading
h3
in interface HamletSpec.Heading
public Hamlet.MAP<T> h3(String cdata)
HamletSpec.Heading
h3
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.MAP<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.MAP<T>> h4()
HamletSpec.Heading
h4
in interface HamletSpec.Heading
public Hamlet.MAP<T> h4(String cdata)
HamletSpec.Heading
h4
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.MAP<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.MAP<T>> h5()
HamletSpec.Heading
h5
in interface HamletSpec.Heading
public Hamlet.MAP<T> h5(String cdata)
HamletSpec.Heading
h5
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.MAP<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.MAP<T>> h6()
HamletSpec.Heading
h6
in interface HamletSpec.Heading
public Hamlet.MAP<T> h6(String cdata)
HamletSpec.Heading
h6
in interface HamletSpec.Heading
cdata
- the content of the elementpublic Hamlet.MAP<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.MAP<T>> ul()
HamletSpec.Listing
ul
in interface HamletSpec.Listing
public Hamlet.UL<Hamlet.MAP<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.MAP<T>> ol()
HamletSpec.Listing
ol
in interface HamletSpec.Listing
public Hamlet.OL<Hamlet.MAP<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.MAP<T>> pre()
HamletSpec.Preformatted
pre
in interface HamletSpec.Preformatted
public Hamlet.PRE<Hamlet.MAP<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.MAP<T>> form()
HamletSpec._Form
form
in interface HamletSpec._Form
public Hamlet.FORM<Hamlet.MAP<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.MAP<T>> fieldset()
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
public Hamlet.FIELDSET<Hamlet.MAP<T>> fieldset(String selector)
HamletSpec._FieldSet
fieldset
in interface HamletSpec._FieldSet
selector
- the css selector in the form of (#id)*(.class)*Copyright © 2008–2024 Apache Software Foundation. All rights reserved.