Interface Scale

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultScale

public interface Scale extends Serializable
This interface allows the user to define a graduation between 0.0 and 1.0 whose movement are proportionnal to a bounded value. Created: Mon Apr 22 16:36:05 2002
Version:
$Revision$
Author:
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getValueAsRGB(double value)
     
    double
    getValueAsScale(double value)
    Get the corresponding value between 0.0 and 1.0.
  • Method Details

    • getValueAsScale

      double getValueAsScale(double value)
      Get the corresponding value between 0.0 and 1.0.
      Parameters:
      value - value to get scale
      Returns:
      scale value
    • getValueAsRGB

      int getValueAsRGB(double value)