FreeHEP API
Version v1.2.2

hep.aida.ref.plotter.adapter
Class AIDACloudAdapter1D

java.lang.Object
  |
  +--java.util.Observable
        |
        +--hep.aida.ref.plotter.adapter.AIDACloudAdapter
              |
              +--hep.aida.ref.plotter.adapter.AIDACloudAdapter1D
All Implemented Interfaces:
AIDAListener, jas.hist.DataSource, jas.hist.HasStatistics, jas.hist.Rebinnable1DHistogramData

public class AIDACloudAdapter1D
extends hep.aida.ref.plotter.adapter.AIDACloudAdapter
implements jas.hist.Rebinnable1DHistogramData, jas.hist.HasStatistics

Version:
Author:
manj

Field Summary
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Constructor Summary
AIDACloudAdapter1D(hep.aida.ICloud1D cloud)
           
 
Method Summary
static jas.hist.DataSource create(hep.aida.ICloud c)
          Create a DataSource from a Cloud
 String[] getAxisLabels()
           
 int getAxisType()
           
 int getBins()
           
 double getMax()
           
 double getMin()
           
 jas.hist.Statistics getStatistics()
           
 String getTitle()
           
 boolean isRebinnable()
           
 double[][] rebin(int bins, double min, double max, boolean wantErrors, boolean hurry)
           
 void setAxisType(int type)
           
protected  void setValid()
           
 void stateChanged(EventObject event)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AIDACloudAdapter1D

public AIDACloudAdapter1D(hep.aida.ICloud1D cloud)
Method Detail

rebin

public double[][] rebin(int bins,
                        double min,
                        double max,
                        boolean wantErrors,
                        boolean hurry)
Specified by:
rebin in interface jas.hist.Rebinnable1DHistogramData

getMin

public double getMin()
Specified by:
getMin in interface jas.hist.Rebinnable1DHistogramData

getMax

public double getMax()
Specified by:
getMax in interface jas.hist.Rebinnable1DHistogramData

getBins

public int getBins()
Specified by:
getBins in interface jas.hist.Rebinnable1DHistogramData

isRebinnable

public boolean isRebinnable()
Specified by:
isRebinnable in interface jas.hist.Rebinnable1DHistogramData

setAxisType

public void setAxisType(int type)

getAxisType

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

getAxisLabels

public String[] getAxisLabels()
Specified by:
getAxisLabels in interface jas.hist.Rebinnable1DHistogramData

getTitle

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

getStatistics

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

create

public static jas.hist.DataSource create(hep.aida.ICloud c)
Create a DataSource from a Cloud


setValid

protected void setValid()

stateChanged

public void stateChanged(EventObject event)
Specified by:
stateChanged in interface AIDAListener

FreeHEP API
Version v1.2.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.