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 TypeMethodDescriptionvoid
encodeBegin
(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected abstract void
encodeBeginMessageField
(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected void
encodeBeginSurroundingLabel
(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) void
encodeChildren
(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) void
encodeEnd
(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected abstract void
encodeEndMessageField
(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected void
encodeEndSurroundingLabel
(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) protected void
encodeLabel
(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component, TobagoResponseWriter writer, LabelLayout labelLayout) protected abstract String
getFieldId
(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
Methods 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:
encodeBegin
in classjavax.faces.render.Renderer
- Throws:
IOException
-
encodeEnd
public void encodeEnd(javax.faces.context.FacesContext facesContext, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeEnd
in classjavax.faces.render.Renderer
- Throws:
IOException
-
encodeChildren
public void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component) throws IOException - Overrides:
encodeChildren
in 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)
-