@Bean(typeName="button") public class Button extends HtmlElementMixed
Constructor and Description |
---|
Button() |
Modifier and Type | Method and Description |
---|---|
Button |
_class(String _class)
class attribute.
|
Button |
autofocus(Object autofocus)
autofocus attribute.
|
Button |
child(Object child)
Adds a child element to this element.
|
Button |
children(Object... children)
Adds one or more child elements to this element.
|
Button |
disabled(Object disabled)
disabled attribute.
|
Button |
form(String form)
form attribute.
|
Button |
formaction(String formaction)
formaction attribute.
|
Button |
formenctype(String formenctype)
formenctype attribute.
|
Button |
formmethod(String formmethod)
formmethod attribute.
|
Button |
formnovalidate(String formnovalidate)
formnovalidate
attribute.
|
Button |
formtarget(String formtarget)
formtarget attribute.
|
Button |
id(String id)
id attribute.
|
Button |
menu(String menu)
menu attribute.
|
Button |
name(String name)
name attribute.
|
Button |
style(String style)
style attribute.
|
Button |
type(String type)
type attribute.
|
Button |
value(Object value)
value attribute.
|
getChild, getChild, getChild, getChildren, setChildren
accesskey, attr, attrUri, contenteditable, deminimize, 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 Button()
public final Button autofocus(Object autofocus)
Automatically focus the form control when the page is loaded.
public final Button disabled(Object disabled)
Whether the form control is disabled.
public final Button form(String form)
Associates the control with a form element.
form
- The new value for this attribute.public final Button formaction(String formaction)
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.
formaction
- The new value for this attribute.public final Button formenctype(String formenctype)
Form data set encoding type to use for form submission.
formenctype
- The new value for this attribute.public final Button formmethod(String formmethod)
HTTP method to use for form submission.
formmethod
- The new value for this attribute.public final Button formnovalidate(String formnovalidate)
Bypass form control validation for form submission.
formnovalidate
- The new value for this attribute.public final Button formtarget(String formtarget)
Browsing context for form submission.
formtarget
- The new value for this attribute.public final Button menu(String menu)
Specifies the element's designated pop-up menu.
menu
- The new value for this attribute.public final Button name(String name)
Name of form control to use for form submission and in the form.elements API.
name
- The new value for this attribute.public final Button type(String type)
Type of button.
type
- The new value for this attribute.public final Button value(Object value)
Value to be used for form submission.
public final Button _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final Button id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public final Button style(String style)
HtmlElement
style
in class HtmlElement
style
- The new value for this attribute.public Button 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 Button 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 © 2016–2020 The Apache Software Foundation. All rights reserved.