org.apache.myfaces.tobago.renderkit
Class RendererBase
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.tobago.renderkit.RendererBase
- Direct Known Subclasses:
- AbstractRendererBaseWrapper, LayoutComponentRendererBase
public class RendererBase
- extends Renderer
Method Summary |
int |
getConfiguredValue(FacesContext facesContext,
UIComponent component,
String key)
Deprecated. since 1.5.0, please use getResourceManager().getThemeMeasure() |
Object |
getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue)
|
Converter |
getConverter(FacesContext context,
UIComponent component)
|
protected String |
getCurrentValue(FacesContext facesContext,
UIComponent component)
|
protected Object |
getCurrentValueAsObject(UIInput input)
|
protected String |
getFormattedValue(FacesContext context,
UIComponent component,
Object currentValue)
|
boolean |
getPrepareRendersChildren()
|
protected String |
getRendererName(String rendererType)
Deprecated. todo: should be done in the StyleClasses class. |
protected ResourceManager |
getResourceManager()
|
protected Object |
getValue(UIComponent component)
|
void |
onComponentCreated(FacesContext facesContext,
UIComponent component,
UIComponent parent)
|
void |
prepareRender(FacesContext facesContext,
UIComponent component)
Hook to e. g. register resources, etc. |
void |
prepareRendersChildren(FacesContext context,
UIComponent component)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RendererBase
public RendererBase()
prepareRender
public void prepareRender(FacesContext facesContext,
UIComponent component)
throws IOException
- Hook to e. g. register resources, etc.
- Throws:
IOException
getPrepareRendersChildren
public boolean getPrepareRendersChildren()
prepareRendersChildren
public void prepareRendersChildren(FacesContext context,
UIComponent component)
throws IOException
- Throws:
IOException
getRendererName
@Deprecated
protected String getRendererName(String rendererType)
- Deprecated. todo: should be done in the StyleClasses class.
getConfiguredValue
@Deprecated
public int getConfiguredValue(FacesContext facesContext,
UIComponent component,
String key)
- Deprecated. since 1.5.0, please use getResourceManager().getThemeMeasure()
getCurrentValueAsObject
protected Object getCurrentValueAsObject(UIInput input)
getCurrentValue
protected String getCurrentValue(FacesContext facesContext,
UIComponent component)
getFormattedValue
protected String getFormattedValue(FacesContext context,
UIComponent component,
Object currentValue)
throws ConverterException
- Throws:
ConverterException
getValue
protected Object getValue(UIComponent component)
getConverter
public Converter getConverter(FacesContext context,
UIComponent component)
getConvertedValue
public Object getConvertedValue(FacesContext context,
UIComponent component,
Object submittedValue)
throws ConverterException
- Overrides:
getConvertedValue
in class Renderer
- Throws:
ConverterException
onComponentCreated
public void onComponentCreated(FacesContext facesContext,
UIComponent component,
UIComponent parent)
getResourceManager
protected ResourceManager getResourceManager()
Copyright © 2002-2011 Apache Software Foundation. All Rights Reserved.