|
|||||||||
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 Rebinnable1DHistogramData
jas.hist.Rebinnable1DHistogramData
bin
- 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()
Rebinnable1DHistogramData
getMin
in interface Rebinnable1DHistogramData
public double getMax()
Rebinnable1DHistogramData
getMax
in interface Rebinnable1DHistogramData
public int getBins()
Rebinnable1DHistogramData
getBins
in interface Rebinnable1DHistogramData
public int getAxisType()
Rebinnable1DHistogramData
getAxisType
in interface Rebinnable1DHistogramData
public boolean isRebinnable()
Rebinnable1DHistogramData
isRebinnable
in interface Rebinnable1DHistogramData
jas.hist.Rebinnable1DHistogramData
public java.lang.String getTitle()
DataSource
getTitle
in interface DataSource
public java.lang.String[] getAxisLabels()
Rebinnable1DHistogramData
getAxisLabels
in interface Rebinnable1DHistogramData
jas.hist.Rebinnable1DHistogramData
public JASHistStyle getStyle()
HasStyle
getStyle
in interface HasStyle
jas.hist.HasStyle
JASHist1DHistogramStyle
,
JASHist2DHistogramStyle
,
JASHistScatterPlotStyle
public java.lang.String toString()
toString
in class java.lang.Object
public Statistics getStatistics()
getStatistics
in interface HasStatistics
public java.lang.String[] getStatisticNames()
getStatisticNames
in interface Statistics
jas.hist.Statistics
public double getStatistic(java.lang.String name)
getStatistic
in interface Statistics
jas.hist.Statistics
The
- statistic name, as returned by getStatisticNames()public java.lang.Object getExtendedStatistic(java.lang.String name)
ExtendedStatistics
getExtendedStatistic
in interface ExtendedStatistics
jas.hist.ExtendedStatistics
name
- The name of the statistic to returnScientificFormat
,
DoubleWithError
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |