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


Fields inherited from class jas.hist.util.TwoDSliceAdapter
slices
 
Fields inherited from class jas.hist.util.ScatterAdapter
scatter
 
Fields inherited from class jas.hist.util.TwoDAdapter
source
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Constructor Summary
ScatterSliceAdapter(Rebinnable2DHistogramData source)
           
ScatterSliceAdapter(ScatterPlotSource source)
           
 
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.TwoDSliceAdapter
addSliceListener, canAddRemoveSlices, fireSliceAdded, fireSliceRemoved, getNSlices, getSlice, getSliceParameters, removeSlice, removeSliceListener
 
Methods inherited from class jas.hist.util.ScatterAdapter
hasScatterPlotData, startEnumeration, startEnumeration
 
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 jas.hist.util.ObserverAdapter
addObserver, clearObservable, deleteObserver, deleteObservers, setObservable, update
 
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
 
Methods inherited from interface jas.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: 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