Class Hierarchy All Classes All Fields and Methods

 

Class com.ibm.faces.renderkit.html_extended.PlayerRenderer

java.lang.Object
        javax.faces.render.Renderer
                com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
                        com.ibm.faces.renderkit.html_extended.PlayerRenderer

public abstract class PlayerRenderer
extends HtmlBasicRenderer

Convenience base class for UIPlayer component, that implements the default behavior of all player controls.

Tags: n/a Components: UIPlayer

Inner Class Index
Class Description
PlayerRenderer.Param Player's parameter.

Field Index
Field Description
ADDITIONAL_PLAYER_SETTINGS  
MIMETYPE_ATTR  

Constructor Index
Constructor Description
PlayerRenderer()  

Method Index
Method Description
void encodeBegin(FacesContext, UIComponent) Renders the beginning of the component.
void encodeEmbedTagAttributes(FacesContext, HashMap, UIComponent) Renders control's plugin.
void encodeEnd(FacesContext, UIComponent) Renders the ending of the component.
void encodeParams(FacesContext, HashMap, HashMap, UIComponent, PlayerRenderer.Param[]) Renders control's parameters.
void encodeSrcParam(FacesContext, HashMap, UIComponent, PlayerRenderer.Param[]) Gets the media source parameter--this can be set uri/url pointing to a file or bound to a back end data.
String getDefaultHeight() Returns default control height.
String getDefaultWidth() Returns default control width.
String getObjectClassId() Returns Class ID for the control.
String getObjectCodebase() Returns Code Base for the control.
PlayerRenderer.Param[] getObjectParams() Returns a list of parameters for the control.
String getObjectType() Returns type of control.
String getPluginPage() Returns ULR to control's web site
PlayerRenderer.Param[] getPluginParams() Returns a list of parameters for control's plugin.
String getPluginType() Returns type of control's plug-in

 

Fields

 

ADDITIONAL_PLAYER_SETTINGS

public static final java.lang.String ADDITIONAL_PLAYER_SETTINGS

 

MIMETYPE_ATTR

public static final java.lang.String MIMETYPE_ATTR

 

Constructors

 

PlayerRenderer

public PlayerRenderer() 

 

Methods

 

encodeBegin

public void encodeBegin(FacesContext context,
                        UIComponent component) throws IOException

Renders the beginning of the component.

 

encodeEmbedTagAttributes

protected void encodeEmbedTagAttributes(FacesContext context,
                                        HashMap objEmbedMap,
                                        UIComponent component) 

Renders control's plugin.

 

encodeEnd

public void encodeEnd(FacesContext context,
                      UIComponent component) throws IOException

Renders the ending of the component.

 

encodeParams

protected void encodeParams(FacesContext context,
                            HashMap objParamMap,
                            HashMap objEmbedMap,
                            UIComponent component,
                            PlayerRenderer.Param[] params) 

Renders control's parameters.

 

encodeSrcParam

protected void encodeSrcParam(FacesContext context,
                              HashMap objParamMap,
                              UIComponent component,
                              PlayerRenderer.Param[] params) 

Gets the media source parameter--this can be set uri/url pointing to a file or bound to a back end data. When binding data the 'mimeType' attribute must also be set, the 'filename' attribute is optional.

 

getDefaultHeight

protected String getDefaultHeight() 

Returns default control height.

 

getDefaultWidth

protected String getDefaultWidth() 

Returns default control width.

 

getObjectClassId

protected abstract String getObjectClassId() 

Returns Class ID for the control.

 

getObjectCodebase

protected abstract String getObjectCodebase() 

Returns Code Base for the control.

 

getObjectParams

protected abstract PlayerRenderer.Param[] getObjectParams() 

Returns a list of parameters for the control.

 

getObjectType

protected String getObjectType() 

Returns type of control.

 

getPluginPage

protected abstract String getPluginPage() 

Returns ULR to control's web site

 

getPluginParams

protected abstract PlayerRenderer.Param[] getPluginParams() 

Returns a list of parameters for control's plugin.

 

getPluginType

protected abstract String getPluginType() 

Returns type of control's plug-in

Class Hierarchy All Classes All Fields and Methods