jas2.hep
Class Partition2DAdapter
- java.lang.Object
-
- java.util.Observable
-
- jas2.hist.util.ObserverAdapter
-
- jas2.hep.PartitionAdapter
-
- jas2.hep.Partition2DAdapter
-
- All Implemented Interfaces:
- DataSource, HasStatistics, HasStyle, Rebinnable2DHistogramData, java.util.Observer
public class Partition2DAdapter extends PartitionAdapter implements Rebinnable2DHistogramData, HasStyle
-
-
Constructor Summary
Constructors Constructor and Description Partition2DAdapter(hepjas.analysis.partition.Abstract2DPartition p)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description JASHistStylegetStyle()This method is called by the plot to determine what style to be used for a plot.java.lang.String[]getXAxisLabels()intgetXAxisType()intgetXBins()doublegetXMax()doublegetXMin()java.lang.String[]getYAxisLabels()intgetYAxisType()intgetYBins()doublegetYMax()doublegetYMin()booleanisRebinnable()double[][][]rebin(int xbins, double xmin, double xmax, int ybins, double ymin, double ymax, boolean wantErrors, boolean hurry, boolean overflow)-
Methods inherited from class jas2.hep.PartitionAdapter
create, create, getStatistics, getTitle, notifyObservers, toString
-
Methods inherited from class jas2.hist.util.ObserverAdapter
addObserver, clearObservable, deleteObserver, deleteObservers, setObservable, update
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jas2.hist.DataSource
getTitle
-
-
-
-
Constructor Detail
-
Partition2DAdapter
public Partition2DAdapter(hepjas.analysis.partition.Abstract2DPartition p)
-
-
Method Detail
-
rebin
public double[][][] rebin(int xbins, double xmin, double xmax, int ybins, double ymin, double ymax, boolean wantErrors, boolean hurry, boolean overflow)- Specified by:
rebinin interfaceRebinnable2DHistogramData
-
isRebinnable
public boolean isRebinnable()
- Specified by:
isRebinnablein interfaceRebinnable2DHistogramData
-
getXMin
public double getXMin()
- Specified by:
getXMinin interfaceRebinnable2DHistogramData
-
getXMax
public double getXMax()
- Specified by:
getXMaxin interfaceRebinnable2DHistogramData
-
getYMin
public double getYMin()
- Specified by:
getYMinin interfaceRebinnable2DHistogramData
-
getYMax
public double getYMax()
- Specified by:
getYMaxin interfaceRebinnable2DHistogramData
-
getXBins
public int getXBins()
- Specified by:
getXBinsin interfaceRebinnable2DHistogramData
-
getYBins
public int getYBins()
- Specified by:
getYBinsin interfaceRebinnable2DHistogramData
-
getXAxisType
public int getXAxisType()
- Specified by:
getXAxisTypein interfaceRebinnable2DHistogramData
-
getYAxisType
public int getYAxisType()
- Specified by:
getYAxisTypein interfaceRebinnable2DHistogramData
-
getXAxisLabels
public java.lang.String[] getXAxisLabels()
- Specified by:
getXAxisLabelsin interfaceRebinnable2DHistogramData
-
getYAxisLabels
public java.lang.String[] getYAxisLabels()
- Specified by:
getYAxisLabelsin interfaceRebinnable2DHistogramData
-
getStyle
public JASHistStyle getStyle()
Description copied from interface:HasStyleThis method is called by the plot to determine what style to be used for a plot. It is the programmers responsibility to return the correct subclass of JASHistStyle corresponding to the type of data being implemented by the DataSource.- Specified by:
getStylein interfaceHasStyle- Returns:
- The style to be used, or null to use the default style.
- See Also:
JASHist1DHistogramStyle,JASHist2DHistogramStyle,JASHistScatterPlotStyle
-
-
DataMelt 3.0 © DataMelt by jWork.ORG