org.freehep.jas.extension.tupleExplorer.project
Class Project2D

java.lang.Object
  extended by java.util.Observable
      extended by org.freehep.jas.extension.tupleExplorer.project.AbstractProjection
          extended by org.freehep.jas.extension.tupleExplorer.project.Project2D
All Implemented Interfaces:
jas.hist.DataSource, jas.hist.HasStatistics, jas.hist.Rebinnable2DHistogramData, ActionListener, EventListener, org.freehep.jas.plugin.plotter.JAS3DataSource

public class Project2D
extends AbstractProjection
implements jas.hist.Rebinnable2DHistogramData

Author:
The FreeHEP team @ SLAC.

Field Summary
 
Fields inherited from interface jas.hist.DataSource
DATE, DELTATIME, DOUBLE, INTEGER, STRING
 
Constructor Summary
protected Project2D()
           
  Project2D(MutableTupleColumn x, MutableTupleColumn y)
           
 
Method Summary
 String[] axisLabels()
           
protected  MutableTupleColumn columnX()
           
protected  MutableTupleColumn columnY()
           
 jas.hist.DataSource dataSource()
           
 void end()
           
 void fill(MutableTupleTreeNavigator cursor)
           
 org.freehep.jas.plugin.tree.FTreePath getLeadingPath()
           
 String getTitle()
           
 String[] getXAxisLabels()
           
 int getXAxisType()
           
 int getXBins()
           
 double getXMax()
           
 double getXMin()
           
 String[] getYAxisLabels()
           
 int getYAxisType()
           
 int getYBins()
           
 double getYMax()
           
 double getYMin()
           
protected  void initProjection2D()
           
 boolean isRebinnable()
           
 org.freehep.jas.plugin.tree.FTreePath path()
           
 double[][][] rebin(int xBins, double xMin, double xMax, int yBins, double yMin, double yMax, boolean param6, boolean param7, boolean param8)
           
protected  void setColumns(MutableTupleColumn colx, MutableTupleColumn coly)
           
 void start()
           
 
Methods inherited from class org.freehep.jas.extension.tupleExplorer.project.AbstractProjection
actionPerformed, dataStatistics, destroy, getStatistics, initStatistics, jas3DataSource, modifyPopupMenu, run, setAxisType, setName, setPlot, setRegion, setRunnable
 
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

Project2D

protected Project2D()

Project2D

public Project2D(MutableTupleColumn x,
                 MutableTupleColumn y)
Method Detail

initProjection2D

protected void initProjection2D()

getXAxisLabels

public String[] getXAxisLabels()
Specified by:
getXAxisLabels in interface jas.hist.Rebinnable2DHistogramData

getYAxisLabels

public String[] getYAxisLabels()
Specified by:
getYAxisLabels in interface jas.hist.Rebinnable2DHistogramData

getXAxisType

public int getXAxisType()
Specified by:
getXAxisType in interface jas.hist.Rebinnable2DHistogramData

getYAxisType

public int getYAxisType()
Specified by:
getYAxisType in interface jas.hist.Rebinnable2DHistogramData

getYBins

public int getYBins()
Specified by:
getYBins in interface jas.hist.Rebinnable2DHistogramData

getXBins

public int getXBins()
Specified by:
getXBins in interface jas.hist.Rebinnable2DHistogramData

getYMin

public double getYMin()
Specified by:
getYMin in interface jas.hist.Rebinnable2DHistogramData

getXMin

public double getXMin()
Specified by:
getXMin in interface jas.hist.Rebinnable2DHistogramData

getYMax

public double getYMax()
Specified by:
getYMax in interface jas.hist.Rebinnable2DHistogramData

getXMax

public double getXMax()
Specified by:
getXMax in interface jas.hist.Rebinnable2DHistogramData

getTitle

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

rebin

public double[][][] rebin(int xBins,
                          double xMin,
                          double xMax,
                          int yBins,
                          double yMin,
                          double yMax,
                          boolean param6,
                          boolean param7,
                          boolean param8)
Specified by:
rebin in interface jas.hist.Rebinnable2DHistogramData

isRebinnable

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

dataSource

public jas.hist.DataSource dataSource()
Specified by:
dataSource in interface org.freehep.jas.plugin.plotter.JAS3DataSource

start

public void start()
Specified by:
start in class AbstractProjection

fill

public void fill(MutableTupleTreeNavigator cursor)
Specified by:
fill in class AbstractProjection

end

public void end()
Specified by:
end in class AbstractProjection

setColumns

protected void setColumns(MutableTupleColumn colx,
                          MutableTupleColumn coly)

columnX

protected MutableTupleColumn columnX()

columnY

protected MutableTupleColumn columnY()

getLeadingPath

public org.freehep.jas.plugin.tree.FTreePath getLeadingPath()
Specified by:
getLeadingPath in class AbstractProjection

path

public org.freehep.jas.plugin.tree.FTreePath path()
Specified by:
path in interface org.freehep.jas.plugin.plotter.JAS3DataSource
Specified by:
path in class AbstractProjection

axisLabels

public String[] axisLabels()
Specified by:
axisLabels in interface org.freehep.jas.plugin.plotter.JAS3DataSource
Specified by:
axisLabels in class AbstractProjection


Copyright © 2013. All Rights Reserved.