hep.analysis.partition
Class StringPartition

java.lang.Object
  |
  +--java.util.Observable
        |
        +--hep.analysis.Partition
              |
              +--hep.analysis.partition.Abstract1DPartition
                    |
                    +--hep.analysis.partition.OneDDelegatingPartition
                          |
                          +--hep.analysis.partition.StringPartition
All Implemented Interfaces:
OneDDataSource, OneDFillable, RangeChangeListener, java.io.Serializable, StatisticsProvider, TwoDFillable

public final class StringPartition
extends OneDDelegatingPartition

A String partition creates bins based on names rather than on a continuous variable.

See Also:
Serialized Form

Fields inherited from class hep.analysis.Partition
DATE, DELTATIME, DOUBLE, HORIZONTAL_AXIS, INTEGER, m_owner, STRING, VERTICAL_AXIS
 
Constructor Summary
StringPartition()
           
StringPartition(BinType type)
           
 
Method Summary
 Partition makeCopy()
          Make a copy of this partition, maintaining the partition class and initial state, but not the data stored in the partition.
 void rangeChanged(double min, double max)
          Implementation of RangeChangeListener
 
Methods inherited from class hep.analysis.partition.OneDDelegatingPartition
clear, fill, fill, fill, fill, fillW, fillW, fillW, fillW, getAxisLabels, getAxisType, getBins, getMax, getMin, getMinusErrors, getNumberOfBins, getPlusErrors, getStatistics, hasAsymmetricErrorBars, hasSimpleQuadraticErrorBars, isRebinnable, setBinInfo, setBinning, setDataSource, setFillable, setStatisticsProvider
 
Methods inherited from class hep.analysis.partition.Abstract1DPartition
clearDataChanged, clearRangeChanged, done, fill, fill, fillW, fillW, getBin, getBinAt, getBinAt, getBinAt, getBinAt, getError, getMinusError, getPlusError, notifyObservers, setDataAndRangeChanged, setDataAndRangeChangedNow, setDataChanged, setRangeChanged
 
Methods inherited from class hep.analysis.Partition
destroy, getStyle, setStyle
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringPartition

public StringPartition()

StringPartition

public StringPartition(BinType type)
Method Detail

rangeChanged

public void rangeChanged(double min,
                         double max)
Description copied from class: Abstract1DPartition
Implementation of RangeChangeListener
Overrides:
rangeChanged in class Abstract1DPartition

makeCopy

public Partition makeCopy()
Description copied from class: Partition
Make a copy of this partition, maintaining the partition class and initial state, but not the data stored in the partition.
Overrides:
makeCopy in class Partition