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
public abstract class LabelLayoutRendererBase extends DecodingInputRendererBase
Manages the rendering of the label and the field together with different possibilities for the position of the label (defined byAttributes.labelLayout
-
-
Constructor Summary
Constructors Constructor Description LabelLayoutRendererBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidencodeBegin(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, setSubmittedValue
-
Methods inherited from class org.apache.myfaces.tobago.renderkit.RendererBase
encodeReload, getConvertedValue, getCurrentValue, getResponseWriter, onComponentCreated
-
-
-
-
Method Detail
-
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)
-
-