|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.faces.render.Renderer
com.sun.rave.web.ui.renderer.PropertyRenderer
public class PropertyRenderer
Constructor Summary | |
---|---|
PropertyRenderer()
Creates a new instance of PropertyRenderer. |
Method Summary | |
---|---|
void |
encodeChildren(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Does nothing. |
void |
encodeEnd(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent component)
Render a property component. |
boolean |
getRendersChildren()
This renderer renders the component's children. |
protected void |
renderHelpText(javax.faces.context.FacesContext context,
Property property,
Theme theme,
javax.faces.context.ResponseWriter writer)
Render help text for the property |
protected void |
renderLabel(javax.faces.context.FacesContext context,
Property property,
Theme theme,
javax.faces.context.ResponseWriter writer)
Render a label for the propertySheetSection |
protected void |
renderPropertyComponents(javax.faces.context.FacesContext context,
Property property,
Theme theme,
javax.faces.context.ResponseWriter writer)
Render the property components. |
Methods inherited from class javax.faces.render.Renderer |
---|
convertClientId, decode, encodeBegin, getConvertedValue |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyRenderer()
Method Detail |
---|
public boolean getRendersChildren()
getRendersChildren
in class javax.faces.render.Renderer
public void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeEnd
in class javax.faces.render.Renderer
context
- The current FacesContextcomponent
- The Property object to renderwriter
- The current ResponseWriter
java.io.IOException
- if an input/output error occursprotected void renderPropertyComponents(javax.faces.context.FacesContext context, Property property, Theme theme, javax.faces.context.ResponseWriter writer) throws java.io.IOException
content
facet it defined it takes precendence
over the existence of child components. If there is not
content
facet, then the children are rendered.
context
- The current FacesContextproperty
- The Property object to rendertheme
- The Theme to reference.writer
- The current ResponseWriter
java.io.IOException
- if an input/output error occursprotected void renderLabel(javax.faces.context.FacesContext context, Property property, Theme theme, javax.faces.context.ResponseWriter writer) throws java.io.IOException
context
- The current FacesContextproperty
- The Property object to rendertheme
- The Theme to reference.writer
- The current ResponseWriter
java.io.IOException
- if an input/output error occursprotected void renderHelpText(javax.faces.context.FacesContext context, Property property, Theme theme, javax.faces.context.ResponseWriter writer) throws java.io.IOException
context
- The current FacesContextproperty
- The Property object to rendertheme
- The Theme to reference.writer
- The current ResponseWriter
java.io.IOException
- if an input/output error occurspublic void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws java.io.IOException
encodeChildren
in class javax.faces.render.Renderer
context
- The current FacesContextcomponent
- The Property object to renderwriter
- The current ResponseWriter
java.io.IOException
- if an input/output error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |