org.apache.myfaces.html5.component.media
Class Video

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by javax.faces.component.UIOutput
              extended by javax.faces.component.html.HtmlOutputText
                  extended by org.apache.myfaces.html5.component.media.AbstractMedia
                      extended by org.apache.myfaces.html5.component.media.Media
                          extended by org.apache.myfaces.html5.component.media.AbstractVideo
                              extended by org.apache.myfaces.html5.component.media.Video
All Implemented Interfaces:
EventListener, javax.faces.component.behavior.ClientBehaviorHolder, javax.faces.component.PartialStateHolder, javax.faces.component.StateHolder, javax.faces.component.ValueHolder, javax.faces.event.ComponentSystemEventListener, javax.faces.event.FacesListener, javax.faces.event.SystemEventListenerHolder, Draggable, AccesskeyProperty, GlobalEventProperties, Html5GlobalProperties, KeyEventProperties, MediaEventProperties, MouseEventProperties, TabindexProperty, MediaSourceHolder

public class Video
extends AbstractVideo
implements javax.faces.component.behavior.ClientBehaviorHolder


Field Summary
static String COMPONENT_FAMILY
           
static String COMPONENT_TYPE
           
 
Fields inherited from class org.apache.myfaces.html5.component.media.AbstractMedia
mediaInfoSet
 
Fields inherited from class javax.faces.component.UIComponent
BEANINFO_KEY, bindings, COMPOSITE_COMPONENT_TYPE_KEY, COMPOSITE_FACET_NAME, CURRENT_COMPONENT, CURRENT_COMPOSITE_COMPONENT, FACETS_KEY, VIEW_LOCATION_KEY
 
Constructor Summary
Video()
           
 
Method Summary
 String getDefaultEventName()
           
 Collection<String> getEventNames()
           
 String getFamily()
           
 String getHeight()
          Height of the video.
 String getPoster()
          This property defines an image to show when no video data is available.
 String getWidth()
          Width of the video.
 void setHeight(String height)
           
 void setPoster(String poster)
           
 void setWidth(String width)
           
 
Methods inherited from class org.apache.myfaces.html5.component.media.Media
getAccesskey, getAnimationEnd, getDir, getLang, getOnblur, getOnclick, getOndblclick, getOndrag, getOndragend, getOndragenter, getOndragleave, getOndragover, getOndragstart, getOndrop, getOnended, getOnerror, getOnfocus, getOnkeydown, getOnkeypress, getOnkeyup, getOnloadeddata, getOnloadedmetadata, getOnloadstart, getOnmousedown, getOnmousemove, getOnmouseout, getOnmouseover, getOnmouseup, getOnmousewheel, getOnpause, getOnplay, getOnplaying, getOnprogress, getOnseeked, getOnseeking, getOnvolumechange, getOnwaiting, getPreload, getStyle, getStyleClass, getTabindex, getTitle, isAutoplay, isDraggable, isEscape, isHidden, isLoop, isShowControls, setAccesskey, setAnimationEnd, setAutoplay, setDir, setDraggable, setEscape, setHidden, setLang, setLoop, setOnblur, setOnclick, setOndblclick, setOndrag, setOndragend, setOndragenter, setOndragleave, setOndragover, setOndragstart, setOndrop, setOnended, setOnerror, setOnfocus, setOnkeydown, setOnkeypress, setOnkeyup, setOnloadeddata, setOnloadedmetadata, setOnloadstart, setOnmousedown, setOnmousemove, setOnmouseout, setOnmouseover, setOnmouseup, setOnmousewheel, setOnpause, setOnplay, setOnplaying, setOnprogress, setOnseeked, setOnseeking, setOnvolumechange, setOnwaiting, setPreload, setShowControls, setStyle, setStyleClass, setTabindex, setTitle
 
Methods inherited from class org.apache.myfaces.html5.component.media.AbstractMedia
addMediaInfo, getMediaInfos
 
Methods inherited from class javax.faces.component.UIOutput
clearInitialState, getConverter, getLocalValue, getValue, markInitialState, restoreState, saveState, setConverter, setValue
 
Methods inherited from class javax.faces.component.UIComponentBase
addClientBehavior, addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientBehaviors, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, initialStateMarked, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, saveAttachedState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding, visitTree
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getClientId, getCompositeComponentParent, getContainerClientId, getCurrentComponent, getCurrentCompositeComponent, getListenersForEventClass, getNamingContainer, getResourceBundleMap, getStateHelper, getStateHelper, getValueExpression, isCompositeComponent, isInView, isVisitable, popComponentFromEL, processEvent, pushComponentToEL, setInView, setValueExpression, subscribeToEvent, unsubscribeFromEvent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.faces.component.behavior.ClientBehaviorHolder
addClientBehavior, getClientBehaviors
 

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
Constructor Detail

Video

public Video()
Method Detail

getFamily

public String getFamily()
Overrides:
getFamily in class Media

getEventNames

public Collection<String> getEventNames()
Specified by:
getEventNames in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getEventNames in class Media

getDefaultEventName

public String getDefaultEventName()
Specified by:
getDefaultEventName in interface javax.faces.component.behavior.ClientBehaviorHolder
Overrides:
getDefaultEventName in class Media

getPoster

public String getPoster()
Description copied from class: AbstractVideo
This property defines an image to show when no video data is available.

Specified by:
getPoster in class AbstractVideo
Returns:

setPoster

public void setPoster(String poster)

getWidth

public String getWidth()
Description copied from class: AbstractVideo
Width of the video. Can be in pixels, or percent.

Specified by:
getWidth in class AbstractVideo
Returns:

setWidth

public void setWidth(String width)

getHeight

public String getHeight()
Description copied from class: AbstractVideo
Height of the video. Can be in pixels, or percent.

Specified by:
getHeight in class AbstractVideo
Returns:

setHeight

public void setHeight(String height)


Copyright © 2011 The Apache Software Foundation. All Rights Reserved.