-
Enhancement
-
Resolution: Won't Fix
-
P4
-
None
-
6
-
x86
-
windows_xp
A DESCRIPTION OF THE REQUEST :
I have been using Java for almost 10 years and one thing that keeps coming up in GUI development with Swing is a need for a JSlider that allows more than one knob. I have heard this need from many others and have done searches and found a few rough attempts but I am positive it is something that could really be great if it were in the core.
JUSTIFICATION :
Usually a JSlider is used to represent a range of values. This is usually assiciated with a min, max, current. The values that the knob can represent is only one value but if a sub-range needs to be set two knobs would be needed. Also there is many reasons that 3 knobs could be used (for a buffer around a current slider).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I forsee making this new JSlider have the ability to allow as many knobs as the developer desires (or a high maximum like 5 or 10). Then allow all the knobs to be set a color (so users can differentiate them). Also a tooltip for each knob may be useful too. Also you may want to incorporate a "lock" feature that allows all sliders to be moved relative to each other when the lock is set and any one slider is moved (by the user). Moreover, they should all be able to report their current value via a method call. On a final note there could also be some set methods that disallow or allow the knobs to cross-over one another, since in some instances the knobs might be freely moved the entire range and in other instances (like when settting bounds) the knobs would be in a certain order and not allowed to hop over one another.
CUSTOMER SUBMITTED WORKAROUND :
There are some rough attempts out there but issues such as the knobs sliding past one another or knobs not representing the current value correctly were issues.
###@###.### 2005-05-27 18:55:13 GMT
I have been using Java for almost 10 years and one thing that keeps coming up in GUI development with Swing is a need for a JSlider that allows more than one knob. I have heard this need from many others and have done searches and found a few rough attempts but I am positive it is something that could really be great if it were in the core.
JUSTIFICATION :
Usually a JSlider is used to represent a range of values. This is usually assiciated with a min, max, current. The values that the knob can represent is only one value but if a sub-range needs to be set two knobs would be needed. Also there is many reasons that 3 knobs could be used (for a buffer around a current slider).
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
I forsee making this new JSlider have the ability to allow as many knobs as the developer desires (or a high maximum like 5 or 10). Then allow all the knobs to be set a color (so users can differentiate them). Also a tooltip for each knob may be useful too. Also you may want to incorporate a "lock" feature that allows all sliders to be moved relative to each other when the lock is set and any one slider is moved (by the user). Moreover, they should all be able to report their current value via a method call. On a final note there could also be some set methods that disallow or allow the knobs to cross-over one another, since in some instances the knobs might be freely moved the entire range and in other instances (like when settting bounds) the knobs would be in a certain order and not allowed to hop over one another.
CUSTOMER SUBMITTED WORKAROUND :
There are some rough attempts out there but issues such as the knobs sliding past one another or knobs not representing the current value correctly were issues.
###@###.### 2005-05-27 18:55:13 GMT