@Bean(typeName="label") public class Label extends HtmlElementMixed
Constructor and Description |
---|
Label() |
Modifier and Type | Method and Description |
---|---|
Label |
_class(String _class)
class attribute.
|
Label |
_for(String _for)
for attribute.
|
Label |
child(Object child)
Adds a child element to this element.
|
Label |
children(Object... children)
Adds one or more child elements to this element.
|
Label |
form(String form)
form attribute.
|
Label |
id(String id)
id attribute.
|
Label |
style(String style)
style 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 Label()
public final Label _for(String _for)
Associate the label with form control.
_for
- The new value for this attribute.public final Label form(String form)
Associates the control with a form element.
form
- The new value for this attribute.public final Label _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final Label id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public final Label style(String style)
HtmlElement
style
in class HtmlElement
style
- The new value for this attribute.public Label 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 Label 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.