jas.hist.test
Class StringGauss

java.lang.Object
  |
  +--java.util.Observable
        |
        +--jas.hist.test.Gauss
              |
              +--jas.hist.test.StringGauss
All Implemented Interfaces:
DataSource, HasStatistics, HasStyle, HasXMLRepresentation, Rebinnable1DHistogramData

public class StringGauss
extends Gauss


Inner classes inherited from class jas.hist.test.Gauss
Gauss.PaulStatistics
 
Fields inherited from class jas.hist.test.Gauss
MAXSIZE
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Constructor Summary
StringGauss(java.lang.String name, int entries, double max, double offX, double offY)
           
 
Method Summary
 java.lang.String[] getAxisLabels()
          Returns the axis labels.
 int getAxisType()
          Returns one of DOUBLE,INTEGER,STRING,DATE or DELTATIME
 int getBins()
          Returns the (suggested) number of bins to use
 boolean isRebinnable()
          Returns true if the data source is capable of recalculating the bin contents, or false of the interface is not-capable of recalculating the bin contents.
 
Methods inherited from class jas.hist.test.Gauss
getData, getMax, getMin, getSize, getStatistics, getStyle, getTitle, rebin, setSize, setStats, setStyle, writeAsXML
 
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

StringGauss

public StringGauss(java.lang.String name,
                   int entries,
                   double max,
                   double offX,
                   double offY)
Method Detail

getAxisType

public int getAxisType()
Description copied from interface: Rebinnable1DHistogramData
Returns one of DOUBLE,INTEGER,STRING,DATE or DELTATIME
Overrides:
getAxisType in class Gauss

isRebinnable

public boolean isRebinnable()
Description copied from interface: Rebinnable1DHistogramData
Returns true if the data source is capable of recalculating the bin contents, or false of the interface is not-capable of recalculating the bin contents. In the former case the values returned by getMin, getMax and getBins are just taken to be suggestions, in the latter case they are taken to be fixed in stone.
Overrides:
isRebinnable in class Gauss
Following copied from interface: jas.hist.Rebinnable1DHistogramData
Returns:
True if the datasource is rebinnable

getAxisLabels

public java.lang.String[] getAxisLabels()
Description copied from interface: Rebinnable1DHistogramData
Returns the axis labels. Only relevant if the axisType is STRING, otherwise can return null
Overrides:
getAxisLabels in class Gauss
Following copied from interface: jas.hist.Rebinnable1DHistogramData
Returns:
An array of bin labels to use on the X axis

getBins

public int getBins()
Description copied from interface: Rebinnable1DHistogramData
Returns the (suggested) number of bins to use
Overrides:
getBins in class Gauss