All Packages  This Package  Class Hierarchy  Class Search  Index

Class kh.util.LinearScaledValue
java.lang.Object
   |
   +----java.util.Observable
           |
           +----kh.util.ObservableNamedValue
                   |
                   +----kh.util.DependantValue
                           |
                           +----kh.util.LinearScaledValue

  Summary

public class  LinearScaledValue
     extends kh.util.DependantValue
{
          // Constructors 1
     public LinearScaledValue(ObservableNamedValue, Object, int, int, double, double);

          // Methods 1
     public double getValue() throws Exception;
}

This class takes another NamedValue and applies a linear scaling of that value




  Constructors

· LinearScaledValue

Summary  |  Top

   public LinearScaledValue(ObservableNamedValue source, 
                            Object name, 
                            int minIn, 
                            int maxIn, 
                            double minOut, 
                            double maxOut) 


  Methods

· getValue

Summary  |  Top
   public double getValue()  throws Exception

Update the value to reflect current reality and return the new value.

Overrides:
getValue in class DependantValue
Implements:
getValue in interface NamedValue


All Packages  This Package  Class Hierarchy  Class Search  Index
Freshly brewed Java API Documentation automatically generated with polardoc Version 1.0.7