jas.hist.normalization
Class SimpleNormalizer

java.lang.Object
  extended by java.util.Observable
      extended by jas.hist.normalization.SimpleNormalizer
All Implemented Interfaces:
Normalizer
Direct Known Subclasses:
DataSourceNormalizer

public class SimpleNormalizer
extends Observable
implements Normalizer

A normalizer that normalizes by a set factor.

Version:
$Id: SimpleNormalizer.java 11553 2007-06-05 22:06:23Z duns $
Author:
tonyj

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


Copyright © 2000-2009 FreeHEP. All Rights Reserved.