public class Audio extends HTMLAudioElementImp
firstChild, fNodeListCache, ownerDocumentDOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, ID, IGNORABLEWS, NORMALIZED, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, TREE_POSITION_ANCESTOR, TREE_POSITION_DESCENDANT, TREE_POSITION_DISCONNECTED, TREE_POSITION_EQUIVALENT, TREE_POSITION_FOLLOWING, TREE_POSITION_PRECEDING, TREE_POSITION_SAME_NODEHAVE_CURRENT_DATA, HAVE_ENOUGH_DATA, HAVE_FUTURE_DATA, HAVE_METADATA, HAVE_NOTHING, NETWORK_EMPTY, NETWORK_IDLE, NETWORK_LOADING, NETWORK_NO_SOURCEATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEDERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION| Constructor and Description |
|---|
Audio()
When invoked as a constructor, it must return a new HTMLAudioElement
object (a new audio element).
|
Audio(String src)
When invoked as a constructor, it must return a new HTMLAudioElement
object (a new audio element).
|
appendChild, blur, capitalize, click, createElement, createElement, deleter, focus, get, getAccessKey, getAccessKeyLabel, getAttribute, getAttribute, getAttribute, getAttributeBoolean, getAttributeDouble, getAttributeInt, getAttributeLong, getAttributeNodeNS, getAttributeNS, getChildElements, getChildNodes, getClassName, getContentEditable, getDataset, getDir, getElementById, getElementByTagName, getElementsByTagName, getElementsByTagNameNS, getForm, getHidden, getId, getLang, getName, getOwnerDocument, getSpellcheck, getStyle, getTabIndex, getTagName, getText, getTitle, getTranslate, has, insertBefore, isContentEditable, isInDocument, prepend, remove, set, set, setAccessKey, setAttribute, setAttribute, setAttribute, setAttribute, setClassName, setContentEditable, setDir, setHidden, setId, setLang, setName, setSpellcheck, setStyle, setTabIndex, setTitle, setTranslate, toString, yesNogetAttribute, getAttributeNode, getAttributes, getBaseURI, getChildElementCount, getDefaultAttributes, getFirstElementChild, getLastElementChild, getNextElementSibling, getNodeName, getNodeType, getPreviousElementSibling, getSchemaTypeInfo, getTypeName, getTypeNamespace, getXercesAttribute, getXMLBaseAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocument, setReadOnly, setupDefaultAttributes, setXercesAttributeNode, synchronizeDatagetChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getTextContent, hasChildNodes, item, removeChild, replaceChild, setTextContent, synchronizeChildrengetNextSibling, getParentNode, getPreviousSiblingaddEventListener, changed, changes, compareDocumentPosition, compareTreePosition, dispatchEvent, getContainer, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getReadOnly, getUserData, getUserData, getUserDataRecord, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, removeEventListener, setNodeValue, setPrefix, setUserData, setUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddTextTrack, addTextTrack, addTextTrack, getAudioTracks, getAutoplay, getBuffered, getCanPlayType, getController, getControls, getCrossOrigin, getCurrentSrc, getCurrentTime, getDefaultMuted, getDefaultPlaybackRate, getDuration, getEnded, getError, getLoop, getMediaGroup, getMuted, getNetworkState, getPaused, getPlaybackRate, getPlayed, getPreload, getReadyState, getSeekable, getSeeking, getSrc, getStartDate, getTextTracks, getVideoTracks, getVolume, load, pause, play, setAutoplay, setController, setControls, setCrossOrigin, setCurrentTime, setDefaultMuted, setDefaultPlaybackRate, setLoop, setMediaGroup, setMuted, setPlaybackRate, setPreload, setSrc, setVolumeblur, click, focus, getAccessKey, getAccessKeyLabel, getChildElements, getContentEditable, getDataset, getDir, getHidden, getLang, getName, getOwnerDocument, getSpellcheck, getStyle, getTabIndex, getTitle, getTranslate, isContentEditable, prepend, setAccessKey, setContentEditable, setDir, setHidden, setLang, setName, setSpellcheck, setStyle, setTabIndex, setTitle, setTranslategetClassName, getId, setClassName, setIdgetAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSappendChild, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserDatapublic Audio()
public Audio(String src)
src - the audio srcpublic Audio cloneNode(boolean deep)
cloneNode in interface NodecloneNode in class HTMLAudioElementImppublic MediaError getError()
getError in interface HTMLMediaElementpublic String getSrc()
getSrc in interface HTMLMediaElementpublic void setSrc(String src)
setSrc in interface HTMLMediaElementpublic String getCurrentSrc()
getCurrentSrc in interface HTMLMediaElementpublic String getCrossOrigin()
getCrossOrigin in interface HTMLMediaElementpublic void setCrossOrigin(String cross)
setCrossOrigin in interface HTMLMediaElementpublic int getNetworkState()
getNetworkState in interface HTMLMediaElementpublic String getPreload()
getPreload in interface HTMLMediaElementpublic void setPreload(String preload)
setPreload in interface HTMLMediaElementpublic TimeRanges getBuffered()
getBuffered in interface HTMLMediaElementpublic void load()
load in interface HTMLMediaElementpublic CanPlayTypeEnum getCanPlayType(String type)
getCanPlayType in interface HTMLMediaElementpublic int getReadyState()
getReadyState in interface HTMLMediaElementpublic boolean getSeeking()
getSeeking in interface HTMLMediaElementpublic double getCurrentTime()
getCurrentTime in interface HTMLMediaElementpublic void setCurrentTime(double time)
setCurrentTime in interface HTMLMediaElementpublic double getDuration()
getDuration in interface HTMLMediaElementpublic Date getStartDate()
getStartDate in interface HTMLMediaElementpublic boolean getPaused()
getPaused in interface HTMLMediaElementpublic double getDefaultPlaybackRate()
getDefaultPlaybackRate in interface HTMLMediaElementpublic void setDefaultPlaybackRate(double d)
setDefaultPlaybackRate in interface HTMLMediaElementpublic double getPlaybackRate()
getPlaybackRate in interface HTMLMediaElementpublic void setPlaybackRate(double d)
setPlaybackRate in interface HTMLMediaElementpublic TimeRanges getPlayed()
getPlayed in interface HTMLMediaElementpublic TimeRanges getSeekable()
getSeekable in interface HTMLMediaElementpublic boolean getEnded()
getEnded in interface HTMLMediaElementpublic boolean getAutoplay()
getAutoplay in interface HTMLMediaElementpublic void setAutoplay(boolean b)
setAutoplay in interface HTMLMediaElementpublic boolean getLoop()
getLoop in interface HTMLMediaElementpublic void setLoop(boolean b)
setLoop in interface HTMLMediaElementpublic void play()
play in interface HTMLMediaElementpublic void pause()
pause in interface HTMLMediaElementpublic String getMediaGroup()
getMediaGroup in interface HTMLMediaElementpublic void setMediaGroup(String g)
setMediaGroup in interface HTMLMediaElementpublic MediaController getController()
getController in interface HTMLMediaElementpublic void setController(MediaController c)
setController in interface HTMLMediaElementpublic boolean getControls()
getControls in interface HTMLMediaElementpublic void setControls(boolean b)
setControls in interface HTMLMediaElementpublic double getVolume()
getVolume in interface HTMLMediaElementpublic void setVolume(double d)
setVolume in interface HTMLMediaElementpublic boolean getMuted()
getMuted in interface HTMLMediaElementpublic void setMuted(boolean b)
setMuted in interface HTMLMediaElementpublic boolean getDefaultMuted()
getDefaultMuted in interface HTMLMediaElementpublic void setDefaultMuted(boolean b)
setDefaultMuted in interface HTMLMediaElementpublic AudioTrackList getAudioTracks()
getAudioTracks in interface HTMLMediaElementpublic VideoTrackList getVideoTracks()
getVideoTracks in interface HTMLMediaElementpublic TextTrackList getTextTracks()
getTextTracks in interface HTMLMediaElementpublic TextTrack addTextTrack(TextTrackKind kind)
addTextTrack in interface HTMLMediaElementpublic TextTrack addTextTrack(TextTrackKind kind, String label)
addTextTrack in interface HTMLMediaElementpublic TextTrack addTextTrack(TextTrackKind kind, String label, String language)
addTextTrack in interface HTMLMediaElementCopyright © 2017. All rights reserved.