Package PamView.sliders
Class PamSliderScale
java.lang.Object
PamView.sliders.PamSliderScale
- Direct Known Subclasses:
 PamSliderLinearScale,PamSliderLogScale
Methods for changing the scale of sliders. Will do linear and log
 but others also possible.
- Author:
 - dg50
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionabstract doublegetValue(int oldValue, int minValue, int maxValue) Interpret the old value and turn it into a new value. 
- 
Constructor Details
- 
PamSliderScale
public PamSliderScale() 
 - 
 - 
Method Details
- 
getValue
public abstract double getValue(int oldValue, int minValue, int maxValue) Interpret the old value and turn it into a new value.- Parameters:
 oldValue- old value from sliderminValue- min value from slidermaxValue- max value from slider- Returns:
 - interpreted value.
 
 
 -