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, java.util.Observer, Rebinnable2DHistogramData, SliceAdapter
- 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 class java.util.Observable |
clearChanged, countObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
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
- Overrides:
addSlice
in class TwoDSliceAdapter
- Following copied from interface:
jas.hist.HasSlices
- Returns:
- the index of the slice that was added