|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--java.util.Observable
|
+--jas.swingstudio.JASRebinAdaptor
| Fields inherited from interface jas.hist.DataSource |
DATE, DELTATIME, DOUBLE, INTEGER, STRING |
| Constructor Summary | |
JASRebinAdaptor(RemoteRebinnable1DHistogramData source,
RMIDestination obs)
|
|
| Method Summary | |
java.lang.String[] |
getAxisLabels()
Returns the axis labels. |
int |
getAxisType()
Returns one of DOUBLE,INTEGER,STRING,DATE or DELTATIME |
int |
getBins()
Returns the (suggested) number of bins to use |
java.lang.Object |
getExtendedStatistic(java.lang.String name)
Returns an object corresponding to the named statistic. |
double |
getMax()
Returns the (suggested) maximum value for the X axis |
double |
getMin()
Returns the (suggested) minimum value for the X axis |
double |
getStatistic(java.lang.String name)
|
java.lang.String[] |
getStatisticNames()
|
Statistics |
getStatistics()
|
JASHistStyle |
getStyle()
This method is called by the plot to determine what style to be used for a plot. |
java.lang.String |
getTitle()
Return the caption to be used in the legend for this data. |
boolean |
isRebinnable()
Returns true if the data source is capable of recalculating the bin contents, or false of the interface is not-capable of recalculating the bin contents. |
double[][] |
rebin(int bins,
double min,
double max,
boolean wantErrors,
boolean hurry)
Fetch binned data from remote data source. |
java.lang.String |
toString()
|
void |
update(java.util.Observable obs,
java.lang.Object arg)
|
| 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, wait, wait, wait |
| Constructor Detail |
public JASRebinAdaptor(RemoteRebinnable1DHistogramData source,
RMIDestination obs)
| Method Detail |
public void update(java.util.Observable obs,
java.lang.Object arg)
update in interface java.util.Observer
public double[][] rebin(int bins,
double min,
double max,
boolean wantErrors,
boolean hurry)
rebin in interface Rebinnable1DHistogramDatajas.hist.Rebinnable1DHistogramDatabin - The number of bins requestedmin - The min of the range over which to binmax - The max of the range over which to binwantErrors - If false indicates that the errors are not required and need not be calculated (most implementations will ignore this parameter)hurry - If true indicates the results should be provided as fast as possible, even if some approximation is needed (most implementations will ignore this parameter)public double getMin()
Rebinnable1DHistogramDatagetMin in interface Rebinnable1DHistogramDatapublic double getMax()
Rebinnable1DHistogramDatagetMax in interface Rebinnable1DHistogramDatapublic int getBins()
Rebinnable1DHistogramDatagetBins in interface Rebinnable1DHistogramDatapublic int getAxisType()
Rebinnable1DHistogramDatagetAxisType in interface Rebinnable1DHistogramDatapublic boolean isRebinnable()
Rebinnable1DHistogramDataisRebinnable in interface Rebinnable1DHistogramDatajas.hist.Rebinnable1DHistogramDatapublic java.lang.String getTitle()
DataSourcegetTitle in interface DataSourcepublic java.lang.String[] getAxisLabels()
Rebinnable1DHistogramDatagetAxisLabels in interface Rebinnable1DHistogramDatajas.hist.Rebinnable1DHistogramDatapublic JASHistStyle getStyle()
HasStylegetStyle in interface HasStylejas.hist.HasStyleJASHist1DHistogramStyle,
JASHist2DHistogramStyle,
JASHistScatterPlotStylepublic java.lang.String toString()
toString in class java.lang.Objectpublic Statistics getStatistics()
getStatistics in interface HasStatisticspublic java.lang.String[] getStatisticNames()
getStatisticNames in interface Statisticsjas.hist.Statisticspublic double getStatistic(java.lang.String name)
getStatistic in interface Statisticsjas.hist.StatisticsThe - statistic name, as returned by getStatisticNames()public java.lang.Object getExtendedStatistic(java.lang.String name)
ExtendedStatisticsgetExtendedStatistic in interface ExtendedStatisticsjas.hist.ExtendedStatisticsname - The name of the statistic to returnScientificFormat,
DoubleWithError
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||