The <r:inputNumberSlider> component provides a slider for changing numerical values. Optional features include control arrows to step through the values, a tool-tip to display the value while sliding, and a text field for typing the numerical value which can then be validated against the slider's range.
Info | Value |
---|---|
Component Type | org.richfaces.InputNumberSlider |
Handler Class | None |
Renderer Type | org.richfaces.InputNumberSliderRenderer |
Description | The <r:inputNumberSlider> component provides a slider for changing numerical values. Optional features include control arrows to step through the values, a tool-tip to display the value while sliding, and a text field for typing the numerical value which can then be validated against the slider's range. |
Name | Required | Type | Description |
---|---|---|---|
accesskey |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Access key that, when pressed, transfers focus to this element. |
binding |
false
| javax.el.ValueExpression
(must evaluate to javax.faces.component.UIComponent )
| The value binding expression used to wire up this component to a component property of a JavaBean class |
converter |
false
| javax.el.ValueExpression
(must evaluate to javax.faces.convert.Converter )
| Converter instance registered with this component. |
converterMessage |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| A ValueExpression enabled attribute that, if present, will be used as the text of the converter message, replacing any message that comes from the converter. |
decreaseClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Assigns one or more space-separated CSS class names to the decrease arrow element |
decreaseSelectedClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Assigns one or more space-separated CSS class names to the decrease arrow element selected |
delay |
false
| javax.el.ValueExpression
(must evaluate to int )
| Delay in pressed increase/decrease arrows in miliseconds. <br />Default value is "200". |
dir |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Direction indication for text that does not inherit directionality. Valid values are "LTR" (left-to-right) and "RTL" (right-to-left). |
disabled |
false
| javax.el.ValueExpression
(must evaluate to boolean )
| Flag indicating that this element must never receive focus or be included in a subsequent submit. Default value - "false" |
enableManualInput |
false
| javax.el.ValueExpression
(must evaluate to boolean )
| If set to "false" this attribute makes the text field "read-only", so the value can be changed only from a handle. <br />Default value is "true". |
handleClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Assigns one or more space-separated CSS class names to the handle element |
handleSelectedClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Assigns one or more space-separated CSS class names to the handle element selected |
handleType |
false
| javax.el.ValueExpression
(must evaluate to org.richfaces.component.InputNumberSliderHandleType )
| Tells how handle should look like. Possible values: arrow (default), bar |
id |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| The component identifier for this component. This value must be unique within the closest parent component that is a naming container. |
immediate |
false
| javax.el.ValueExpression
(must evaluate to boolean )
| Flag indicating that this component's value must be converted and validated immediately (that is, during Apply Request Values phase), rather than waiting until Process Validations phase. |
increaseClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Assigns one or more space-separated CSS class names to the increase arrow element |
increaseSelectedClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Assigns one or more space-separated CSS class names to the increase arrow element selected |
inputClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Assigns one or more space-separated CSS class names to the component input field |
inputPosition |
false
| javax.el.ValueExpression
(must evaluate to org.richfaces.component.InputNumberSliderInputPosition )
| If "right", the InputText Box would be rendered on the right side of the ruler. If "left", the InputText Box would be rendered on the left side of the ruler. If "top", the InputText Box would be rendered on the top of the ruler. If "bottom", the InputText Box would be rendered on the bottom of the ruler. |
inputSize |
false
| javax.el.ValueExpression
(must evaluate to int )
| Similar to the "Size" attribute of h:inputText. Default value is "3". |
label |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| A localized user presentable name for this component. |
lang |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Code describing the language used in the generated markup for this component. |
maxValue |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Attribute to set an "end" value. Default value is "100" |
maxlength |
false
| javax.el.ValueExpression
(must evaluate to java.lang.Integer )
| Specifies the maximum number of digits that could be entered into the input field. The maximum number is unlimited by default. If entered value exceeds the value specified in "maxValue" attribute than the slider takes a maximum value position. |
minValue |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Attribute to set the "start" value. Default value is "0" |
onblur |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when this element loses focus. |
onchange |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when this element loses focus and its value has been modified since gaining focus. |
onclick |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a pointer button is clicked over this element. |
ondblclick |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a pointer button is double clicked over this element. |
onfocus |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when this element receives focus. |
onkeydown |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a key is pressed down over this element. |
onkeypress |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a key is pressed and released over this element. |
onkeyup |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a key is released over this element. |
onmousedown |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a pointer button is pressed down over this element. |
onmousemove |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a pointer button is moved within this element. |
onmouseout |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a pointer button is moved away from this element. |
onmouseover |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a pointer button is moved onto this element. |
onmouseup |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when a pointer button is released over this element. |
onselect |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Javascript code executed when text within this element is selected by the user. |
rendered |
false
| javax.el.ValueExpression
(must evaluate to boolean )
| Flag indicating whether or not this component should be rendered (during Render Response Phase), or processed on any subsequent form submit. The default value for this property is true. |
required |
false
| javax.el.ValueExpression
(must evaluate to boolean )
| Flag indicating that the user is required to provide a submitted value for this input component. |
requiredMessage |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| A ValueExpression enabled attribute that, if present, will be used as the text of the validation message for the "required" facility, if the "required" facility is used. |
showArrows |
false
| javax.el.ValueExpression
(must evaluate to boolean )
| False value for this attribute makes increase/decrease arrows invisible. Default value is "false". |
showBoundaryValues |
false
| javax.el.ValueExpression
(must evaluate to boolean )
| If the min/max values are shown on the right/left borders of a control. Default value is "true". |
showInput |
false
| javax.el.ValueExpression
(must evaluate to boolean )
| False value for this attribute makes text a field invisible. Default value is "true". |
showTooltip |
false
| javax.el.ValueExpression
(must evaluate to boolean )
| If "true"the current value is shown in the tooltip when a handle control is in a "dragged" state. Default value is "true". |
step |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Parameter that determines a step between the nearest values while using a handle. Default value is "1". |
style |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| CSS style(s) to be applied when this component is rendered. |
styleClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup. |
tabindex |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Position of this element in the tabbing order for the current document. This value must be an integer between 0 and 32767. |
title |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Advisory title information about markup elements generated for this component. |
tooltipClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Assigns one or more space-separated CSS class names to the tooltip element of the handle |
trackClass |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| Assigns one or more space-separated CSS class names to the track slider element |
validator |
false
| javax.el.ValueExpression
(must evaluate to javax.faces.el.MethodBinding )
| MethodExpression representing a validator method that will be called during Process Validations to perform correctness checks on the value of this component. The expression must evaluate to a public method that takes FacesContext, UIComponent, and Object parameters, with a return type of void. |
validatorMessage |
false
| javax.el.ValueExpression
(must evaluate to java.lang.String )
| A ValueExpression enabled attribute that, if present, will be used as the text of the validator message, replacing any message that comes from the validator. |
value |
false
| javax.el.ValueExpression
(must evaluate to java.lang.Object )
| The current value of this component. |
valueChangeListener |
false
| javax.el.ValueExpression
(must evaluate to javax.faces.el.MethodBinding )
| MethodExpression representing a value change listener method that will be notified when a new value has been set for this input component. The expression must evaluate to a public method that takes a |
Output generated by Vdldoc View Declaration Language Documentation Generator.