@Bean(typeName="style") public class Style extends HtmlElementRawText
Constructor and Description |
---|
Style() |
Modifier and Type | Method and Description |
---|---|
Style |
_class(String _class)
class attribute.
|
Style |
id(String id)
id attribute.
|
Style |
media(String media)
media attribute.
|
Style |
style(String style)
style attribute.
|
Style |
text(Object text)
Sets the text node on this element.
|
Style |
type(String type)
type attribute.
|
getText, setText
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 Style()
public final Style media(String media)
Applicable media.
media
- The new value for this attribute.public final Style type(String type)
Type of embedded resource.
type
- The new value for this attribute.public final Style _class(String _class)
HtmlElement
_class
in class HtmlElement
_class
- The new value for this attribute.public final Style style(String style)
HtmlElement
style
in class HtmlElement
style
- The new value for this attribute.public final Style id(String id)
HtmlElement
id
in class HtmlElement
id
- The new value for this attribute.public final Style text(Object text)
HtmlElementRawText
text
in class HtmlElementRawText
text
- The text node to add to this element.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.