Class LabelLayoutRendererBase
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.tobago.renderkit.RendererBase
org.apache.myfaces.tobago.internal.renderkit.renderer.DecodingInputRendererBase
org.apache.myfaces.tobago.internal.renderkit.renderer.LabelLayoutRendererBase
- Direct Known Subclasses:
MessageLayoutRendererBase
Manages the rendering of the label and the field together with different possibilities for
the position of the label (defined by
Attributes.labelLayout-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected abstract voidencodeBeginMessageField(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected voidencodeBeginSurroundingLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) voidencodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) voidencodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected abstract voidencodeEndMessageField(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected voidencodeEndSurroundingLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected voidencodeLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, TobagoResponseWriter writer, LabelLayout labelLayout) protected abstract StringgetFieldId(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) Methods inherited from class org.apache.myfaces.tobago.internal.renderkit.renderer.DecodingInputRendererBase
decode, setSubmittedValueMethods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
encodeReload, getConvertedValue, getCurrentValue, getResponseWriter, onComponentCreatedMethods inherited from class javax.faces.render.Renderer
convertClientId, getRendersChildren
-
Constructor Details
-
LabelLayoutRendererBase
public LabelLayoutRendererBase()
-
-
Method Details
-
encodeBegin
public void encodeBegin(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeBeginin classjavax.faces.render.Renderer- Throws:
IOException
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEndin classjavax.faces.render.Renderer- Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeChildrenin classjavax.faces.render.Renderer- Throws:
IOException
-
encodeBeginMessageField
protected abstract void encodeBeginMessageField(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException - Throws:
IOException
-
encodeEndMessageField
protected abstract void encodeEndMessageField(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException - Throws:
IOException
-
encodeBeginSurroundingLabel
protected void encodeBeginSurroundingLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException - Throws:
IOException
-
encodeEndSurroundingLabel
protected void encodeEndSurroundingLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException - Throws:
IOException
-
encodeLabel
protected void encodeLabel(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, TobagoResponseWriter writer, LabelLayout labelLayout) throws IOException - Throws:
IOException
-
getFieldId
protected abstract String getFieldId(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component)
-