org.apache.myfaces.shared.renderkit.html
Class HtmlRadioRendererBase
java.lang.Object
javax.faces.render.Renderer
org.apache.myfaces.shared.renderkit.html.HtmlRenderer
org.apache.myfaces.shared.renderkit.html.HtmlRadioRendererBase
public class HtmlRadioRendererBase
- extends HtmlRenderer
Method Summary |
void |
decode(FacesContext facesContext,
UIComponent uiComponent)
|
void |
encodeEnd(FacesContext facesContext,
UIComponent uiComponent)
|
Object |
getConvertedValue(FacesContext facesContext,
UIComponent uiComponent,
Object submittedValue)
|
protected String |
getLayout(UIComponent selectOne)
|
protected String |
getStyleClass(UISelectOne selectOne)
|
protected boolean |
isDisabled(FacesContext facesContext,
UIComponent uiComponent)
|
protected int |
renderGroupOrItemRadio(FacesContext facesContext,
UIComponent uiComponent,
SelectItem selectItem,
Object currentValue,
Converter converter,
boolean pageDirectionLayout,
Integer itemNum)
Renders the given SelectItem(Group) |
protected void |
renderRadio(FacesContext facesContext,
UIComponent uiComponent,
String value,
String label,
boolean disabled,
boolean checked,
boolean renderId)
Deprecated. |
protected String |
renderRadio(FacesContext facesContext,
UIInput uiComponent,
String value,
boolean disabled,
boolean checked,
boolean renderId,
Integer itemNum)
Renders the input item |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlRadioRendererBase
public HtmlRadioRendererBase()
encodeEnd
public void encodeEnd(FacesContext facesContext,
UIComponent uiComponent)
throws IOException
- Overrides:
encodeEnd
in class Renderer
- Throws:
IOException
getLayout
protected String getLayout(UIComponent selectOne)
getStyleClass
protected String getStyleClass(UISelectOne selectOne)
renderGroupOrItemRadio
protected int renderGroupOrItemRadio(FacesContext facesContext,
UIComponent uiComponent,
SelectItem selectItem,
Object currentValue,
Converter converter,
boolean pageDirectionLayout,
Integer itemNum)
throws IOException
- Renders the given SelectItem(Group)
- Returns:
- the itemNum for the next item
- Throws:
IOException
renderRadio
@Deprecated
protected void renderRadio(FacesContext facesContext,
UIComponent uiComponent,
String value,
String label,
boolean disabled,
boolean checked,
boolean renderId)
throws IOException
- Deprecated.
- Throws:
IOException
renderRadio
protected String renderRadio(FacesContext facesContext,
UIInput uiComponent,
String value,
boolean disabled,
boolean checked,
boolean renderId,
Integer itemNum)
throws IOException
- Renders the input item
- Returns:
- the 'id' value of the rendered element
- Throws:
IOException
isDisabled
protected boolean isDisabled(FacesContext facesContext,
UIComponent uiComponent)
decode
public void decode(FacesContext facesContext,
UIComponent uiComponent)
- Overrides:
decode
in class Renderer
getConvertedValue
public Object getConvertedValue(FacesContext facesContext,
UIComponent uiComponent,
Object submittedValue)
throws ConverterException
- Overrides:
getConvertedValue
in class Renderer
- Throws:
ConverterException
Copyright © 2014 The Apache Software Foundation. All rights reserved.