Package org.apache.juneau.dto.html5
Class Style
java.lang.Object
org.apache.juneau.dto.html5.HtmlElement
org.apache.juneau.dto.html5.HtmlElementRawText
org.apache.juneau.dto.html5.Style
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclass attribute.accesskey attribute.contenteditable(Object contenteditable) contenteditable attribute.dir attribute.hidden attribute.id attribute.lang attribute.final Stylemedia attribute.onabort attribute.onblur attribute.oncancel attribute.oncanplay attribute.oncanplaythrough(String oncanplaythrough) oncanplaythrough attribute.onchange attribute.onclick attribute.oncuechange(String oncuechange) oncuechange attribute.ondblclick(String ondblclick) ondblclick attribute.ondurationchange(String ondurationchange) ondurationchange attribute.onemptied attribute.onended attribute.onerror attribute.onfocus attribute.oninput attribute.oninvalid attribute.onkeydown attribute.onkeypress(String onkeypress) onkeypress attribute.onkeyup attribute.onload attribute.onloadeddata(String onloadeddata) onloadeddata attribute.onloadedmetadata(String onloadedmetadata) onloadedmetadata attribute.onloadstart(String onloadstart) onloadstart attribute.onmousedown(String onmousedown) onmousedown attribute.onmouseenter(String onmouseenter) onmouseenter attribute.onmouseleave(String onmouseleave) onmouseleave attribute.onmousemove(String onmousemove) onmousemove attribute.onmouseout(String onmouseout) onmouseout attribute.onmouseover(String onmouseover) onmouseover attribute.onmouseup attribute.onmousewheel(String onmousewheel) onmousewheel attribute.onpause attribute.onplay attribute.onplaying attribute.onprogress(String onprogress) onprogress attribute.onratechange(String onratechange) onratechange attribute.onreset attribute.onresize attribute.onscroll attribute.onseeked attribute.onseeking attribute.onselect attribute.onshow attribute.onstalled attribute.onsubmit attribute.onsuspend attribute.ontimeupdate(String ontimeupdate) ontimeupdate attribute.ontoggle attribute.onvolumechange(String onvolumechange) onvolumechange attribute.onwaiting attribute.spellcheck(Object spellcheck) spellcheck attribute.style attribute.tabindex attribute.Sets the text node on this element.title attribute.translate attribute.final Styletype attribute.Methods inherited from class org.apache.juneau.dto.html5.HtmlElementRawText
getText, setTextMethods inherited from class org.apache.juneau.dto.html5.HtmlElement
attr, attrUri, deminimize, getAttr, getAttr, getAttrs, setAttrs, toString
-
Constructor Details
-
Style
public Style()Creates an emptyStyleelement. -
Style
Creates aStyleelement with the specifiedtext(Object)node.- Parameters:
text- Thetext(Object)node.
-
Style
Creates aStyleelement with the specified inner text.- Parameters:
text- The contents of the style element.
Values will be concatenated with newlines.
-
-
Method Details
-
media
media attribute.Applicable media.
- Parameters:
media- The new value for this attribute.- Returns:
- This object.
-
type
type attribute.Type of embedded resource.
- Parameters:
type- The new value for this attribute.- Returns:
- This object.
-
_class
Description copied from class:HtmlElementclass attribute.- Overrides:
_classin classHtmlElementRawText- Parameters:
_class- The new value for this attribute.- Returns:
- This object.
-
accesskey
Description copied from class:HtmlElementaccesskey attribute.- Overrides:
accesskeyin classHtmlElementRawText- Parameters:
accesskey- The new value for this attribute.- Returns:
- This object.
-
contenteditable
Description copied from class:HtmlElementcontenteditable attribute.- Overrides:
contenteditablein classHtmlElementRawText- Parameters:
contenteditable- The new value for this attribute. Typically aBooleanorString.- Returns:
- This object.
-
dir
Description copied from class:HtmlElementdir attribute.- Overrides:
dirin classHtmlElementRawText- Parameters:
dir- The new value for this attribute.- Returns:
- This object.
-
id
Description copied from class:HtmlElementid attribute.- Overrides:
idin classHtmlElementRawText- Parameters:
id- The new value for this attribute.- Returns:
- This object.
-
lang
Description copied from class:HtmlElementlang attribute.- Overrides:
langin classHtmlElementRawText- Parameters:
lang- The new value for this attribute.- Returns:
- This object.
-
onabort
Description copied from class:HtmlElementonabort attribute.- Overrides:
onabortin classHtmlElementRawText- Parameters:
onabort- The new value for this attribute.- Returns:
- This object.
-
onblur
Description copied from class:HtmlElementonblur attribute.- Overrides:
onblurin classHtmlElementRawText- Parameters:
onblur- The new value for this attribute.- Returns:
- This object.
-
oncancel
Description copied from class:HtmlElementoncancel attribute.- Overrides:
oncancelin classHtmlElementRawText- Parameters:
oncancel- The new value for this attribute.- Returns:
- This object.
-
oncanplay
Description copied from class:HtmlElementoncanplay attribute.- Overrides:
oncanplayin classHtmlElementRawText- Parameters:
oncanplay- The new value for this attribute.- Returns:
- This object.
-
oncanplaythrough
Description copied from class:HtmlElementoncanplaythrough attribute.- Overrides:
oncanplaythroughin classHtmlElementRawText- Parameters:
oncanplaythrough- The new value for this attribute.- Returns:
- This object.
-
onchange
Description copied from class:HtmlElementonchange attribute.- Overrides:
onchangein classHtmlElementRawText- Parameters:
onchange- The new value for this attribute.- Returns:
- This object.
-
onclick
Description copied from class:HtmlElementonclick attribute.- Overrides:
onclickin classHtmlElementRawText- Parameters:
onclick- The new value for this attribute.- Returns:
- This object.
-
oncuechange
Description copied from class:HtmlElementoncuechange attribute.- Overrides:
oncuechangein classHtmlElementRawText- Parameters:
oncuechange- The new value for this attribute.- Returns:
- This object.
-
ondblclick
Description copied from class:HtmlElementondblclick attribute.- Overrides:
ondblclickin classHtmlElementRawText- Parameters:
ondblclick- The new value for this attribute.- Returns:
- This object.
-
ondurationchange
Description copied from class:HtmlElementondurationchange attribute.- Overrides:
ondurationchangein classHtmlElementRawText- Parameters:
ondurationchange- The new value for this attribute.- Returns:
- This object.
-
onemptied
Description copied from class:HtmlElementonemptied attribute.- Overrides:
onemptiedin classHtmlElementRawText- Parameters:
onemptied- The new value for this attribute.- Returns:
- This object.
-
onended
Description copied from class:HtmlElementonended attribute.- Overrides:
onendedin classHtmlElementRawText- Parameters:
onended- The new value for this attribute.- Returns:
- This object.
-
onerror
Description copied from class:HtmlElementonerror attribute.- Overrides:
onerrorin classHtmlElementRawText- Parameters:
onerror- The new value for this attribute.- Returns:
- This object.
-
onfocus
Description copied from class:HtmlElementonfocus attribute.- Overrides:
onfocusin classHtmlElementRawText- Parameters:
onfocus- The new value for this attribute.- Returns:
- This object.
-
oninput
Description copied from class:HtmlElementoninput attribute.- Overrides:
oninputin classHtmlElementRawText- Parameters:
oninput- The new value for this attribute.- Returns:
- This object.
-
oninvalid
Description copied from class:HtmlElementoninvalid attribute.- Overrides:
oninvalidin classHtmlElementRawText- Parameters:
oninvalid- The new value for this attribute.- Returns:
- This object.
-
onkeydown
Description copied from class:HtmlElementonkeydown attribute.- Overrides:
onkeydownin classHtmlElementRawText- Parameters:
onkeydown- The new value for this attribute.- Returns:
- This object.
-
onkeypress
Description copied from class:HtmlElementonkeypress attribute.- Overrides:
onkeypressin classHtmlElementRawText- Parameters:
onkeypress- The new value for this attribute.- Returns:
- This object.
-
onkeyup
Description copied from class:HtmlElementonkeyup attribute.- Overrides:
onkeyupin classHtmlElementRawText- Parameters:
onkeyup- The new value for this attribute.- Returns:
- This object.
-
onload
Description copied from class:HtmlElementonload attribute.- Overrides:
onloadin classHtmlElementRawText- Parameters:
onload- The new value for this attribute.- Returns:
- This object.
-
onloadeddata
Description copied from class:HtmlElementonloadeddata attribute.- Overrides:
onloadeddatain classHtmlElementRawText- Parameters:
onloadeddata- The new value for this attribute.- Returns:
- This object.
-
onloadedmetadata
Description copied from class:HtmlElementonloadedmetadata attribute.- Overrides:
onloadedmetadatain classHtmlElementRawText- Parameters:
onloadedmetadata- The new value for this attribute.- Returns:
- This object.
-
onloadstart
Description copied from class:HtmlElementonloadstart attribute.- Overrides:
onloadstartin classHtmlElementRawText- Parameters:
onloadstart- The new value for this attribute.- Returns:
- This object.
-
onmousedown
Description copied from class:HtmlElementonmousedown attribute.- Overrides:
onmousedownin classHtmlElementRawText- Parameters:
onmousedown- The new value for this attribute.- Returns:
- This object.
-
onmouseenter
Description copied from class:HtmlElementonmouseenter attribute.- Overrides:
onmouseenterin classHtmlElementRawText- Parameters:
onmouseenter- The new value for this attribute.- Returns:
- This object.
-
onmouseleave
Description copied from class:HtmlElementonmouseleave attribute.- Overrides:
onmouseleavein classHtmlElementRawText- Parameters:
onmouseleave- The new value for this attribute.- Returns:
- This object.
-
onmousemove
Description copied from class:HtmlElementonmousemove attribute.- Overrides:
onmousemovein classHtmlElementRawText- Parameters:
onmousemove- The new value for this attribute.- Returns:
- This object.
-
onmouseout
Description copied from class:HtmlElementonmouseout attribute.- Overrides:
onmouseoutin classHtmlElementRawText- Parameters:
onmouseout- The new value for this attribute.- Returns:
- This object.
-
onmouseover
Description copied from class:HtmlElementonmouseover attribute.- Overrides:
onmouseoverin classHtmlElementRawText- Parameters:
onmouseover- The new value for this attribute.- Returns:
- This object.
-
onmouseup
Description copied from class:HtmlElementonmouseup attribute.- Overrides:
onmouseupin classHtmlElementRawText- Parameters:
onmouseup- The new value for this attribute.- Returns:
- This object.
-
onmousewheel
Description copied from class:HtmlElementonmousewheel attribute.- Overrides:
onmousewheelin classHtmlElementRawText- Parameters:
onmousewheel- The new value for this attribute.- Returns:
- This object.
-
onpause
Description copied from class:HtmlElementonpause attribute.- Overrides:
onpausein classHtmlElementRawText- Parameters:
onpause- The new value for this attribute.- Returns:
- This object.
-
onplay
Description copied from class:HtmlElementonplay attribute.- Overrides:
onplayin classHtmlElementRawText- Parameters:
onplay- The new value for this attribute.- Returns:
- This object.
-
onplaying
Description copied from class:HtmlElementonplaying attribute.- Overrides:
onplayingin classHtmlElementRawText- Parameters:
onplaying- The new value for this attribute.- Returns:
- This object.
-
onprogress
Description copied from class:HtmlElementonprogress attribute.- Overrides:
onprogressin classHtmlElementRawText- Parameters:
onprogress- The new value for this attribute.- Returns:
- This object.
-
onratechange
Description copied from class:HtmlElementonratechange attribute.- Overrides:
onratechangein classHtmlElementRawText- Parameters:
onratechange- The new value for this attribute.- Returns:
- This object.
-
onreset
Description copied from class:HtmlElementonreset attribute.- Overrides:
onresetin classHtmlElementRawText- Parameters:
onreset- The new value for this attribute.- Returns:
- This object.
-
onresize
Description copied from class:HtmlElementonresize attribute.- Overrides:
onresizein classHtmlElementRawText- Parameters:
onresize- The new value for this attribute.- Returns:
- This object.
-
onscroll
Description copied from class:HtmlElementonscroll attribute.- Overrides:
onscrollin classHtmlElementRawText- Parameters:
onscroll- The new value for this attribute.- Returns:
- This object.
-
onseeked
Description copied from class:HtmlElementonseeked attribute.- Overrides:
onseekedin classHtmlElementRawText- Parameters:
onseeked- The new value for this attribute.- Returns:
- This object.
-
onseeking
Description copied from class:HtmlElementonseeking attribute.- Overrides:
onseekingin classHtmlElementRawText- Parameters:
onseeking- The new value for this attribute.- Returns:
- This object.
-
onselect
Description copied from class:HtmlElementonselect attribute.- Overrides:
onselectin classHtmlElementRawText- Parameters:
onselect- The new value for this attribute.- Returns:
- This object.
-
onshow
Description copied from class:HtmlElementonshow attribute.- Overrides:
onshowin classHtmlElementRawText- Parameters:
onshow- The new value for this attribute.- Returns:
- This object.
-
onstalled
Description copied from class:HtmlElementonstalled attribute.- Overrides:
onstalledin classHtmlElementRawText- Parameters:
onstalled- The new value for this attribute.- Returns:
- This object.
-
onsubmit
Description copied from class:HtmlElementonsubmit attribute.- Overrides:
onsubmitin classHtmlElementRawText- Parameters:
onsubmit- The new value for this attribute.- Returns:
- This object.
-
onsuspend
Description copied from class:HtmlElementonsuspend attribute.- Overrides:
onsuspendin classHtmlElementRawText- Parameters:
onsuspend- The new value for this attribute.- Returns:
- This object.
-
ontimeupdate
Description copied from class:HtmlElementontimeupdate attribute.- Overrides:
ontimeupdatein classHtmlElementRawText- Parameters:
ontimeupdate- The new value for this attribute.- Returns:
- This object.
-
ontoggle
Description copied from class:HtmlElementontoggle attribute.- Overrides:
ontogglein classHtmlElementRawText- Parameters:
ontoggle- The new value for this attribute.- Returns:
- This object.
-
onvolumechange
Description copied from class:HtmlElementonvolumechange attribute.- Overrides:
onvolumechangein classHtmlElementRawText- Parameters:
onvolumechange- The new value for this attribute.- Returns:
- This object.
-
onwaiting
Description copied from class:HtmlElementonwaiting attribute.- Overrides:
onwaitingin classHtmlElementRawText- Parameters:
onwaiting- The new value for this attribute.- Returns:
- This object.
-
spellcheck
Description copied from class:HtmlElementspellcheck attribute.- Overrides:
spellcheckin classHtmlElementRawText- Parameters:
spellcheck- The new value for this attribute. Typically aBooleanorString.- Returns:
- This object.
-
style
Description copied from class:HtmlElementstyle attribute.- Overrides:
stylein classHtmlElementRawText- Parameters:
style- The new value for this attribute.- Returns:
- This object.
-
tabindex
Description copied from class:HtmlElementtabindex attribute.- Overrides:
tabindexin classHtmlElementRawText- Parameters:
tabindex- The new value for this attribute. Typically aNumberorString.- Returns:
- This object.
-
title
Description copied from class:HtmlElementtitle attribute.- Overrides:
titlein classHtmlElementRawText- Parameters:
title- The new value for this attribute.- Returns:
- This object.
-
translate
Description copied from class:HtmlElementtranslate attribute.- Overrides:
translatein classHtmlElementRawText- Parameters:
translate- The new value for this attribute. Typically aNumberorString.- Returns:
- This object.
-
text
Description copied from class:HtmlElementRawTextSets the text node on this element.- Overrides:
textin classHtmlElementRawText- Parameters:
text- The text node to add to this element.- Returns:
- This object.
-