@ProviderType public final class Audio extends AbstractNonSelfClosingHtmlElement<Audio>
| Constructor and Description |
|---|
Audio()
Initializes html element.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPreload()
Html "preload" attribute.
|
String |
getSrc()
Html "src" attribute.
|
boolean |
isAutoPlay()
Html "autoplay" attribute.
|
boolean |
isControls()
Html "controls" attribute.
|
boolean |
isLoop()
Html "loop" attribute.
|
Audio |
setAutoPlay(boolean value)
Html "autoplay" attribute.
|
Audio |
setControls(boolean value)
Html "controls" attribute.
|
Audio |
setLoop(boolean value)
Html "loop" attribute.
|
Audio |
setPreload(String value)
Html "preload" attribute.
|
Audio |
setSrc(String value)
Html "src" attribute.
|
add, addCssClass, getCssClass, getData, getEmptyAttributeValueAsBoolean, getId, getStyle, getStyles, getStyleString, getTitle, setCssClass, setData, setEmptyAttributeValueAsBoolean, setId, setStyle, setStyleString, setTitlecreate, createAnchor, createAnchor, createAnchor, createAudio, createComment, createDiv, createFigCaption, createFigure, createImage, createImage, createImage, createImage, createImage, createNoScript, createScript, createScript, createSource, createSpan, createSpan, createVideoadd, addContent, addContent, addContent, addContent, addContent, getAttributeValueAsInteger, getAttributeValueAsLong, setAttribute, setAttribute, setAttributeValueAsInteger, setAttributeValueAsLong, setName, setText, toString, toStringContentOnlyaddNamespaceDeclaration, canContainContent, clone, cloneContent, coalesceText, detach, getAdditionalNamespaces, getAttribute, getAttribute, getAttributes, getAttributeValue, getAttributeValue, getAttributeValue, getAttributeValue, getChild, getChild, getChildren, getChildren, getChildren, getChildText, getChildText, getChildTextNormalize, getChildTextNormalize, getChildTextTrim, getChildTextTrim, getContent, getContent, getContent, getContentSize, getDescendants, getDescendants, getName, getNamespace, getNamespace, getNamespacePrefix, getNamespacesInherited, getNamespacesInScope, getNamespacesIntroduced, getNamespaceURI, getQualifiedName, getText, getTextNormalize, getTextTrim, getValue, getXMLBaseURI, hasAdditionalNamespaces, hasAttributes, indexOf, isAncestor, isRootElement, removeAttribute, removeAttribute, removeAttribute, removeChild, removeChild, removeChildren, removeChildren, removeContent, removeContent, removeContent, removeContent, removeNamespaceDeclaration, setAttribute, setAttributes, setContent, setContent, setContent, setContent, setNamespace, sortAttributes, sortChildren, sortContent, sortContentequals, getCType, getDocument, getParent, getParentElement, hashCode, setParentpublic boolean isAutoPlay()
public Audio setAutoPlay(boolean value)
value - Value of attributepublic boolean isControls()
public Audio setControls(boolean value)
value - Value of attributepublic boolean isLoop()
public Audio setLoop(boolean value)
value - Value of attributepublic String getPreload()
public Audio setPreload(String value)
value - Value of attributepublic String getSrc()
Copyright © 2014–2017 wcm.io. All rights reserved.