com.sun.rave.web.ui.renderer
Class OrderableListRenderer

java.lang.Object
  extended by javax.faces.render.Renderer
      extended by com.sun.rave.web.ui.renderer.ListRendererBase
          extended by com.sun.rave.web.ui.renderer.OrderableListRenderer

public class OrderableListRenderer
extends ListRendererBase


Field Summary
 
Fields inherited from class com.sun.rave.web.ui.renderer.ListRendererBase
SEPARATOR, STRING_ATTRIBUTES
 
Constructor Summary
OrderableListRenderer()
           
 
Method Summary
 void decode(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Retrieve user input from the UI.
 void encodeChildren(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Overrides encodeChildren of Renderer to do nothing.
 void encodeEnd(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component)
          Render the orderable list component
 
Methods inherited from class com.sun.rave.web.ui.renderer.ListRendererBase
decode, getOnChangeJavaScript, getRendersChildren, renderHiddenValue, renderList, renderOpenEncloser
 
Methods inherited from class javax.faces.render.Renderer
convertClientId, encodeBegin, getConvertedValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OrderableListRenderer

public OrderableListRenderer()
Method Detail

encodeEnd

public void encodeEnd(javax.faces.context.FacesContext context,
                      javax.faces.component.UIComponent component)
               throws java.io.IOException

Render the orderable list component

Overrides:
encodeEnd in class javax.faces.render.Renderer
Parameters:
context - FacesContext for the current request
component - UIComponent to be rendered end should be rendered
Throws:
java.io.IOException - if an input/output error occurs

decode

public void decode(javax.faces.context.FacesContext context,
                   javax.faces.component.UIComponent component)
Retrieve user input from the UI.

Overrides:
decode in class ListRendererBase
Parameters:
context - The FacesContext of this request
component - The component associated with the renderer

encodeChildren

public void encodeChildren(javax.faces.context.FacesContext context,
                           javax.faces.component.UIComponent component)
                    throws java.io.IOException
Overrides encodeChildren of Renderer to do nothing. This renderer renders its own children, but not through this method.

Overrides:
encodeChildren in class ListRendererBase
Parameters:
context - The FacesContext of the request
component - The component associated with the renderer. Must be a subclass of ListSelector.
Throws:
java.io.IOException