Class PamSliderScale

java.lang.Object
PamView.sliders.PamSliderScale
Direct Known Subclasses:
PamSliderLinearScale, PamSliderLogScale

public abstract class PamSliderScale extends Object
Methods for changing the scale of sliders. Will do linear and log but others also possible.
Author:
dg50
  • 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 slider
      minValue - min value from slider
      maxValue - max value from slider
      Returns:
      interpreted value.