| org.sakaiproject.tool.assessment.jsf.renderer.AlphaIndexRenderer
AlphaIndexRenderer | public class AlphaIndexRenderer extends Renderer (Code) | | Description:
Render an alphabetical index. Makes any letter that exists in the
initials parameter a link.
Copyright: Copyright (c) 2004
Organization: Sakai Project
author: Ed Smiley version: $Id: AlphaIndexRenderer.java 9268 2006-05-10 21:27:24Z daisyf@stanford.edu $ |
Method Summary | |
public void | decode(FacesContext context, UIComponent component) | public void | encodeBegin(FacesContext context, UIComponent component) | public void | encodeChildren(FacesContext context, UIComponent component) | public void | encodeEnd(FacesContext context, UIComponent component) Render an alphabetical index. | public boolean | supportsComponentType(UIComponent component) |
decode | public void decode(FacesContext context, UIComponent component)(Code) | | |
encodeBegin | public void encodeBegin(FacesContext context, UIComponent component) throws IOException(Code) | | |
encodeChildren | public void encodeChildren(FacesContext context, UIComponent component) throws IOException(Code) | | |
encodeEnd | public void encodeEnd(FacesContext context, UIComponent component) throws IOException(Code) | | Render an alphabetical index. Makes any letter that exists in the
initials parameter a link. Any other is simply displayed.
Example:
| <a href='#A'><b>A</b></a> | <b>B</b>...
Parameters: context - FacesContext for the request we are processing Parameters: component - UIComponent to be rendered throws: IOException - if an input/output error occurs while rendering throws: NullPointerException - if context or component is null |
supportsComponentType | public boolean supportsComponentType(UIComponent component)(Code) | | |
|
|