com.liferay.faces.alloy.component.media
Class MediaBase

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by com.liferay.faces.alloy.component.media.MediaBase
All Implemented Interfaces:
EventListener, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.TransientStateHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder
Direct Known Subclasses:
Media

@Generated(value="com.liferay.alloy.tools.builder.FacesBuilder")
public abstract class MediaBase
extends javax.faces.component.UIComponentBase

Author:
Bruno Basto, Kyle Stiemann

Nested Class Summary
protected static class MediaBase.MediaPropertyKeys
           
 
Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
static String RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
ATTRS_WITH_DECLARED_DEFAULT_VALUES, BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, HONOR_CURRENT_COMPONENT_ATTRIBUTES_PARAM_NAME, VIEW_LOCATION_KEY
 
Constructor Summary
MediaBase()
           
 
Method Summary
 String getContentType()
          contentType attribute description:
 String getFamily()
           
 Object getFlashPlayer()
          flashPlayer attribute description:
 String getFlashPlayerVersion()
          flashPlayerVersion attribute description:
 String getLibrary()
          library attribute description:
 String getName()
          name attribute description:
 String getOnabort()
          onabort attribute description:
 String getOnblur()
          onblur attribute description:
 String getOncanplay()
          oncanplay attribute description:
 String getOncanplaythrough()
          oncanplaythrough attribute description:
 String getOnclick()
          onclick attribute description:
 String getOndblclick()
          ondblclick attribute description:
 String getOndurationchange()
          ondurationchange attribute description:
 String getOnemptied()
          onemptied attribute description:
 String getOnended()
          onended attribute description:
 String getOnerror()
          onerror attribute description:
 String getOnfocus()
          onfocus attribute description:
 String getOnkeydown()
          onkeydown attribute description:
 String getOnkeypress()
          onkeypress attribute description:
 String getOnkeyup()
          onkeyup attribute description:
 String getOnloadeddata()
          onloadeddata attribute description:
 String getOnloadedmetadata()
          onloadedmetadata attribute description:
 String getOnloadstart()
          onloadstart attribute description:
 String getOnmousedown()
          onmousedown attribute description:
 String getOnmousemove()
          onmousemove attribute description:
 String getOnmouseout()
          onmouseout attribute description:
 String getOnmouseover()
          onmouseover attribute description:
 String getOnmouseup()
          onmouseup attribute description:
 String getOnpause()
          onpause attribute description:
 String getOnplay()
          onplay attribute description:
 String getOnplaying()
          onplaying attribute description:
 String getOnprogress()
          onprogress attribute description:
 String getOnratechange()
          onratechange attribute description:
 String getOnseeked()
          onseeked attribute description:
 String getOnseeking()
          onseeking attribute description:
 String getOnstalled()
          onstalled attribute description:
 String getOnsuspend()
          onsuspend attribute description:
 String getOntimeupdate()
          ontimeupdate attribute description:
 String getOnvolumechange()
          onvolumechange attribute description:
 String getOnwaiting()
          onwaiting attribute description:
 String getPreload()
          preload attribute description:
 String getStyle()
          style attribute description:
 Object getValue()
          value attribute description:
 boolean isAutoplay()
          autoplay attribute description:
 boolean isControls()
          controls attribute description:
 boolean isDegrade()
          degrade attribute description:
 boolean isLoop()
          loop attribute description:
 boolean isMuted()
          muted attribute description:
 void setAutoplay(boolean autoplay)
          autoplay attribute description:
 void setContentType(String contentType)
          contentType attribute description:
 void setControls(boolean controls)
          controls attribute description:
 void setDegrade(boolean degrade)
          degrade attribute description:
 void setFlashPlayer(Object flashPlayer)
          flashPlayer attribute description:
 void setFlashPlayerVersion(String flashPlayerVersion)
          flashPlayerVersion attribute description:
 void setLibrary(String library)
          library attribute description:
 void setLoop(boolean loop)
          loop attribute description:
 void setMuted(boolean muted)
          muted attribute description:
 void setName(String name)
          name attribute description:
 void setOnabort(String onabort)
          onabort attribute description:
 void setOnblur(String onblur)
          onblur attribute description:
 void setOncanplay(String oncanplay)
          oncanplay attribute description:
 void setOncanplaythrough(String oncanplaythrough)
          oncanplaythrough attribute description:
 void setOnclick(String onclick)
          onclick attribute description:
 void setOndblclick(String ondblclick)
          ondblclick attribute description:
 void setOndurationchange(String ondurationchange)
          ondurationchange attribute description:
 void setOnemptied(String onemptied)
          onemptied attribute description:
 void setOnended(String onended)
          onended attribute description:
 void setOnerror(String onerror)
          onerror attribute description:
 void setOnfocus(String onfocus)
          onfocus attribute description:
 void setOnkeydown(String onkeydown)
          onkeydown attribute description:
 void setOnkeypress(String onkeypress)
          onkeypress attribute description:
 void setOnkeyup(String onkeyup)
          onkeyup attribute description:
 void setOnloadeddata(String onloadeddata)
          onloadeddata attribute description:
 void setOnloadedmetadata(String onloadedmetadata)
          onloadedmetadata attribute description:
 void setOnloadstart(String onloadstart)
          onloadstart attribute description:
 void setOnmousedown(String onmousedown)
          onmousedown attribute description:
 void setOnmousemove(String onmousemove)
          onmousemove attribute description:
 void setOnmouseout(String onmouseout)
          onmouseout attribute description:
 void setOnmouseover(String onmouseover)
          onmouseover attribute description:
 void setOnmouseup(String onmouseup)
          onmouseup attribute description:
 void setOnpause(String onpause)
          onpause attribute description:
 void setOnplay(String onplay)
          onplay attribute description:
 void setOnplaying(String onplaying)
          onplaying attribute description:
 void setOnprogress(String onprogress)
          onprogress attribute description:
 void setOnratechange(String onratechange)
          onratechange attribute description:
 void setOnseeked(String onseeked)
          onseeked attribute description:
 void setOnseeking(String onseeking)
          onseeking attribute description:
 void setOnstalled(String onstalled)
          onstalled attribute description:
 void setOnsuspend(String onsuspend)
          onsuspend attribute description:
 void setOntimeupdate(String ontimeupdate)
          ontimeupdate attribute description:
 void setOnvolumechange(String onvolumechange)
          onvolumechange attribute description:
 void setOnwaiting(String onwaiting)
          onwaiting attribute description:
 void setPreload(String preload)
          preload attribute description:
 void setStyle(String style)
          style attribute description:
 void setValue(Object value)
          value attribute description:
 
Methods inherited from class javax.faces.component.UIComponentBase
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, unsubscribeFromEvent
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_FAMILY

public static final String COMPONENT_FAMILY
See Also:
Constant Field Values

COMPONENT_TYPE

public static final String COMPONENT_TYPE
See Also:
Constant Field Values

RENDERER_TYPE

public static final String RENDERER_TYPE
See Also:
Constant Field Values
Constructor Detail

MediaBase

public MediaBase()
Method Detail

getFamily

public String getFamily()
Specified by:
getFamily in class javax.faces.component.UIComponent

isAutoplay

public boolean isAutoplay()

autoplay attribute description:

HTML5 passthrough attribute specifying whether the media will begin playing automatically.


setAutoplay

public void setAutoplay(boolean autoplay)

autoplay attribute description:

HTML5 passthrough attribute specifying whether the media will begin playing automatically.


getContentType

public String getContentType()

contentType attribute description:

The content type of the media. This attribute is required when the 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.


setContentType

public void setContentType(String contentType)

contentType attribute description:

The content type of the media. This attribute is required when the 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.


isControls

public boolean isControls()

controls attribute description:

HTML5 passthrough attribute specifying whether controls should be rendered for the media.


setControls

public void setControls(boolean controls)

controls attribute description:

HTML5 passthrough attribute specifying whether controls should be rendered for the media.


isDegrade

public boolean isDegrade()

degrade attribute description:

When true the component will gracefully degrade to the Adobe® Flash® player for older browsers.


setDegrade

public void setDegrade(boolean degrade)

degrade attribute description:

When true the component will gracefully degrade to the Adobe® Flash® player for older browsers.


getFlashPlayer

public Object getFlashPlayer()

flashPlayer attribute description:

A context-relative path, resource URL, or FacesResource that can be used to retrieve the Adobe® Flash® player. The default flash player is the flash player bundled with AlloyUI. Note: The AlloyUI player does not support .ogv or .webm formats.


setFlashPlayer

public 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. The default flash player is the flash player bundled with AlloyUI. Note: The AlloyUI player does not support .ogv or .webm formats.


getFlashPlayerVersion

public String getFlashPlayerVersion()

flashPlayerVersion attribute description:

The version of Adobe® Flash® required to play this media.


setFlashPlayerVersion

public void setFlashPlayerVersion(String flashPlayerVersion)

flashPlayerVersion attribute description:

The version of Adobe® Flash® required to play this media.


getLibrary

public String getLibrary()

library attribute description:

The name of the library which contains the resource.


setLibrary

public void setLibrary(String library)

library attribute description:

The name of the library which contains the resource.


isLoop

public boolean isLoop()

loop attribute description:

HTML5 passthrough attribute specifying whether the media will restart after it has completed playing.


setLoop

public void setLoop(boolean loop)

loop attribute description:

HTML5 passthrough attribute specifying whether the media will restart after it has completed playing.


isMuted

public boolean isMuted()

muted attribute description:

HTML5 passthrough attribute specifying whether the media will be muted initially.


setMuted

public void setMuted(boolean muted)

muted attribute description:

HTML5 passthrough attribute specifying whether the media will be muted initially.


getName

public String getName()

name attribute description:

The name of the resource file to be included on the page.


setName

public void setName(String name)

name attribute description:

The name of the resource file to be included on the page.


getOnabort

public String getOnabort()

onabort attribute description:

Javascript to execute when a abort event occurs.


setOnabort

public void setOnabort(String onabort)

onabort attribute description:

Javascript to execute when a abort event occurs.


getOnblur

public String getOnblur()

onblur attribute description:

Javascript to execute after this component loses focus.


setOnblur

public void setOnblur(String onblur)

onblur attribute description:

Javascript to execute after this component loses focus.


getOncanplay

public String getOncanplay()

oncanplay attribute description:

Javascript to execute when a canplay event occurs.


setOncanplay

public void setOncanplay(String oncanplay)

oncanplay attribute description:

Javascript to execute when a canplay event occurs.


getOncanplaythrough

public String getOncanplaythrough()

oncanplaythrough attribute description:

Javascript to execute when a canplaythrough event occurs.


setOncanplaythrough

public void setOncanplaythrough(String oncanplaythrough)

oncanplaythrough attribute description:

Javascript to execute when a canplaythrough event occurs.


getOnclick

public String getOnclick()

onclick attribute description:

Javascript to execute when this component is clicked.


setOnclick

public void setOnclick(String onclick)

onclick attribute description:

Javascript to execute when this component is clicked.


getOndblclick

public String getOndblclick()

ondblclick attribute description:

Javascript to execute when a double click event occurs.


setOndblclick

public void setOndblclick(String ondblclick)

ondblclick attribute description:

Javascript to execute when a double click event occurs.


getOndurationchange

public String getOndurationchange()

ondurationchange attribute description:

Javascript to execute when a durationchange event occurs.


setOndurationchange

public void setOndurationchange(String ondurationchange)

ondurationchange attribute description:

Javascript to execute when a durationchange event occurs.


getOnemptied

public String getOnemptied()

onemptied attribute description:

Javascript to execute when a emptied event occurs.


setOnemptied

public void setOnemptied(String onemptied)

onemptied attribute description:

Javascript to execute when a emptied event occurs.


getOnended

public String getOnended()

onended attribute description:

Javascript to execute when a ended event occurs.


setOnended

public void setOnended(String onended)

onended attribute description:

Javascript to execute when a ended event occurs.


getOnerror

public String getOnerror()

onerror attribute description:

Javascript to execute when a error event occurs.


setOnerror

public void setOnerror(String onerror)

onerror attribute description:

Javascript to execute when a error event occurs.


getOnfocus

public String getOnfocus()

onfocus attribute description:

Javascript to execute when this component gets focus.


setOnfocus

public void setOnfocus(String onfocus)

onfocus attribute description:

Javascript to execute when this component gets focus.


getOnkeydown

public String getOnkeydown()

onkeydown attribute description:

Javascript to execute when a keydown event occurs.


setOnkeydown

public void setOnkeydown(String onkeydown)

onkeydown attribute description:

Javascript to execute when a keydown event occurs.


getOnkeypress

public String getOnkeypress()

onkeypress attribute description:

Javascript to execute when a keypress event occurs.


setOnkeypress

public void setOnkeypress(String onkeypress)

onkeypress attribute description:

Javascript to execute when a keypress event occurs.


getOnkeyup

public String getOnkeyup()

onkeyup attribute description:

Javascript to execute when a keyup event occurs.


setOnkeyup

public void setOnkeyup(String onkeyup)

onkeyup attribute description:

Javascript to execute when a keyup event occurs.


getOnloadeddata

public String getOnloadeddata()

onloadeddata attribute description:

Javascript to execute when a loadeddata event occurs.


setOnloadeddata

public void setOnloadeddata(String onloadeddata)

onloadeddata attribute description:

Javascript to execute when a loadeddata event occurs.


getOnloadedmetadata

public String getOnloadedmetadata()

onloadedmetadata attribute description:

Javascript to execute when a loadedmetadata event occurs.


setOnloadedmetadata

public void setOnloadedmetadata(String onloadedmetadata)

onloadedmetadata attribute description:

Javascript to execute when a loadedmetadata event occurs.


getOnloadstart

public String getOnloadstart()

onloadstart attribute description:

Javascript to execute when a loadstart event occurs.


setOnloadstart

public void setOnloadstart(String onloadstart)

onloadstart attribute description:

Javascript to execute when a loadstart event occurs.


getOnmousedown

public String getOnmousedown()

onmousedown attribute description:

Javascript to execute when a mousedown event occurs.


setOnmousedown

public void setOnmousedown(String onmousedown)

onmousedown attribute description:

Javascript to execute when a mousedown event occurs.


getOnmousemove

public String getOnmousemove()

onmousemove attribute description:

Javascript to execute when a mousemove event occurs.


setOnmousemove

public void setOnmousemove(String onmousemove)

onmousemove attribute description:

Javascript to execute when a mousemove event occurs.


getOnmouseout

public String getOnmouseout()

onmouseout attribute description:

Javascript to execute when a mouseout event occurs.


setOnmouseout

public void setOnmouseout(String onmouseout)

onmouseout attribute description:

Javascript to execute when a mouseout event occurs.


getOnmouseover

public String getOnmouseover()

onmouseover attribute description:

Javascript to execute when a mouseover event occurs.


setOnmouseover

public void setOnmouseover(String onmouseover)

onmouseover attribute description:

Javascript to execute when a mouseover event occurs.


getOnmouseup

public String getOnmouseup()

onmouseup attribute description:

Javascript to execute when a mouseup event occurs.


setOnmouseup

public void setOnmouseup(String onmouseup)

onmouseup attribute description:

Javascript to execute when a mouseup event occurs.


getOnpause

public String getOnpause()

onpause attribute description:

Javascript to execute when a pause event occurs.


setOnpause

public void setOnpause(String onpause)

onpause attribute description:

Javascript to execute when a pause event occurs.


getOnplay

public String getOnplay()

onplay attribute description:

Javascript to execute when a play event occurs.


setOnplay

public void setOnplay(String onplay)

onplay attribute description:

Javascript to execute when a play event occurs.


getOnplaying

public String getOnplaying()

onplaying attribute description:

Javascript to execute when a playing event occurs.


setOnplaying

public void setOnplaying(String onplaying)

onplaying attribute description:

Javascript to execute when a playing event occurs.


getOnprogress

public String getOnprogress()

onprogress attribute description:

Javascript to execute when a progress event occurs.


setOnprogress

public void setOnprogress(String onprogress)

onprogress attribute description:

Javascript to execute when a progress event occurs.


getOnratechange

public String getOnratechange()

onratechange attribute description:

Javascript to execute when a ratechange event occurs.


setOnratechange

public void setOnratechange(String onratechange)

onratechange attribute description:

Javascript to execute when a ratechange event occurs.


getOnseeked

public String getOnseeked()

onseeked attribute description:

Javascript to execute when a seeked event occurs.


setOnseeked

public void setOnseeked(String onseeked)

onseeked attribute description:

Javascript to execute when a seeked event occurs.


getOnseeking

public String getOnseeking()

onseeking attribute description:

Javascript to execute when a seeking event occurs.


setOnseeking

public void setOnseeking(String onseeking)

onseeking attribute description:

Javascript to execute when a seeking event occurs.


getOnstalled

public String getOnstalled()

onstalled attribute description:

Javascript to execute when a stalled event occurs.


setOnstalled

public void setOnstalled(String onstalled)

onstalled attribute description:

Javascript to execute when a stalled event occurs.


getOnsuspend

public String getOnsuspend()

onsuspend attribute description:

Javascript to execute when a suspend event occurs.


setOnsuspend

public void setOnsuspend(String onsuspend)

onsuspend attribute description:

Javascript to execute when a suspend event occurs.


getOntimeupdate

public String getOntimeupdate()

ontimeupdate attribute description:

Javascript to execute when a timeupdate event occurs.


setOntimeupdate

public void setOntimeupdate(String ontimeupdate)

ontimeupdate attribute description:

Javascript to execute when a timeupdate event occurs.


getOnvolumechange

public String getOnvolumechange()

onvolumechange attribute description:

Javascript to execute when a volumechange event occurs.


setOnvolumechange

public void setOnvolumechange(String onvolumechange)

onvolumechange attribute description:

Javascript to execute when a volumechange event occurs.


getOnwaiting

public String getOnwaiting()

onwaiting attribute description:

Javascript to execute when a waiting event occurs.


setOnwaiting

public void setOnwaiting(String onwaiting)

onwaiting attribute description:

Javascript to execute when a waiting event occurs.


getPreload

public String getPreload()

preload attribute description:

HTML5 passthrough attribute specifying how the media should be loaded in the page.


setPreload

public void setPreload(String preload)

preload attribute description:

HTML5 passthrough attribute specifying how the media should be loaded in the page.


getStyle

public String getStyle()

style attribute description:

HTML passthrough attribute specifying the css style of the element.


setStyle

public void setStyle(String style)

style attribute description:

HTML passthrough attribute specifying the css style of the element.


getValue

public Object getValue()

value attribute description:

A context-relative path, resource URL, FacesResource, or List<FacesResouce> that can be used to retrieve the media(s).


setValue

public 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).



Copyright © 2017 Liferay, Inc.. All rights reserved.