public abstract class VideoPlayerBase extends javax.faces.component.UIComponentBase implements IVideoPlayer
| Modifier and Type | Class and Description |
|---|---|
protected static class |
VideoPlayerBase.PropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COMPONENT_TYPE |
static java.lang.String |
RENDERER_TYPE |
| Constructor and Description |
|---|
VideoPlayerBase() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFamily() |
int |
getHeight()
Return the value of the
height property. |
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 |
getPoster()
Return the value of the
poster 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. |
int |
getWidth()
Return the value of the
width 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. |
boolean |
isPlaysinline()
Return the value of the
playsinline property. |
protected boolean |
isPropertySet(java.lang.String finder) |
void |
setAutoplay(boolean autoplay)
Set the value of the
autoplay property. |
void |
setControls(boolean controls)
Set the value of the
controls property. |
void |
setHeight(int height)
Set the value of the
height 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 |
setPlaysinline(boolean playsinline)
Set the value of the
playsinline property. |
void |
setPoster(java.lang.String poster)
Set the value of the
poster 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) |
void |
setWidth(int width)
Set the value of the
width property. |
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 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 IVideoPlayerpublic 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 IVideoPlayerpublic void setControls(boolean controls)
Set the value of the controls property.
Contents: If "true", will render the media controls.
setControls in interface IVideoPlayerpublic boolean isControls()
Return the value of the controls property.
Contents: If "true", will render the media controls. Default = 'true'.
isControls in interface IVideoPlayerpublic void setHeight(int height)
Set the value of the height property.
Contents: The maximum height of video area.
setHeight in interface IVideoPlayerpublic int getHeight()
Return the value of the height property.
Contents: The maximum height of video area. Default = 'Integer.MIN_VALUE'.
getHeight in interface IVideoPlayerpublic void setLibrary(java.lang.String library)
Set the value of the library property.
Contents: The library used for JSF Resource registration.
setLibrary in interface IVideoPlayerpublic java.lang.String getLibrary()
Return the value of the library property.
Contents: The library used for JSF Resource registration.
getLibrary in interface IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic void setLoop(boolean loop)
Set the value of the loop property.
Contents: If "true", will play the the audio file repeatedly.
setLoop in interface IVideoPlayerpublic boolean isLoop()
Return the value of the loop property.
Contents: If "true", will play the the audio file repeatedly. Default = 'false'.
isLoop in interface IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic java.lang.String getName()
Return the value of the name property.
Contents: The name is used for JSF Resource registration.
getName in interface IVideoPlayerpublic void setPlaysinline(boolean playsinline)
Set the value of the playsinline property.
Contents: Allows webkit supported browsers to play back the video inline rather than a new window.
setPlaysinline in interface IVideoPlayerpublic boolean isPlaysinline()
Return the value of the playsinline property.
Contents: Allows webkit supported browsers to play back the video inline rather than a new window.
isPlaysinline in interface IVideoPlayerpublic void setPoster(java.lang.String poster)
Set the value of the poster property.
Contents: display a static photo until the video is played
setPoster in interface IVideoPlayerpublic java.lang.String getPoster()
Return the value of the poster property.
Contents: display a static photo until the video is played
getPoster in interface IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic java.lang.String getStyleClass()
Return the value of the styleClass property.
Contents: Sets the CSS class to apply to this component.
getStyleClass in interface IVideoPlayerpublic void setType(java.lang.String type)
Set the value of the type property.
Contents: The mime type of media file.
setType in interface IVideoPlayerpublic java.lang.String getType()
Return the value of the type property.
Contents: The mime type of media file.
getType in interface IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic 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 IVideoPlayerpublic void setWidth(int width)
Set the value of the width property.
Contents: The maximum width of video area.
setWidth in interface IVideoPlayerpublic int getWidth()
Return the value of the width property.
Contents: The maximum width of video area. Default = 'Integer.MIN_VALUE'.
getWidth in interface IVideoPlayerpublic void setSrcAttribute(java.lang.String srcAttribute)
Set the value of the srcAttribute property.
setSrcAttribute in interface IVideoPlayerpublic java.lang.String getSrcAttribute()
Return the value of the srcAttribute property.
getSrcAttribute in interface IVideoPlayerprotected boolean isPropertySet(java.lang.String finder)
public void setValueExpression(java.lang.String name,
javax.el.ValueExpression binding)
setValueExpression in class javax.faces.component.UIComponentCopyright 2014 ICEsoft Technologies Canada Corp., All Rights Reserved.