jas2.hist.util
Class ScatterSliceAdapter
- java.lang.Object
-
- java.util.Observable
-
- jas2.hist.util.ObserverAdapter
-
- jas2.hist.util.TwoDAdapter
-
- jas2.hist.util.ScatterAdapter
-
- jas2.hist.util.TwoDSliceAdapter
-
- jas2.hist.util.ScatterSliceAdapter
-
- All Implemented Interfaces:
- DataSource, HasScatterPlotData, HasSlices, HasStatistics, HasStyle, Rebinnable2DHistogramData, SliceAdapter, java.util.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
-
-
Constructor Summary
Constructors Constructor and Description ScatterSliceAdapter(Rebinnable2DHistogramData source)ScatterSliceAdapter(ScatterPlotSource source)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intaddSlice(double x, double y, double width, double height, double phi)Create a new slice with the specified initial parameters-
Methods inherited from class jas2.hist.util.TwoDSliceAdapter
addSliceListener, canAddRemoveSlices, getNSlices, getSlice, getSliceParameters, removeSlice, removeSliceListener
-
Methods inherited from class jas2.hist.util.ScatterAdapter
hasScatterPlotData, startEnumeration, startEnumeration
-
Methods inherited from class jas2.hist.util.TwoDAdapter
getStatistics, getStyle, getTitle, getXAxisLabels, getXAxisType, getXBins, getXMax, getXMin, getYAxisLabels, getYAxisType, getYBins, getYMax, getYMin, isRebinnable, rebin, toString
-
Methods inherited from class jas2.hist.util.ObserverAdapter
addObserver, clearObservable, deleteObserver, deleteObservers, setObservable, update
-
Methods inherited from class java.util.Observable
countObservers, hasChanged, notifyObservers, notifyObservers
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jas2.hist.Rebinnable2DHistogramData
getXAxisLabels, getXAxisType, getXBins, getXMax, getXMin, getYAxisLabels, getYAxisType, getYBins, getYMax, getYMin, isRebinnable, rebin
-
Methods inherited from interface jas2.hist.DataSource
getTitle
-
-
-
-
Constructor Detail
-
ScatterSliceAdapter
public ScatterSliceAdapter(Rebinnable2DHistogramData source)
-
ScatterSliceAdapter
public ScatterSliceAdapter(ScatterPlotSource source)
-
-
Method Detail
-
addSlice
public int addSlice(double x, double y, double width, double height, double phi)Description copied from interface:HasSlicesCreate a new slice with the specified initial parameters- Specified by:
addSlicein interfaceHasSlices- Overrides:
addSlicein classTwoDSliceAdapter- Returns:
- the index of the slice that was added
-
-
DataMelt 3.0 © DataMelt by jWork.ORG