Package org.primefaces.component.api
Class UIMedia
- java.lang.Object
-
- javax.faces.component.UIComponent
-
- javax.faces.component.UIComponentBase
-
- org.primefaces.component.api.UIMedia
-
- 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
public abstract class UIMedia extends javax.faces.component.UIComponentBase
Base class for HTML5 audio and video components.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UIMedia.PropertyKeys
-
Constructor Summary
Constructors Constructor Description UIMedia()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPlayer()
String
getStyle()
String
getStyleClass()
Object
getValue()
boolean
isCache()
String
resolveSource(javax.faces.context.FacesContext context, UIMedia media)
void
setCache(boolean cache)
void
setPlayer(String player)
void
setStyle(String style)
void
setStyleClass(String styleClass)
void
setValue(Object value)
-
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, getFamily, getNamingContainer, getPassThroughAttributes, getResourceBundleMap, getStateHelper, getStateHelper, getTransientStateHelper, getTransientStateHelper, getValueExpression, initialStateMarked, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, restoreTransientState, saveTransientState, setInView, setValueExpression, visitTree
-
-
-
-
Method Detail
-
resolveSource
public String resolveSource(javax.faces.context.FacesContext context, UIMedia media) throws IOException
- Throws:
IOException
-
getValue
public Object getValue()
-
setValue
public void setValue(Object value)
-
getPlayer
public String getPlayer()
-
setPlayer
public void setPlayer(String player)
-
getStyle
public String getStyle()
-
setStyle
public void setStyle(String style)
-
getStyleClass
public String getStyleClass()
-
setStyleClass
public void setStyleClass(String styleClass)
-
isCache
public boolean isCache()
-
setCache
public void setCache(boolean cache)
-
-