Class Hierarchy All Classes All Fields and Methods

 

Class com.ibm.faces.renderkit.html_extended.SpinnerRenderer

java.lang.Object
        javax.faces.render.Renderer
                com.sun.faces.renderkit.html_basic.HtmlBasicRenderer
                        com.ibm.faces.renderkit.html_extended.SpinnerRenderer

public class SpinnerRenderer
implements IScriptContributor
extends HtmlBasicRenderer

Renderer for UIInputHelper component. It creates two "spinner" images (arrow up and arrow down), which when clicked, change the value of the input control this helper is connected to.

Tags:
Components: UIInputHelper

Constructor Index
Constructor Description
SpinnerRenderer()  

Method Index
Method Description
void contributeScript(FacesContext, UIComponent)  
void encodeBegin(FacesContext, UIComponent) Renders the ending of the component.
void encodeEnd(FacesContext, UIComponent)  

 

Constructors

 

SpinnerRenderer

public SpinnerRenderer() 

 

Methods

 

contributeScript

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

 

encodeBegin

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

Renders the ending of the component.

Renders the entire component.

Creates an IMG tag for an image with two arrows (up and down). Adds an image map to this image, so that mouse clicks on either arrow can be distinguished. Sets JavaScript handlers for mouseclick events.

 

encodeEnd

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

Class Hierarchy All Classes All Fields and Methods