Class CompYIQSliders
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----java.awt.Panel
|
+----UpdatableComponentImpl
|
+----CompYIQSliders
- class CompYIQSliders
- extends UpdatableComponentImpl
- implements SliderListener
This class produces an updatable component that contains a set of 3
YIQ sliders.
- See Also:
- SliderListener, UpdatableComponentImpl
-
sliderI
- I slider control.
-
sliderQ
- Q slider control.
-
sliderY
- Y slider control.
-
CompYIQSliders(FrameYIQ)
- Constructs updatable component that contains 3 YIQ slider controls.
-
minimumSize()
- Overrides the default minimumSize() method.
-
preferredSize()
- Overrides the default preferredSize() method.
-
sliderAdjusted(int, float)
- This method implements one of the SliderListener interface methods.
-
sliderAdjusted(int, int)
- This method implements one of the SliderListener interface methods.
-
update()
- Self-update method.
sliderY
Slider sliderY
- Y slider control.
sliderI
Slider sliderI
- I slider control.
sliderQ
Slider sliderQ
- Q slider control.
CompYIQSliders
public CompYIQSliders(FrameYIQ parent)
- Constructs updatable component that contains 3 YIQ slider controls.
- Parameters:
- parent - parent frame reference
update
public void update()
- Self-update method. It is called when the component has
to be updated.
- Overrides:
- update in class UpdatableComponentImpl
sliderAdjusted
public void sliderAdjusted(int sliderID,
float value)
- This method implements one of the SliderListener interface methods.
- Parameters:
- sliderID - indicates which slider control has been adjusted.
- value - the new value of the slider control.
sliderAdjusted
public void sliderAdjusted(int sliderID,
int value)
- This method implements one of the SliderListener interface methods.
- Parameters:
- sliderID - indicates which slider control has been adjusted.
- value - the new value of the slider control.
minimumSize
public Dimension minimumSize()
- Overrides the default minimumSize() method.
- Returns:
- new Dimension
- Overrides:
- minimumSize in class Container
preferredSize
public Dimension preferredSize()
- Overrides the default preferredSize() method.
- Returns:
- new Dimension
- Overrides:
- preferredSize in class Container