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.SpinnerRendererpublic class SpinnerRenderer
implements IScriptContributor
extends HtmlBasicRendererRenderer 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 IOExceptionRenders 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.
- Parameters
- context - FacesContext for the request we are processing
- component - UIComponent to be rendered
- Throws
- IOException if an input/output error occurs while rendering
- Overrides
- encodeBegin in class Renderer
- See Also
- encodeEnd
encodeEnd
public void encodeEnd(FacesContext context, UIComponent component) throws IOException
- Parameters
- context -
- component -
- Throws
- IOException
- Overrides
- encodeEnd in class HtmlBasicRenderer
- See Also
- encodeEnd
Class Hierarchy All Classes All Fields and Methods