Class AlignSliderWithBar
java.lang.Object
com.jackmeng.halcyoninae.cosmos.components.AlignSliderWithBar
- All Implemented Interfaces:
EventListener
,ChangeListener
This class aligns a ProgressSlider with a ProgressBar.
- Since:
- 3.0
- Author:
- Jack Meng
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAlignSliderWithBar
(JSlider slider, JProgressBar bar) Constructs the AlignSliderWithBar object instance. -
Method Summary
-
Field Details
-
slider
-
progressBar
-
-
Constructor Details
-
AlignSliderWithBar
Constructs the AlignSliderWithBar object instance.- Parameters:
slider
- The Sliderbar
- The progress bar
-
-
Method Details
-
stateChanged
- Specified by:
stateChanged
in interfaceChangeListener
- Parameters:
e
-
-