public class Hamlet.FORM<T extends HamletSpec.__> extends HamletImpl.EImp<T> implements HamletSpec.FORM
Constructor and Description |
---|
FORM(String name,
T parent,
EnumSet<HamletImpl.EOpt> opts) |
Modifier and Type | Method and Description |
---|---|
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.
|
__, _endTag, _inline, _p, _pre, _v, addAttr, addAttr, addMediaAttr, addRelAttr, closeAttrs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
__
public FORM(String name, T parent, EnumSet<HamletImpl.EOpt> opts)
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 idpublic Hamlet.FORM<T> $class(String value)
HamletSpec.CoreAttrs
$class
in interface HamletSpec.CoreAttrs
value
- the classespublic Hamlet.FORM<T> $title(String value)
HamletSpec.CoreAttrs
$title
in interface HamletSpec.CoreAttrs
value
- the titlepublic Hamlet.FORM<T> $style(String value)
HamletSpec.CoreAttrs
$style
in interface HamletSpec.CoreAttrs
value
- the stylepublic Hamlet.FORM<T> $lang(String value)
HamletSpec.I18nAttrs
$lang
in interface HamletSpec.I18nAttrs
value
- the codepublic Hamlet.FORM<T> $dir(HamletSpec.Dir value)
HamletSpec.I18nAttrs
$dir
in interface HamletSpec.I18nAttrs
value
- the HamletSpec.Dir
valuepublic Hamlet.FORM<T> $onclick(String value)
HamletSpec.EventsAttrs
$onclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.FORM<T> $ondblclick(String value)
HamletSpec.EventsAttrs
$ondblclick
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.FORM<T> $onmousedown(String value)
HamletSpec.EventsAttrs
$onmousedown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.FORM<T> $onmouseup(String value)
HamletSpec.EventsAttrs
$onmouseup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.FORM<T> $onmouseover(String value)
HamletSpec.EventsAttrs
$onmouseover
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.FORM<T> $onmousemove(String value)
HamletSpec.EventsAttrs
$onmousemove
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.FORM<T> $onmouseout(String value)
HamletSpec.EventsAttrs
$onmouseout
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.FORM<T> $onkeypress(String value)
HamletSpec.EventsAttrs
$onkeypress
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.FORM<T> $onkeydown(String value)
HamletSpec.EventsAttrs
$onkeydown
in interface HamletSpec.EventsAttrs
value
- the scriptpublic Hamlet.FORM<T> $onkeyup(String value)
HamletSpec.EventsAttrs
$onkeyup
in interface HamletSpec.EventsAttrs
value
- the scriptpublic 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 scriptpublic 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 contentpublic 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 classpublic 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 elementpublic 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 elementpublic Hamlet.FORM<T> h2(String cdata)
HamletSpec.Heading
h2
in interface HamletSpec.Heading
cdata
- the content of the elementpublic 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 elementpublic 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 elementpublic 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 elementpublic 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 elementpublic 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 elementpublic 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 elementpublic 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 elementpublic 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 elementpublic 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 elementpublic 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)*Copyright © 2008–2019 Apache Software Foundation. All rights reserved.