@Bean(typeName="form") public class Form extends HtmlElementMixed
Constructor and Description |
---|
Form() |
Modifier and Type | Method and Description |
---|---|
Form |
_class(String _class)
class attribute.
|
Form |
acceptcharset(String acceptcharset)
accept-charset
attribute.
|
Form |
action(String action)
action attribute.
|
Form |
autocomplete(String autocomplete)
autocomplete
attribute.
|
Form |
child(Object child)
Adds a child element to this element.
|
Form |
children(Object... children)
Adds one or more child elements to this element.
|
Form |
enctype(String enctype)
enctype attribute.
|
Form |
id(String id)
id attribute.
|
Form |
method(String method)
method attribute.
|
Form |
name(String name)
name attribute.
|
Form |
novalidate(Boolean novalidate)
novalidate attribute.
|
Form |
style(String style)
style attribute.
|
Form |
target(String target)
target attribute.
|
getChild, getChild, getChild, getChildren, setChildren
accesskey, attr, attrUri, contenteditable, dir, getAttr, getAttr, getAttrs, hidden, lang, onabort, onblur, oncancel, oncanplay, oncanplaythrough, onchange, onclick, oncuechange, ondblclick, ondurationchange, onemptied, onended, onerror, onfocus, oninput, oninvalid, onkeydown, onkeypress, onkeyup, onload, onloadeddata, onloadedmetadata, onloadstart, onmousedown, onmouseenter, onmouseleave, onmousemove, onmouseout, onmouseover, onmouseup, onmousewheel, onpause, onplay, onplaying, onprogress, onratechange, onreset, onresize, onscroll, onseeked, onseeking, onselect, onshow, onstalled, onsubmit, onsuspend, ontimeupdate, ontoggle, onvolumechange, onwaiting, setAttrs, spellcheck, tabindex, title, toString, translate
public Form()
public final Form acceptcharset(String acceptcharset)
Character encodings to use for form submission.
acceptcharset
- The new value for this attribute.public final Form action(String action)
URL to use for form submission.
The value can be of any of the following types: URI
, URL
, String
.
Strings must be valid URIs.
URIs defined by UriResolver
can be used for values.
action
- The new value for this attribute.public final Form autocomplete(String autocomplete)
Default setting for auto-fill feature for controls in the form.
autocomplete
- The new value for this attribute.public final Form enctype(String enctype)
Form data set encoding type to use for form submission.
enctype
- The new value for this attribute.public final Form method(String method)
HTTP method to use for form submission.
method
- The new value for this attribute.public final Form name(String name)
Name of form to use in the document.forms API.
name
- The new value for this attribute.public final Form novalidate(Boolean novalidate)
Bypass form control validation for form submission.
public final Form target(String target)
Browsing context for form submission.
target
- The new value for this attribute.public final Form _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final Form id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public final Form style(String style)
HtmlElement
style
in class HtmlElement
style
- The new value for this attribute.public Form children(Object... children)
HtmlElementMixed
children
in class HtmlElementMixed
children
- The children to add as child elements.
Can be a mixture of strings and HtmlElement
objects.
Can also be containers of strings and elements.public Form child(Object child)
HtmlElementMixed
child
in class HtmlElementMixed
child
- The child to add as a child element.
Can be a string or HtmlElement
.
Can also be a container of strings and elements.Copyright © 2018 Apache. All rights reserved.