metricsOverlay.model.mappings
Class InterpolationStrategy
java.lang.Object
metricsOverlay.model.mappings.InterpolationStrategy
- All Implemented Interfaces:
- ITyped
- Direct Known Subclasses:
- ExponentialIStrategy, LinearIStrategy, LogIStrategy
public abstract class InterpolationStrategy
- extends java.lang.Object
- implements ITyped
This class represents an abstract interpolation strategy for interpolating
between a metric value and a display value.
- Version:
- 10/8/09
- Author:
- Matthew Harward
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InterpolationStrategy
public InterpolationStrategy()
- All non abstract subclasses must have a blank constructor.
InterpolationStrategy
public InterpolationStrategy(double dMax,
double dMin,
double mMax,
double mMin)
getInterpolatedValue
public abstract int getInterpolatedValue(java.lang.String value)
getType
public abstract java.lang.String getType()
- Specified by:
getType
in interface ITyped
- Returns:
- A succinct String description of the object.
setMinMax
public void setMinMax(double dMax,
double dMin,
double mMax,
double mMin)