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 javax.faces.render.Renderer
Method Summary |
int |
getConfiguredValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String key)
Deprecated. since 1.5.0, please use getResourceManager().getThemeMeasure() |
Object |
getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object submittedValue)
|
javax.faces.convert.Converter |
getConverter(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
protected String |
getCurrentValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
|
protected Object |
getCurrentValueAsObject(javax.faces.component.UIInput input)
|
protected String |
getFormattedValue(javax.faces.context.FacesContext context,
javax.faces.component.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(javax.faces.component.UIComponent component)
|
void |
onComponentCreated(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
javax.faces.component.UIComponent parent)
|
void |
prepareRender(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
Hook to e. g. register resources, etc. |
void |
prepareRendersChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
|
Methods inherited from class javax.faces.render.Renderer |
convertClientId, decode, encodeBegin, encodeChildren, encodeEnd, getRendersChildren |
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(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
throws IOException
- Hook to e. g. register resources, etc.
- Throws:
IOException
getPrepareRendersChildren
public boolean getPrepareRendersChildren()
prepareRendersChildren
public void prepareRendersChildren(javax.faces.context.FacesContext context,
javax.faces.component.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(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
String key)
- Deprecated. since 1.5.0, please use getResourceManager().getThemeMeasure()
getCurrentValueAsObject
protected Object getCurrentValueAsObject(javax.faces.component.UIInput input)
getCurrentValue
protected String getCurrentValue(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component)
getFormattedValue
protected String getFormattedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object currentValue)
throws javax.faces.convert.ConverterException
- Throws:
javax.faces.convert.ConverterException
getValue
protected Object getValue(javax.faces.component.UIComponent component)
getConverter
public javax.faces.convert.Converter getConverter(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
getConvertedValue
public Object getConvertedValue(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component,
Object submittedValue)
throws javax.faces.convert.ConverterException
- Overrides:
getConvertedValue
in class javax.faces.render.Renderer
- Throws:
javax.faces.convert.ConverterException
onComponentCreated
public void onComponentCreated(javax.faces.context.FacesContext facesContext,
javax.faces.component.UIComponent component,
javax.faces.component.UIComponent parent)
getResourceManager
protected ResourceManager getResourceManager()
Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.