Looking for knob or slider with integrated level indicator
The software I'm working on controls the operation of a breath simulator machine, including such parameters as breath rate and exhaled CO2 concentration etc. Right now, the settings are read from a script but aren't shown in the UI and can't be changed on the fly by the user. At some point, I'd like to write a GUI component that would have this functionality: e.g. let the user see what the current breath rate is and, optionally, tweak the value.
As far as UI design is concerned, the challenge is that the system may take about ten seconds or longer to adjust to the new setpoint. In addition to numeric values, it would be nice to show both the setpoint and the actual measurement graphically, in a way that's easy to understand.
There are some examples of sliders in Swing Set Demo. There the slit is filled with a different color from the low value to the slider position. Is there a way to control the length of that color bar independently of the slider position? Or is there something similar out there that would achieve the same goal?
As far as UI design is concerned, the challenge is that the system may take about ten seconds or longer to adjust to the new setpoint. In addition to numeric values, it would be nice to show both the setpoint and the actual measurement graphically, in a way that's easy to understand.
There are some examples of sliders in Swing Set Demo. There the slit is filled with a different color from the low value to the slider position. Is there a way to control the length of that color bar independently of the slider position? Or is there something similar out there that would achieve the same goal?
