jas.hist.util
Class ScatterSliceAdapter

java.lang.Object
  extended by java.util.Observable
      extended by jas.hist.util.ObserverAdapter
          extended by jas.hist.util.TwoDAdapter
              extended by jas.hist.util.ScatterAdapter
                  extended by jas.hist.util.TwoDSliceAdapter
                      extended by 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


Field Summary
 
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

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.