hep.aida.ref.plotter.adapter
Class AIDADataPointSetAdapter

java.lang.Object
  extended by java.util.Observable
      extended by hep.aida.ref.event.ObserverAdapter
          extended by hep.aida.ref.plotter.adapter.AIDADataPointSetAdapter
All Implemented Interfaces:
AIDAListener, jas.hist.DataSource, jas.hist.HasStatistics, jas.hist.XYDataSource

public class AIDADataPointSetAdapter
extends ObserverAdapter
implements jas.hist.XYDataSource, jas.hist.HasStatistics


Field Summary
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Method Summary
static jas.hist.DataSource create(hep.aida.IDataPointSet dps)
          Create a DataSource from a DataPointSet
 int getAxisType()
           
 double getMinusError(int i)
           
 int getNPoints()
           
 double getPlusError(int i)
           
 jas.hist.Statistics getStatistics()
           
 java.lang.String getTitle()
           
 double getX(int i)
           
 double getY(int i)
           
 void setAxisType(int type)
           
 
Methods inherited from class hep.aida.ref.event.ObserverAdapter
addObserver, clearObservable, deleteObserver, deleteObservers, getObservable, setObservable, stateChanged
 
Methods inherited from class java.util.Observable
countObservers, hasChanged, notifyObservers, notifyObservers
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static jas.hist.DataSource create(hep.aida.IDataPointSet dps)
Create a DataSource from a DataPointSet


setAxisType

public void setAxisType(int type)

getAxisType

public int getAxisType()
Specified by:
getAxisType in interface jas.hist.XYDataSource

getMinusError

public double getMinusError(int i)
Specified by:
getMinusError in interface jas.hist.XYDataSource

getPlusError

public double getPlusError(int i)
Specified by:
getPlusError in interface jas.hist.XYDataSource

getX

public double getX(int i)
Specified by:
getX in interface jas.hist.XYDataSource

getY

public double getY(int i)
Specified by:
getY in interface jas.hist.XYDataSource

getNPoints

public int getNPoints()
Specified by:
getNPoints in interface jas.hist.XYDataSource

getStatistics

public jas.hist.Statistics getStatistics()
Specified by:
getStatistics in interface jas.hist.HasStatistics

getTitle

public java.lang.String getTitle()
Specified by:
getTitle in interface jas.hist.DataSource


jHepWork 1.1 (C) Chekanov