Slider
UI Object for a slider. The slider can be connected to a parameter of a module and will set that parameter when the slider is dragged.

Two Slider Views
Example XML definition
<object
class="Slider"
module="MY_MODULE"
parameter="p"
x="0"
y="0"
/>
Attributes
| Attribute | Description | Default |
|---|---|---|
| class | must be "Slider" | |
| title | title of the slider | module.parameter |
| x | placement of the object | |
| y | placement of the object | |
| w | width of the object | 1 |
| h | height of the object | 1 |
| module | name of the module where the parameter will be controlled | |
| parameter | name of the paramater to control | |
| select | index of the element of the parameter if array or matrix | [0,0] |
| min | minimum value | 0.0 |
| max | maximum value | 1.0 |
| Attributes without default values must be specified except where described above. | ||
Author
Christian Balkenius
Lund University Cognitive Science
christian.balkenius@lucs.lu.se
Files
Slider.js