@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder") public abstract class MediaBase extends javax.faces.component.UIComponentBase
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MediaBase.MediaPropertyKeys |
| Modifier and Type | Field and Description |
|---|---|
static String |
COMPONENT_FAMILY |
static String |
COMPONENT_TYPE |
static String |
RENDERER_TYPE |
| Constructor and Description |
|---|
MediaBase() |
| Modifier and Type | Method and Description |
|---|---|
String |
getContentType()
contentType attribute description:
The content type of the media. |
String |
getFamily() |
Object |
getFlashPlayer()
flashPlayer attribute description:
A context-relative path, resource URL, or FacesResource that can be used to retrieve the Adobe® Flash® player. |
String |
getFlashPlayerVersion()
flashPlayerVersion attribute description:
The version of Adobe® Flash® required to play this media. |
String |
getLibrary()
library attribute description:
The name of the library which contains the resource. |
String |
getName()
name attribute description:
The name of the resource file to be included on the page. |
String |
getOnabort()
onabort attribute description:
Javascript to execute when a abort event occurs. |
String |
getOnblur()
onblur attribute description:
Javascript to execute after this component loses focus. |
String |
getOncanplay()
oncanplay attribute description:
Javascript to execute when a canplay event occurs. |
String |
getOncanplaythrough()
oncanplaythrough attribute description:
Javascript to execute when a canplaythrough event occurs. |
String |
getOnclick()
onclick attribute description:
Javascript to execute when this component is clicked. |
String |
getOndblclick()
ondblclick attribute description:
Javascript to execute when a double click event occurs. |
String |
getOndurationchange()
ondurationchange attribute description:
Javascript to execute when a durationchange event occurs. |
String |
getOnemptied()
onemptied attribute description:
Javascript to execute when a emptied event occurs. |
String |
getOnended()
onended attribute description:
Javascript to execute when a ended event occurs. |
String |
getOnerror()
onerror attribute description:
Javascript to execute when a error event occurs. |
String |
getOnfocus()
onfocus attribute description:
Javascript to execute when this component gets focus. |
String |
getOnkeydown()
onkeydown attribute description:
Javascript to execute when a keydown event occurs. |
String |
getOnkeypress()
onkeypress attribute description:
Javascript to execute when a keypress event occurs. |
String |
getOnkeyup()
onkeyup attribute description:
Javascript to execute when a keyup event occurs. |
String |
getOnloadeddata()
onloadeddata attribute description:
Javascript to execute when a loadeddata event occurs. |
String |
getOnloadedmetadata()
onloadedmetadata attribute description:
Javascript to execute when a loadedmetadata event occurs. |
String |
getOnloadstart()
onloadstart attribute description:
Javascript to execute when a loadstart event occurs. |
String |
getOnmousedown()
onmousedown attribute description:
Javascript to execute when a mousedown event occurs. |
String |
getOnmousemove()
onmousemove attribute description:
Javascript to execute when a mousemove event occurs. |
String |
getOnmouseout()
onmouseout attribute description:
Javascript to execute when a mouseout event occurs. |
String |
getOnmouseover()
onmouseover attribute description:
Javascript to execute when a mouseover event occurs. |
String |
getOnmouseup()
onmouseup attribute description:
Javascript to execute when a mouseup event occurs. |
String |
getOnpause()
onpause attribute description:
Javascript to execute when a pause event occurs. |
String |
getOnplay()
onplay attribute description:
Javascript to execute when a play event occurs. |
String |
getOnplaying()
onplaying attribute description:
Javascript to execute when a playing event occurs. |
String |
getOnprogress()
onprogress attribute description:
Javascript to execute when a progress event occurs. |
String |
getOnratechange()
onratechange attribute description:
Javascript to execute when a ratechange event occurs. |
String |
getOnseeked()
onseeked attribute description:
Javascript to execute when a seeked event occurs. |
String |
getOnseeking()
onseeking attribute description:
Javascript to execute when a seeking event occurs. |
String |
getOnstalled()
onstalled attribute description:
Javascript to execute when a stalled event occurs. |
String |
getOnsuspend()
onsuspend attribute description:
Javascript to execute when a suspend event occurs. |
String |
getOntimeupdate()
ontimeupdate attribute description:
Javascript to execute when a timeupdate event occurs. |
String |
getOnvolumechange()
onvolumechange attribute description:
Javascript to execute when a volumechange event occurs. |
String |
getOnwaiting()
onwaiting attribute description:
Javascript to execute when a waiting event occurs. |
String |
getPreload()
preload attribute description:
HTML5 passthrough attribute specifying how the media should be loaded in the page. |
String |
getStyle()
style attribute description:
HTML passthrough attribute specifying the css style of the element. |
Object |
getValue()
value attribute description:
A context-relative path, resource URL, FacesResource, or List<FacesResouce> that can be used to retrieve the media(s). |
boolean |
isAutoplay()
autoplay attribute description:
HTML5 passthrough attribute specifying whether the media will begin playing automatically. |
boolean |
isControls()
controls attribute description:
HTML5 passthrough attribute specifying whether controls should be rendered for the media. |
boolean |
isDegrade()
degrade attribute description:
When true the component will gracefully degrade to the Adobe® Flash® player for older browsers. |
boolean |
isLoop()
loop attribute description:
HTML5 passthrough attribute specifying whether the media will restart after it has completed playing. |
boolean |
isMuted()
muted attribute description:
HTML5 passthrough attribute specifying whether the media will be muted initially. |
void |
setAutoplay(boolean autoplay)
autoplay attribute description:
HTML5 passthrough attribute specifying whether the media will begin playing automatically. |
void |
setContentType(String contentType)
contentType attribute description:
The content type of the media. |
void |
setControls(boolean controls)
controls attribute description:
HTML5 passthrough attribute specifying whether controls should be rendered for the media. |
void |
setDegrade(boolean degrade)
degrade attribute description:
When true the component will gracefully degrade to the Adobe® Flash® player for older browsers. |
void |
setFlashPlayer(Object flashPlayer)
flashPlayer attribute description:
A context-relative path, resource URL, or FacesResource that can be used to retrieve the Adobe® Flash® player. |
void |
setFlashPlayerVersion(String flashPlayerVersion)
flashPlayerVersion attribute description:
The version of Adobe® Flash® required to play this media. |
void |
setLibrary(String library)
library attribute description:
The name of the library which contains the resource. |
void |
setLoop(boolean loop)
loop attribute description:
HTML5 passthrough attribute specifying whether the media will restart after it has completed playing. |
void |
setMuted(boolean muted)
muted attribute description:
HTML5 passthrough attribute specifying whether the media will be muted initially. |
void |
setName(String name)
name attribute description:
The name of the resource file to be included on the page. |
void |
setOnabort(String onabort)
onabort attribute description:
Javascript to execute when a abort event occurs. |
void |
setOnblur(String onblur)
onblur attribute description:
Javascript to execute after this component loses focus. |
void |
setOncanplay(String oncanplay)
oncanplay attribute description:
Javascript to execute when a canplay event occurs. |
void |
setOncanplaythrough(String oncanplaythrough)
oncanplaythrough attribute description:
Javascript to execute when a canplaythrough event occurs. |
void |
setOnclick(String onclick)
onclick attribute description:
Javascript to execute when this component is clicked. |
void |
setOndblclick(String ondblclick)
ondblclick attribute description:
Javascript to execute when a double click event occurs. |
void |
setOndurationchange(String ondurationchange)
ondurationchange attribute description:
Javascript to execute when a durationchange event occurs. |
void |
setOnemptied(String onemptied)
onemptied attribute description:
Javascript to execute when a emptied event occurs. |
void |
setOnended(String onended)
onended attribute description:
Javascript to execute when a ended event occurs. |
void |
setOnerror(String onerror)
onerror attribute description:
Javascript to execute when a error event occurs. |
void |
setOnfocus(String onfocus)
onfocus attribute description:
Javascript to execute when this component gets focus. |
void |
setOnkeydown(String onkeydown)
onkeydown attribute description:
Javascript to execute when a keydown event occurs. |
void |
setOnkeypress(String onkeypress)
onkeypress attribute description:
Javascript to execute when a keypress event occurs. |
void |
setOnkeyup(String onkeyup)
onkeyup attribute description:
Javascript to execute when a keyup event occurs. |
void |
setOnloadeddata(String onloadeddata)
onloadeddata attribute description:
Javascript to execute when a loadeddata event occurs. |
void |
setOnloadedmetadata(String onloadedmetadata)
onloadedmetadata attribute description:
Javascript to execute when a loadedmetadata event occurs. |
void |
setOnloadstart(String onloadstart)
onloadstart attribute description:
Javascript to execute when a loadstart event occurs. |
void |
setOnmousedown(String onmousedown)
onmousedown attribute description:
Javascript to execute when a mousedown event occurs. |
void |
setOnmousemove(String onmousemove)
onmousemove attribute description:
Javascript to execute when a mousemove event occurs. |
void |
setOnmouseout(String onmouseout)
onmouseout attribute description:
Javascript to execute when a mouseout event occurs. |
void |
setOnmouseover(String onmouseover)
onmouseover attribute description:
Javascript to execute when a mouseover event occurs. |
void |
setOnmouseup(String onmouseup)
onmouseup attribute description:
Javascript to execute when a mouseup event occurs. |
void |
setOnpause(String onpause)
onpause attribute description:
Javascript to execute when a pause event occurs. |
void |
setOnplay(String onplay)
onplay attribute description:
Javascript to execute when a play event occurs. |
void |
setOnplaying(String onplaying)
onplaying attribute description:
Javascript to execute when a playing event occurs. |
void |
setOnprogress(String onprogress)
onprogress attribute description:
Javascript to execute when a progress event occurs. |
void |
setOnratechange(String onratechange)
onratechange attribute description:
Javascript to execute when a ratechange event occurs. |
void |
setOnseeked(String onseeked)
onseeked attribute description:
Javascript to execute when a seeked event occurs. |
void |
setOnseeking(String onseeking)
onseeking attribute description:
Javascript to execute when a seeking event occurs. |
void |
setOnstalled(String onstalled)
onstalled attribute description:
Javascript to execute when a stalled event occurs. |
void |
setOnsuspend(String onsuspend)
onsuspend attribute description:
Javascript to execute when a suspend event occurs. |
void |
setOntimeupdate(String ontimeupdate)
ontimeupdate attribute description:
Javascript to execute when a timeupdate event occurs. |
void |
setOnvolumechange(String onvolumechange)
onvolumechange attribute description:
Javascript to execute when a volumechange event occurs. |
void |
setOnwaiting(String onwaiting)
onwaiting attribute description:
Javascript to execute when a waiting event occurs. |
void |
setPreload(String preload)
preload attribute description:
HTML5 passthrough attribute specifying how the media should be loaded in the page. |
void |
setStyle(String style)
style attribute description:
HTML passthrough attribute specifying the css style of the element. |
void |
setValue(Object value)
value attribute description:
A context-relative path, resource URL, FacesResource, or List<FacesResouce> that can be used to retrieve the media(s). |
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, setValueExpression, visitTreepublic static final String COMPONENT_FAMILY
public static final String COMPONENT_TYPE
public static final String RENDERER_TYPE
public String getFamily()
getFamily in class javax.faces.component.UIComponentpublic boolean isAutoplay()
autoplay attribute description:
public void setAutoplay(boolean autoplay)
autoplay attribute description:
public String getContentType()
contentType attribute description:
value attribute is used to specify the media URL. Otherwise, the contentType defaults to to the content type determined by the JSF runtime for the resource.public void setContentType(String contentType)
contentType attribute description:
value attribute is used to specify the media URL. Otherwise, the contentType defaults to to the content type determined by the JSF runtime for the resource.public boolean isControls()
controls attribute description:
public void setControls(boolean controls)
controls attribute description:
public boolean isDegrade()
degrade attribute description:
public void setDegrade(boolean degrade)
degrade attribute description:
public Object getFlashPlayer()
flashPlayer attribute description:
.ogv or .webm formats.public void setFlashPlayer(Object flashPlayer)
flashPlayer attribute description:
.ogv or .webm formats.public String getFlashPlayerVersion()
flashPlayerVersion attribute description:
public void setFlashPlayerVersion(String flashPlayerVersion)
flashPlayerVersion attribute description:
public String getLibrary()
library attribute description:
public void setLibrary(String library)
library attribute description:
public boolean isLoop()
loop attribute description:
public void setLoop(boolean loop)
loop attribute description:
public boolean isMuted()
muted attribute description:
public void setMuted(boolean muted)
muted attribute description:
public String getName()
name attribute description:
public void setName(String name)
name attribute description:
public String getOnabort()
onabort attribute description:
public void setOnabort(String onabort)
onabort attribute description:
public String getOnblur()
onblur attribute description:
public void setOnblur(String onblur)
onblur attribute description:
public String getOncanplay()
oncanplay attribute description:
public void setOncanplay(String oncanplay)
oncanplay attribute description:
public String getOncanplaythrough()
oncanplaythrough attribute description:
public void setOncanplaythrough(String oncanplaythrough)
oncanplaythrough attribute description:
public String getOnclick()
onclick attribute description:
public void setOnclick(String onclick)
onclick attribute description:
public String getOndblclick()
ondblclick attribute description:
public void setOndblclick(String ondblclick)
ondblclick attribute description:
public String getOndurationchange()
ondurationchange attribute description:
public void setOndurationchange(String ondurationchange)
ondurationchange attribute description:
public String getOnemptied()
onemptied attribute description:
public void setOnemptied(String onemptied)
onemptied attribute description:
public String getOnended()
onended attribute description:
public void setOnended(String onended)
onended attribute description:
public String getOnerror()
onerror attribute description:
public void setOnerror(String onerror)
onerror attribute description:
public String getOnfocus()
onfocus attribute description:
public void setOnfocus(String onfocus)
onfocus attribute description:
public String getOnkeydown()
onkeydown attribute description:
public void setOnkeydown(String onkeydown)
onkeydown attribute description:
public String getOnkeypress()
onkeypress attribute description:
public void setOnkeypress(String onkeypress)
onkeypress attribute description:
public String getOnkeyup()
onkeyup attribute description:
public void setOnkeyup(String onkeyup)
onkeyup attribute description:
public String getOnloadeddata()
onloadeddata attribute description:
public void setOnloadeddata(String onloadeddata)
onloadeddata attribute description:
public String getOnloadedmetadata()
onloadedmetadata attribute description:
public void setOnloadedmetadata(String onloadedmetadata)
onloadedmetadata attribute description:
public String getOnloadstart()
onloadstart attribute description:
public void setOnloadstart(String onloadstart)
onloadstart attribute description:
public String getOnmousedown()
onmousedown attribute description:
public void setOnmousedown(String onmousedown)
onmousedown attribute description:
public String getOnmousemove()
onmousemove attribute description:
public void setOnmousemove(String onmousemove)
onmousemove attribute description:
public String getOnmouseout()
onmouseout attribute description:
public void setOnmouseout(String onmouseout)
onmouseout attribute description:
public String getOnmouseover()
onmouseover attribute description:
public void setOnmouseover(String onmouseover)
onmouseover attribute description:
public String getOnmouseup()
onmouseup attribute description:
public void setOnmouseup(String onmouseup)
onmouseup attribute description:
public String getOnpause()
onpause attribute description:
public void setOnpause(String onpause)
onpause attribute description:
public String getOnplay()
onplay attribute description:
public void setOnplay(String onplay)
onplay attribute description:
public String getOnplaying()
onplaying attribute description:
public void setOnplaying(String onplaying)
onplaying attribute description:
public String getOnprogress()
onprogress attribute description:
public void setOnprogress(String onprogress)
onprogress attribute description:
public String getOnratechange()
onratechange attribute description:
public void setOnratechange(String onratechange)
onratechange attribute description:
public String getOnseeked()
onseeked attribute description:
public void setOnseeked(String onseeked)
onseeked attribute description:
public String getOnseeking()
onseeking attribute description:
public void setOnseeking(String onseeking)
onseeking attribute description:
public String getOnstalled()
onstalled attribute description:
public void setOnstalled(String onstalled)
onstalled attribute description:
public String getOnsuspend()
onsuspend attribute description:
public void setOnsuspend(String onsuspend)
onsuspend attribute description:
public String getOntimeupdate()
ontimeupdate attribute description:
public void setOntimeupdate(String ontimeupdate)
ontimeupdate attribute description:
public String getOnvolumechange()
onvolumechange attribute description:
public void setOnvolumechange(String onvolumechange)
onvolumechange attribute description:
public String getOnwaiting()
onwaiting attribute description:
public void setOnwaiting(String onwaiting)
onwaiting attribute description:
public String getPreload()
preload attribute description:
public void setPreload(String preload)
preload attribute description:
public String getStyle()
style attribute description:
public void setStyle(String style)
style attribute description:
public Object getValue()
value attribute description:
FacesResource, or List<FacesResouce> that can be used to retrieve the media(s).public void setValue(Object value)
value attribute description:
FacesResource, or List<FacesResouce> that can be used to retrieve the media(s).Copyright © 2016 Liferay, Inc.. All rights reserved.