Lets the user select a value from a range of values by dragging a graphical handle between predefined end points. The range of values is represented as a line. In addition to dragging, use of tap gesture is also supported. Sliders are typically used in settings and for controlling a music track or video playback.
Slider elements
Element | Description |
---|---|
Label | A title of the slider, for example the name of the setting – "Brightness". Label is optional. |
Track | A line that represents a full range of values from minimum to maximum. Track has a fill that goes from left end to the handle. The number of steps between the end points on the left and on the right can be defined per application. |
Handle | The interactive element on the track used for changing values. Its position on the track indicates the current value. The handle moves from left to right when the value increases. |
Min and max icons | These icons indicate visually the value of minimum and maximum setting. Use of the min and max icons are optional. Note: min/max icons are not part of the LWUIT slider component, but can be added easily. |
Min and max labels | These labels indicate textually the value of minimum and maximum setting. Use of min and max labels are optional. Min and max icons and labels are not used at the same time. Note: min/max labels are not part of the LWUIT slider component, but can be added easily. |