org.sakaiproject.tool.section.jsf
Class HtmlSortHeaderRenderer

java.lang.Object
  extended byjavax.faces.render.Renderer
      extended byorg.apache.myfaces.renderkit.html.HtmlRenderer
          extended byorg.apache.myfaces.renderkit.html.HtmlLinkRendererBase
              extended byorg.sakaiproject.tool.section.jsf.HtmlSortHeaderRenderer

public class HtmlSortHeaderRenderer
extends org.apache.myfaces.renderkit.html.HtmlLinkRendererBase

Based on org.apache.myfaces.custom.sortheader.HtmlSortHeaderRenderer. Modified to better distinguish the current sort column and to use an image file to indicate direction.

Author:
Josh Holtzman

Field Summary
static String CURRENT_SORT_STYLE
           
static String NOT_CURRENT_SORT_STYLE
           
 
Fields inherited from class org.apache.myfaces.renderkit.html.HtmlLinkRendererBase
URL_STATE_MARKER, URL_STATE_MARKER_LEN
 
Constructor Summary
HtmlSortHeaderRenderer()
           
 
Method Summary
 void encodeBegin(FacesContext facesContext, UIComponent component)
           
 void encodeEnd(FacesContext facesContext, UIComponent component)
           
 
Methods inherited from class org.apache.myfaces.renderkit.html.HtmlLinkRendererBase
decode, encodeChildren, getRendersChildren, getStyle, getStyleClass, renderCommandLinkStart, renderJavaScriptAnchorStart, renderLinkEnd, renderNonJavaScriptAnchorStart, renderOutputLinkStart
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, getConvertedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CURRENT_SORT_STYLE

public static final String CURRENT_SORT_STYLE
See Also:
Constant Field Values

NOT_CURRENT_SORT_STYLE

public static final String NOT_CURRENT_SORT_STYLE
See Also:
Constant Field Values
Constructor Detail

HtmlSortHeaderRenderer

public HtmlSortHeaderRenderer()
Method Detail

encodeBegin

public void encodeBegin(FacesContext facesContext,
                        UIComponent component)
                 throws IOException
Throws:
IOException

encodeEnd

public void encodeEnd(FacesContext facesContext,
                      UIComponent component)
               throws IOException
Throws:
IOException