public abstract class AudioPlayerBase extends javax.faces.component.UIComponentBase implements IAudioPlayer
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AudioPlayerBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
AudioPlayerBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getAccesskey()
Return the value of the
accesskey property. |
java.lang.String |
getFamily() |
java.lang.String |
getLibrary()
Return the value of the
library property. |
java.lang.String |
getLinkLabel()
Return the value of the
linkLabel property. |
java.lang.String |
getName()
Return the value of the
name property. |
java.lang.String |
getPreload()
Return the value of the
preload property. |
java.lang.String |
getScope()
Return the value of the
scope property. |
java.lang.String |
getSrcAttribute()
Return the value of the
srcAttribute property. |
java.lang.String |
getStyle()
Return the value of the
style property. |
java.lang.String |
getStyleClass()
Return the value of the
styleClass property. |
java.lang.String |
getType()
Return the value of the
type property. |
java.lang.String |
getUrl()
Return the value of the
url property. |
java.lang.Object |
getValue()
Return the value of the
value property. |
boolean |
isAutoplay()
Return the value of the
autoplay property. |
boolean |
isControls()
Return the value of the
controls property. |
boolean |
isLoop()
Return the value of the
loop property. |
boolean |
isMuted()
Return the value of the
muted property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setAccesskey(java.lang.String accesskey)
Set the value of the
accesskey property. |
void |
setAutoplay(boolean autoplay)
Set the value of the
autoplay property. |
void |
setControls(boolean controls)
Set the value of the
controls property. |
void |
setLibrary(java.lang.String library)
Set the value of the
library property. |
void |
setLinkLabel(java.lang.String linkLabel)
Set the value of the
linkLabel property. |
void |
setLoop(boolean loop)
Set the value of the
loop property. |
void |
setMuted(boolean muted)
Set the value of the
muted property. |
void |
setName(java.lang.String name)
Set the value of the
name property. |
void |
setPreload(java.lang.String preload)
Set the value of the
preload property. |
void |
setScope(java.lang.String scope)
Set the value of the
scope property. |
void |
setSrcAttribute(java.lang.String srcAttribute)
Set the value of the
srcAttribute property. |
void |
setStyle(java.lang.String style)
Set the value of the
style property. |
void |
setStyleClass(java.lang.String styleClass)
Set the value of the
styleClass property. |
void |
setType(java.lang.String type)
Set the value of the
type property. |
void |
setUrl(java.lang.String url)
Set the value of the
url property. |
void |
setValue(java.lang.Object value)
Set the value of the
value property. |
void |
setValueExpression(java.lang.String name,
javax.el.ValueExpression binding) |
addClientBehavior, addFacesListener, broadcast, clearInitialState, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getDefaultEventName, getEventNames, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getListenersForEventClass, getParent, getPassThroughAttributes, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, markInitialState, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, subscribeToEvent, unsubscribeFromEventencodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, visitTreepublic static final java.lang.String COMPONENT_TYPE
public static final java.lang.String RENDERER_TYPE
public java.lang.String getFamily()
getFamily in class javax.faces.component.UIComponentpublic void setAccesskey(java.lang.String accesskey)
Set the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to this component.
setAccesskey in interface IAudioPlayerpublic java.lang.String getAccesskey()
Return the value of the accesskey property.
Contents: Access key that, when pressed, transfers focus to this component.
getAccesskey in interface IAudioPlayerpublic void setAutoplay(boolean autoplay)
Set the value of the autoplay property.
Contents: Will cause the media to automatically play when the page is load. This may be required for some older devices to play.
setAutoplay in interface IAudioPlayerpublic boolean isAutoplay()
Return the value of the autoplay property.
Contents: Will cause the media to automatically play when the page is load. This may be required for some older devices to play. Default = 'false'.
isAutoplay in interface IAudioPlayerpublic void setControls(boolean controls)
Set the value of the controls property.
Contents: If "true", will render the media controls.
setControls in interface IAudioPlayerpublic boolean isControls()
Return the value of the controls property.
Contents: If "true", will render the media controls. Default = 'true'.
isControls in interface IAudioPlayerpublic void setLibrary(java.lang.String library)
Set the value of the library property.
Contents: The library used for JSF Resource registration.
setLibrary in interface IAudioPlayerpublic java.lang.String getLibrary()
Return the value of the library property.
Contents: The library used for JSF Resource registration.
getLibrary in interface IAudioPlayerpublic void setLinkLabel(java.lang.String linkLabel)
Set the value of the linkLabel property.
Contents: For certain devices, this adds the ability for a link to launch a system media player. If this attribute is present thelink will appear with this text as the label.
setLinkLabel in interface IAudioPlayerpublic java.lang.String getLinkLabel()
Return the value of the linkLabel property.
Contents: For certain devices, this adds the ability for a link to launch a system media player. If this attribute is present thelink will appear with this text as the label.
getLinkLabel in interface IAudioPlayerpublic void setLoop(boolean loop)
Set the value of the loop property.
Contents: If "true", will play the the audio file repeatedly.
setLoop in interface IAudioPlayerpublic boolean isLoop()
Return the value of the loop property.
Contents: If "true", will play the the audio file repeatedly. Default = 'false'.
isLoop in interface IAudioPlayerpublic void setMuted(boolean muted)
Set the value of the muted property.
Contents: audio will be muted if true for html5 compliant desktop browsers only. Default is false
setMuted in interface IAudioPlayerpublic boolean isMuted()
Return the value of the muted property.
Contents: audio will be muted if true for html5 compliant desktop browsers only. Default is false Default = 'false'.
isMuted in interface IAudioPlayerpublic void setName(java.lang.String name)
Set the value of the name property.
Contents: The name is used for JSF Resource registration.
setName in interface IAudioPlayerpublic java.lang.String getName()
Return the value of the name property.
Contents: The name is used for JSF Resource registration.
getName in interface IAudioPlayerpublic void setPreload(java.lang.String preload)
Set the value of the preload property.
Contents: Options for preloading the resource. Accepted values are "auto" (allow the browser to decide), "none" or "metadata" (preload only the metadata).
setPreload in interface IAudioPlayerpublic java.lang.String getPreload()
Return the value of the preload property.
Contents: Options for preloading the resource. Accepted values are "auto" (allow the browser to decide), "none" or "metadata" (preload only the metadata). Default = 'auto'.
getPreload in interface IAudioPlayerpublic void setScope(java.lang.String scope)
Set the value of the scope property.
Contents: The JSF Resource scope of the object resolving from the "value" attribute. It is only applicable when using a byte array or an instance of IceOutputResource as the value. Possible values are "flash", "request", "view", "session", and "application".
setScope in interface IAudioPlayerpublic java.lang.String getScope()
Return the value of the scope property.
Contents: The JSF Resource scope of the object resolving from the "value" attribute. It is only applicable when using a byte array or an instance of IceOutputResource as the value. Possible values are "flash", "request", "view", "session", and "application". Default = 'session'.
getScope in interface IAudioPlayerpublic void setStyle(java.lang.String style)
Set the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
setStyle in interface IAudioPlayerpublic java.lang.String getStyle()
Return the value of the style property.
Contents: Sets the CSS style definition to be applied to this component.
getStyle in interface IAudioPlayerpublic void setStyleClass(java.lang.String styleClass)
Set the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
setStyleClass in interface IAudioPlayerpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
getStyleClass in interface IAudioPlayerpublic void setType(java.lang.String type)
Set the value of the type property.
Contents: The mime type of media file.
setType in interface IAudioPlayerpublic java.lang.String getType()
Return the value of the type property.
Contents: The mime type of media file.
getType in interface IAudioPlayerpublic void setUrl(java.lang.String url)
Set the value of the url property.
Contents: The URL or src of the media file. If the "value" attribute is empty, the "url" attribute will be used.
setUrl in interface IAudioPlayerpublic java.lang.String getUrl()
Return the value of the url property.
Contents: The URL or src of the media file. If the "value" attribute is empty, the "url" attribute will be used.
getUrl in interface IAudioPlayerpublic void setValue(java.lang.Object value)
Set the value of the value property.
Contents: The media source. The value may resolve to a byte array, the String of a file name, or a JSF Resource, if used in JSF project
setValue in interface IAudioPlayerpublic java.lang.Object getValue()
Return the value of the value property.
Contents: The media source. The value may resolve to a byte array, the String of a file name, or a JSF Resource, if used in JSF project
getValue in interface IAudioPlayerpublic void setSrcAttribute(java.lang.String srcAttribute)
Set the value of the srcAttribute property.
setSrcAttribute in interface IAudioPlayerpublic java.lang.String getSrcAttribute()
Return the value of the srcAttribute property.
getSrcAttribute in interface IAudioPlayerprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentCopyright 2017 ICEsoft Technologies Canada Corp., All Rights Reserved.