FreeHEP API
Version current

hep.aida.ref.plotter.adapter
Class AIDADataPointSetAdapter

java.lang.Object
  extended byjava.util.Observable
      extended byhep.aida.ref.event.ObserverAdapter
          extended byhep.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

Author:
The AIDA team @ SLAC
Source Code:
AIDADataPointSetAdapter.java

Field Summary
 
Fields inherited from class hep.aida.ref.event.ObserverAdapter
histo, update
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Constructor Summary
protected AIDADataPointSetAdapter(hep.aida.IDataPointSet dps)
           
 
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()
           
 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, setValid, stateChanged
 
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, toString, wait, wait, wait
 

Constructor Detail

AIDADataPointSetAdapter

protected AIDADataPointSetAdapter(hep.aida.IDataPointSet dps)
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 String getTitle()
Specified by:
getTitle in interface jas.hist.DataSource

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.