jas.hist.normalization
Class SimpleNormalizer

java.lang.Object
  |
  +--java.util.Observable
        |
        +--jas.hist.normalization.SimpleNormalizer
All Implemented Interfaces:
Normalizer
Direct Known Subclasses:
DataSourceNormalizer

public class SimpleNormalizer
extends java.util.Observable
implements Normalizer

A normalizer that normalizes by a set factor.


Constructor Summary
SimpleNormalizer(double factor)
          Creates new SimpleNormalizer
 
Method Summary
 double getNormalizationFactor()
          The displayed data will be divided by this factor
protected  void normalizationChanged()
           
 void setFactor(double factor)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleNormalizer

public SimpleNormalizer(double factor)
Creates new SimpleNormalizer
Method Detail

setFactor

public void setFactor(double factor)

normalizationChanged

protected void normalizationChanged()

getNormalizationFactor

public double getNormalizationFactor()
Description copied from interface: Normalizer
The displayed data will be divided by this factor
Specified by:
getNormalizationFactor in interface Normalizer