swarm.analysis
Interface EZBinC

All Known Subinterfaces:
EZDistributionC
All Known Implementing Classes:
EZDistributionCImpl

public abstract interface EZBinC
extends SwarmObjectS, SwarmObjectC

An easy to use histogram interface.. This class allows the user to easily histogram data generated by a collection of objects. In addition the class will generate some standard statistics over the resulting dataset.


Method Summary
 Object createEnd()
           
 Object setAxisLabelsX$Y(String xl, String yl)
          The setAxisLabels:X:Y method sets the horizontal and vertical labels on the histogram in the graphical version of EZBin.
 Object setBinCount(int theBinCount)
          The setBinCount method sets the number of bins the histogram will have.
 Object setCollection(Object aCollection)
          The setCollection method sets the collection of target objects which will be requested to generate the dataset for the histogram.
 Object setFileName(String fileName)
          The setFileName method sets the name used for disk file data output.
 Object setFileOutput(boolean state)
          The setFileOutput method sets the state of file I/O.
 Object setGraphics(boolean state)
          The setGraphics method sets the state of the display.
 Object setLowerBound(double theMin)
          The setLowerBound method sets the inclusive lower bound on the histogram range.
 Object setMonoColorBars(boolean mcb)
          The setMonoColorBars method specifies whether all bars should be shown in a single color (blue).
 Object setProbedSelector(Selector aSel)
          The setProbedSelector method sets the selector that will be applied to the objects in the specified collection in order to generate the dataset (inherited from MessageProbe.)
 Object setTitle(String title)
          The setTitle method uses a title string to label a graph window in the graphical version of EZBin.
 Object setUpperBound(double theMax)
          The setUpperBound method sets the non-inclusive upper bound on the histogram range.
 

Method Detail

setGraphics

public Object setGraphics(boolean state)
The setGraphics method sets the state of the display. Set the state to 0 if a graphical display of the graph is not required. The default state is 1 meaning that by default the data appears graphically in a window.

setCollection

public Object setCollection(Object aCollection)
The setCollection method sets the collection of target objects which will be requested to generate the dataset for the histogram.

setProbedSelector

public Object setProbedSelector(Selector aSel)
The setProbedSelector method sets the selector that will be applied to the objects in the specified collection in order to generate the dataset (inherited from MessageProbe.)

setFileOutput

public Object setFileOutput(boolean state)
The setFileOutput method sets the state of file I/O. Set the state to 1 if data for the sequences is to be sent to a file. The default state is 0 meaning that by default no file I/O is carried out by the EZBin class.

setTitle

public Object setTitle(String title)
The setTitle method uses a title string to label a graph window in the graphical version of EZBin. The label appears at the top of the graph window. (Only relevant if the state of setGraphics is set to 1.)

setFileName

public Object setFileName(String fileName)
The setFileName method sets the name used for disk file data output. (Only relevant if the state of seFileOutput is set to 1.) If not set, the filename defaults to be the same as the graph title.

setAxisLabelsX$Y

public Object setAxisLabelsX$Y(String xl,
                               String yl)
The setAxisLabels:X:Y method sets the horizontal and vertical labels on the histogram in the graphical version of EZBin. (Only relevant if the state of setGraphics is set to 1.)

setMonoColorBars

public Object setMonoColorBars(boolean mcb)
The setMonoColorBars method specifies whether all bars should be shown in a single color (blue). The default is differently colored bars.

setBinCount

public Object setBinCount(int theBinCount)
The setBinCount method sets the number of bins the histogram will have.

setLowerBound

public Object setLowerBound(double theMin)
The setLowerBound method sets the inclusive lower bound on the histogram range.

setUpperBound

public Object setUpperBound(double theMax)
The setUpperBound method sets the non-inclusive upper bound on the histogram range.

createEnd

public Object createEnd()