Class Hierarchy All Classes All Fields and Methods
Class com.ibm.faces.renderkit.html_extended.SliderRenderer
java.lang.Object javax.faces.render.Renderer com.sun.faces.renderkit.html_basic.HtmlBasicRenderer com.ibm.faces.renderkit.html_extended.SliderRendererpublic class SliderRenderer
implements IScriptContributor
extends HtmlBasicRendererRenderer for UIInputHelper component. It creates an image, which when clicked, pops up a Slider control.
Tags:
Components: UIInputHelper
Constructor Index Constructor Description SliderRenderer()
Method Index Method Description void contributeScript(FacesContext, UIComponent) void encodeBegin(FacesContext, UIComponent) Renders the ending of the component. void encodeEnd(FacesContext, UIComponent)
Constructors
SliderRenderer
public SliderRenderer()
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.
- Instantiates a JavaScript Slider Object (from a JS library).
- Sets all required attributes of the object according to component's attributes.
- Creates an IMG tag for a "helper" image (little arrow pointing down) and sets its onclick event handler to pop up the Slider Object.
- 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