![]() |
![]() |
![]() |
![]() |
Slider (JSlider)
A JSlider lets the user select a numeric value from a range of integer values. It can be drawn either horizontally or vertically. The user can specify the initial value for the slider, the minimum and maximum values, and the major and minor tick values. The user can also indicate whether ticks and/or labels should be drawn under the slider, whether the slider knob will automatically jump to the tick values, and whether the ticks are drawn in ascending or descending order.
A JSlider will generate a ChangeEvent when the Slider's knob is moved. By default, the event will only be fired when the knob's final position is selected. If the 'Fire Events While Adjusting' checkbox is selected, then events will be fired continuously as the knob is moved.
Data Representations, Inc. http://www.datarepresentations.com support@datarepresentations.com sales@datarepresentations.com |
![]() |
![]() |
![]() |
![]() |