|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.gui.visualization.stats.histogram.HistogramOptions
public class HistogramOptions
Class containing options for the histogram plot
Valid options are:-D <int> (property: debugLevel) The greater the number the more additional info the scheme may output to the console (0 = off). default: 0 minimum: 0
-number-bins <int> (property: numberBins) Number of bins, used only if frequency axis type chosen default: 10
-width-bin <double> (property: widthBin) Width of each bin, used only if denisty axis type chosen default: 0.5
-y-axis-type <MANUAL|DENSITY> (property: axisType) Axis type for y axis of the histogram default: DENSITY
-paintlet <adams.gui.visualization.stats.paintlet.HistogramPaintlet> (property: paintlet) painlet for plotting the histogram plot default: adams.gui.visualization.stats.paintlet.HistogramPaintlet
| Nested Class Summary | |
|---|---|
static class |
HistogramOptions.BoxType
Enum for bincalculation type without some of the options |
| Field Summary | |
|---|---|
protected HistogramOptions.BoxType |
m_BoxType
bin calculation type |
protected int |
m_NumBins
Number of bins in the histogram used if manual bin calculation type is chosen |
protected HistogramPaintlet |
m_Val
Paintlet for plotting the histogram |
protected double |
m_WidthBin
Width of each bin in the histogram, used if density bin calculation type is chosen |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
HistogramOptions()
|
|
| Method Summary | |
|---|---|
String |
axisTypeTipText()
Tip Text for the axis Type property |
void |
defineOptions()
|
HistogramOptions.BoxType |
getAxisType()
Get the axis type used in bin calculation |
int |
getNumberBins()
get the number of bins in the histogram |
HistogramPaintlet |
getPaintlet()
Get the paintlet for plotting the histogram |
double |
getWidthBin()
Get the width of each bin in histogram |
String |
globalInfo()
|
String |
numberBinsTipText()
Tip text for the number of bins property |
String |
paintletTipText()
Tip Text for the paintlet property |
void |
setAxisType(HistogramOptions.BoxType val)
Set the axis type for bin calculation |
void |
setNumberBins(int val)
Set the number of bins in the histogram |
void |
setPaintlet(HistogramPaintlet val)
Set the paintlet for plotting the histogram |
void |
setWidthBin(double val)
Set the width of each bin in the histogram |
String |
widthBinTipText()
Tip text for the bin width property |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine, toString |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int m_NumBins
protected double m_WidthBin
protected HistogramOptions.BoxType m_BoxType
protected HistogramPaintlet m_Val
| Constructor Detail |
|---|
public HistogramOptions()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setPaintlet(HistogramPaintlet val)
val - Paintlet for plottingpublic HistogramPaintlet getPaintlet()
public String paintletTipText()
public void setAxisType(HistogramOptions.BoxType val)
val - Method of bin calculationpublic HistogramOptions.BoxType getAxisType()
public String axisTypeTipText()
public void setWidthBin(double val)
val - Width of binpublic double getWidthBin()
public String widthBinTipText()
public void setNumberBins(int val)
val - Number of binspublic int getNumberBins()
public String numberBinsTipText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||