22
D1535805 User Guide In-Room Control for Touch10. Produced June 2017 for CE9.0. © 2015–2017 Cisco Systems, Inc. All rights reserved
Spinner
Widgets
A spinner is used to step through a
list of values. You may use the two
buttons to increment or decrement
a number, or to step through a list of
options.
Use the
SetValue
command to add
text between the buttons.
Example of use: Set the desired
temperature in the room.
About Spinners
Events
Example: Press and release the decrement button of the spinner with
WidgetId = “spinner”.
Terminal mode
*e UserInterface Extensions Event Pressed Signal: “spinner:decrement”
** end
*e UserInterface Extensions Event Released Signal: “spinner:decrement”
** end
*e UserInterface Extensions Event Clicked Signal: “spinner:decrement”
** end
XML mode
<Event>
<UserInterface item=”1”>
<Extensions item=”1”>
<Widget item=”1”>
< A c t io n ite m = ”1”>
<WidgetId item=”1”>spinner</WidgetId>
<Value item=”1”>decrement</Value>
<Type item=”1”>clicked</Type>
</Action>
</Widget>
</Extensions>
</UserInterface>
</Event>
Pressed Triggered when
one of the spinner
buttons is pressed.
Value: <increment/
decrement>
Released Triggered when
one of the spinner
buttons is released.
Value: <increment/
decrement>
Clicked Triggered when
one of the spinner
buttons is released.
Value: <increment/
decrement>
Commands
Use the
SetValue
command to add
or update the text between the two
buttons.
Example: For the spinner with WidgetId = “spinner”, add the text “22”
between the spinner’s increment and decrement buttons.
xCommand UserInterface Extensions Widget SetValue WidgetId: “spinner”
Value: “22”