-
Enhancement
-
Resolution: Won't Fix
-
P5
-
None
-
1.4.0
-
None
-
generic
-
generic
I have encountered a situation where it would be useful to have a JSlider with
2 or more slider knobs to position along the slider range. I have found 2 other
posts to the Java Developers' Forum requesting a similar feature which seems
to indicate that this would be widely used. In general, it would seem to be
very useful for applications which require that the user be able to modify a set
of keyframes or markers along an interval. Ideally the user would be able to
add new knobs, and the application programmer should be able to store and keep
track of all the knobs and their values as they are updated by sliding back and
forth.
There should also be some option which prevents knobs from moving in front of of
behind other knobs. Thus, if you have a set of knobs along the slider labeled
1, 2, and 3 and arranged in order from left to right, then you should not be
able to move slider knob 3 behind slider knob 2... (I.e. you can't rearrange
them to be in order 1, 3, 2.)
Anyway, I think this would be a useful addition to the core Swing API, but for
the time being I will have to hack up my own implementation, using just basic
Shape primitives.
Thanks.
2 or more slider knobs to position along the slider range. I have found 2 other
posts to the Java Developers' Forum requesting a similar feature which seems
to indicate that this would be widely used. In general, it would seem to be
very useful for applications which require that the user be able to modify a set
of keyframes or markers along an interval. Ideally the user would be able to
add new knobs, and the application programmer should be able to store and keep
track of all the knobs and their values as they are updated by sliding back and
forth.
There should also be some option which prevents knobs from moving in front of of
behind other knobs. Thus, if you have a set of knobs along the slider labeled
1, 2, and 3 and arranged in order from left to right, then you should not be
able to move slider knob 3 behind slider knob 2... (I.e. you can't rearrange
them to be in order 1, 3, 2.)
Anyway, I think this would be a useful addition to the core Swing API, but for
the time being I will have to hack up my own implementation, using just basic
Shape primitives.
Thanks.