org.apache.myfaces.shared_impl.renderkit.html
Class HtmlCheckboxRendererBase
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.shared_impl.renderkit.html.HtmlRenderer
org.apache.myfaces.shared_impl.renderkit.html.HtmlCheckboxRendererBase
- Direct Known Subclasses:
- HtmlCheckboxRenderer
public class HtmlCheckboxRendererBase
- extends HtmlRenderer
- Version:
- $Revision: 955214 $ $Date: 2010-06-16 07:16:02 -0500 (Wed, 16 Jun 2010) $
- Author:
- Thomas Spiegl (latest modification by $Author: jakobk $), Anton Koinov
Method Summary |
void |
decode(FacesContext facesContext,
UIComponent component)
|
void |
encodeEnd(FacesContext facesContext,
UIComponent uiComponent)
|
java.lang.Object |
getConvertedValue(FacesContext facesContext,
UIComponent component,
java.lang.Object submittedValue)
|
protected Converter |
getConverter(FacesContext facesContext,
UIComponent component)
Gets the converter for the given component rendered by this renderer. |
protected java.lang.String |
getLayout(UISelectMany selectMany)
|
protected boolean |
isDisabled(FacesContext facesContext,
UIComponent component)
|
protected java.lang.String |
renderCheckbox(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value,
boolean disabled,
boolean checked,
boolean renderId,
java.lang.Integer itemNum)
Renders the input item |
protected void |
renderCheckbox(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value,
java.lang.String label,
boolean disabled,
boolean checked,
boolean renderId)
Deprecated. |
void |
renderCheckboxList(FacesContext facesContext,
UISelectMany selectMany)
|
protected int |
renderGroupOrItemCheckbox(FacesContext facesContext,
UIComponent uiComponent,
SelectItem selectItem,
boolean useSubmittedValues,
java.util.Set lookupSet,
Converter converter,
boolean pageDirectionLayout,
java.lang.Integer itemNum)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlCheckboxRendererBase
public HtmlCheckboxRendererBase()
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent uiComponent)
throws java.io.IOException
- Overrides:
encodeEnd
in class Renderer
- Throws:
java.io.IOException
renderCheckboxList
public void renderCheckboxList(FacesContext facesContext,
UISelectMany selectMany)
throws java.io.IOException
- Throws:
java.io.IOException
getLayout
protected java.lang.String getLayout(UISelectMany selectMany)
renderGroupOrItemCheckbox
protected int renderGroupOrItemCheckbox(FacesContext facesContext,
UIComponent uiComponent,
SelectItem selectItem,
boolean useSubmittedValues,
java.util.Set lookupSet,
Converter converter,
boolean pageDirectionLayout,
java.lang.Integer itemNum)
throws java.io.IOException
- Parameters:
facesContext
- uiComponent
- selectItem
- useSubmittedValues
- lookupSet
- converter
- pageDirectionLayout
- itemNum
-
- Returns:
- the itemNum for the next option
- Throws:
java.io.IOException
renderCheckbox
@Deprecated
protected void renderCheckbox(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value,
java.lang.String label,
boolean disabled,
boolean checked,
boolean renderId)
throws java.io.IOException
- Deprecated.
- Throws:
java.io.IOException
renderCheckbox
protected java.lang.String renderCheckbox(FacesContext facesContext,
UIComponent uiComponent,
java.lang.String value,
boolean disabled,
boolean checked,
boolean renderId,
java.lang.Integer itemNum)
throws java.io.IOException
- Renders the input item
- Returns:
- the 'id' value of the rendered element
- Throws:
java.io.IOException
isDisabled
protected boolean isDisabled(FacesContext facesContext,
UIComponent component)
decode
public void decode(FacesContext facesContext,
UIComponent component)
- Overrides:
decode
in class Renderer
getConvertedValue
public java.lang.Object getConvertedValue(FacesContext facesContext,
UIComponent component,
java.lang.Object submittedValue)
throws ConverterException
- Overrides:
getConvertedValue
in class Renderer
- Throws:
ConverterException
getConverter
protected Converter getConverter(FacesContext facesContext,
UIComponent component)
- Gets the converter for the given component rendered by this renderer.
- Parameters:
facesContext
- component
-
- Returns:
Copyright © 2010 The Apache Software Foundation. All Rights Reserved.