org.apache.myfaces.custom.media
Class AbstractMediaComponent

java.lang.Object
  extended by javax.faces.component.UIComponent
      extended by javax.faces.component.UIComponentBase
          extended by org.apache.myfaces.custom.media.AbstractMediaComponent
All Implemented Interfaces:
javax.faces.component.StateHolder

public abstract class AbstractMediaComponent
extends javax.faces.component.UIComponentBase


Field Summary
static java.lang.String ATTRIBUTE_CONTENT_TYPE
           
static java.lang.String ATTRIBUTE_HEIGHT
           
static java.lang.String ATTRIBUTE_SOURCE
           
static java.lang.String ATTRIBUTE_WIDTH
           
static java.lang.String COMPONENT_FAMILY
           
static java.lang.String COMPONENT_TYPE
           
static java.lang.String DEFAULT_RENDERER_TYPE
           
 
Fields inherited from class javax.faces.component.UIComponent
bindings
 
Constructor Summary
AbstractMediaComponent()
           
 
Method Summary
abstract  java.lang.String getContentType()
          Determines the media content type.
abstract  java.lang.String getHeight()
          Integer to indicate the media height.
abstract  java.lang.String getSource()
          Determines the path of the media file.
abstract  java.lang.String getWidth()
          Integer to indicate the media weight.
 
Methods inherited from class javax.faces.component.UIComponentBase
addFacesListener, broadcast, decode, encodeBegin, encodeChildren, encodeEnd, findComponent, getAttributes, getChildCount, getChildren, getClientId, getFacesContext, getFacesListeners, getFacet, getFacetCount, getFacets, getFacetsAndChildren, getId, getParent, getRenderer, getRendererType, getRendersChildren, getValueBinding, invokeOnComponent, isRendered, isTransient, processDecodes, processRestoreState, processSaveState, processUpdates, processValidators, queueEvent, removeFacesListener, restoreAttachedState, restoreState, saveAttachedState, saveState, setId, setParent, setRendered, setRendererType, setTransient, setValueBinding
 
Methods inherited from class javax.faces.component.UIComponent
encodeAll, getContainerClientId, getFamily, getValueExpression, setValueExpression
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COMPONENT_TYPE

public static java.lang.String COMPONENT_TYPE

DEFAULT_RENDERER_TYPE

public static java.lang.String DEFAULT_RENDERER_TYPE

COMPONENT_FAMILY

public static java.lang.String COMPONENT_FAMILY

ATTRIBUTE_WIDTH

public static final java.lang.String ATTRIBUTE_WIDTH
See Also:
Constant Field Values

ATTRIBUTE_HEIGHT

public static final java.lang.String ATTRIBUTE_HEIGHT
See Also:
Constant Field Values

ATTRIBUTE_SOURCE

public static final java.lang.String ATTRIBUTE_SOURCE
See Also:
Constant Field Values

ATTRIBUTE_CONTENT_TYPE

public static final java.lang.String ATTRIBUTE_CONTENT_TYPE
See Also:
Constant Field Values
Constructor Detail

AbstractMediaComponent

public AbstractMediaComponent()
Method Detail

getWidth

public abstract java.lang.String getWidth()
Integer to indicate the media weight.


getHeight

public abstract java.lang.String getHeight()
Integer to indicate the media height.


getContentType

public abstract java.lang.String getContentType()
Determines the media content type.


getSource

public abstract java.lang.String getSource()
Determines the path of the media file.



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