jas.hist.util
Class ScatterSliceAdapter
java.lang.Object
java.util.Observable
jas.hist.util.ObserverAdapter
jas.hist.util.TwoDAdapter
jas.hist.util.ScatterAdapter
jas.hist.util.TwoDSliceAdapter
jas.hist.util.ScatterSliceAdapter
- All Implemented Interfaces:
- DataSource, HasScatterPlotData, HasSlices, HasStatistics, HasStyle, Rebinnable2DHistogramData, SliceAdapter, Observer
public class ScatterSliceAdapter
- extends TwoDSliceAdapter
Takes as its source a Rebinnable2DHistogramData which also
implements HasScatterPlotData and in addition to relaying the source
data to the destination, also implements HasSlices and SliceAdapter
Method Summary |
int |
addSlice(double x,
double y,
double width,
double height,
double phi)
Create a new slice with the specified initial parameters |
Methods inherited from class jas.hist.util.TwoDAdapter |
getStatistics, getStyle, getTitle, getXAxisLabels, getXAxisType, getXBins, getXMax, getXMin, getYAxisLabels, getYAxisType, getYBins, getYMax, getYMin, isRebinnable, rebin, toString |
Methods inherited from interface jas.hist.Rebinnable2DHistogramData |
getXAxisLabels, getXAxisType, getXBins, getXMax, getXMin, getYAxisLabels, getYAxisType, getYBins, getYMax, getYMin, isRebinnable, rebin |
ScatterSliceAdapter
public ScatterSliceAdapter(Rebinnable2DHistogramData source)
ScatterSliceAdapter
public ScatterSliceAdapter(ScatterPlotSource source)
addSlice
public int addSlice(double x,
double y,
double width,
double height,
double phi)
- Description copied from interface:
HasSlices
- Create a new slice with the specified initial parameters
- Specified by:
addSlice
in interface HasSlices
- Overrides:
addSlice
in class TwoDSliceAdapter
- Returns:
- the index of the slice that was added
Copyright © 2000-2009 FreeHEP. All Rights Reserved.