The Click Selector component is designed as an
example of how to build a simple component, slightly more complex
than a momentary button. It is not really designed to be used, since
its value is limited to situations with three choices. While we
certainly don't recommend using something more complex if your task
is simple, for real applications, you will find more flexibility
using an integer-based potentiometer (FISPot)
with minimum and maximum values. That would allow the user to manipulate
the setting by turning the knob, or, if you wanted to provide hot
spots to jump immediately to values, you could define hot spot buttons
and use the setVal()
method of the potentiometer to change its value. |