Class Hierarchy All Classes All Fields and Methods

 

Class com.sun.faces.renderkit.html_basic.MenuRenderer

java.lang.Object
        javax.faces.render.Renderer
                com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
                        com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer
                                com.sun.faces.renderkit.html_basic.MenuRenderer

public class MenuRenderer
extends HtmlBasicInputRenderer

MenuRenderer is a class that renders the current value of UISelectOne or UISelectMany component as a list of menu options.

Constructor Index
Constructor Description
MenuRenderer()  

Method Index
Method Description
Object convertSelectManyValue(FacesContext, UISelectMany, String[])  
Object convertSelectOneValue(FacesContext, UISelectOne, String)  
void decode(FacesContext, UIComponent)  
void encodeBegin(FacesContext, UIComponent)  
void encodeChildren(FacesContext, UIComponent)  
void encodeEnd(FacesContext, UIComponent)  
Object getConvertedValue(FacesContext, UIComponent, Object)  
Object handleArrayCase(FacesContext, UISelectMany, Class, String[])  
Object handleListCase(FacesContext, String[])  
void renderOption(FacesContext, UIComponent, SelectItem)  
void writeDefaultSize(ResponseWriter, int)  

 

Constructors

 

MenuRenderer

public MenuRenderer() 

 

Methods

 

convertSelectManyValue

public Object convertSelectManyValue(FacesContext context,
                                     UISelectMany uiSelectMany,
                                     String[] newValues) throws ConverterException

 

convertSelectOneValue

public Object convertSelectOneValue(FacesContext context,
                                    UISelectOne uiSelectOne,
                                    String newValue) throws ConverterException

 

decode

public void decode(FacesContext context,
                   UIComponent component) 

 

encodeBegin

public void encodeBegin(FacesContext context,
                        UIComponent component) throws IOException

 

encodeChildren

public void encodeChildren(FacesContext context,
                           UIComponent component) throws IOException

 

encodeEnd

public void encodeEnd(FacesContext context,
                      UIComponent component) throws IOException

 

getConvertedValue

public Object getConvertedValue(FacesContext context,
                                UIComponent component,
                                Object submittedValue) throws ConverterException

 

handleArrayCase

protected Object handleArrayCase(FacesContext context,
                                 UISelectMany uiSelectMany,
                                 Class arrayClass,
                                 String[] newValues) throws ConverterException

 

handleListCase

protected Object handleListCase(FacesContext context,
                                String[] newValues) 

 

renderOption

protected void renderOption(FacesContext context,
                            UIComponent component,
                            SelectItem curItem) throws IOException

 

writeDefaultSize

protected void writeDefaultSize(ResponseWriter writer,
                                int itemCount) throws IOException

Class Hierarchy All Classes All Fields and Methods