@Bean(typeName="audio") public class Audio extends HtmlElementContainer
| Constructor and Description |
|---|
Audio() |
| Modifier and Type | Method and Description |
|---|---|
Audio |
_class(String _class)
class attribute.
|
Audio |
autoplay(Object autoplay)
autoplay
attribute.
|
Audio |
child(Object child)
Adds a child element to this element.
|
Audio |
children(Object... children)
Adds one or more child elements to this element.
|
Audio |
controls(Object controls)
controls
attribute.
|
Audio |
crossorigin(String crossorigin)
crossorigin
attribute.
|
Audio |
id(String id)
id attribute.
|
Audio |
loop(Object loop)
loop attribute.
|
Audio |
mediagroup(String mediagroup)
mediagroup
attribute.
|
Audio |
muted(Object muted)
muted
attribute.
|
Audio |
preload(Object preload)
preload
attribute.
|
Audio |
src(Object src)
src attribute.
|
Audio |
style(String style)
style attribute.
|
getChild, getChild, getChild, getChildren, setChildrenaccesskey, 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, translatepublic Audio()
public final Audio autoplay(Object autoplay)
Hint that the media resource can be started automatically when the page is loaded.
public final Audio crossorigin(String crossorigin)
How the element handles cross-origin requests.
crossorigin - The new value for this attribute.public final Audio mediagroup(String mediagroup)
Groups media elements together with an implicit MediaController.
mediagroup - The new value for this attribute.public final Audio muted(Object muted)
Whether to mute the media resource by default.
public final Audio preload(Object preload)
Hints how much buffering the media resource will likely need.
preload - The new value for this attribute.public final Audio src(Object src)
Address of the resource.
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.
public final Audio _class(String _class)
HtmlElement_class in class HtmlElement_class - The new value for this attribute.public final Audio id(String id)
HtmlElementid in class HtmlElementid - The new value for this attribute.public final Audio style(String style)
HtmlElementstyle in class HtmlElementstyle - The new value for this attribute.public final Audio children(Object... children)
HtmlElementContainerchildren in class HtmlElementContainerchildren - The children to add as child elements.public final Audio child(Object child)
HtmlElementContainerchild in class HtmlElementContainerchild - The child to add as a child element.Copyright © 2016–2019 The Apache Software Foundation. All rights reserved.