|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.primordion.xholon.io.AbstractHistogramViewer
org.primordion.xholon.io.HistogramViewerJFreeChart
Captures data, and creates a histogram using JFreeChart.
JFreeChart is an open source project that can be freely downloaded from sourceforge.net/projects/jfreechart.
| Constructor Summary | |
HistogramViewerJFreeChart()
default constructor |
|
HistogramViewerJFreeChart(IXholon histRootModel,
IXholon histRootView,
IXholonClass xhClass,
int numBins,
int nameConcatLevels)
constructor |
|
| Method Summary | |
void |
chart(double[] values)
Produce a histogram chart. |
void |
initialize(IXholon histRootModel,
IXholon histRootView,
IXholonClass xhClass,
int numBins,
int nameConcatLevels)
Initialize the histogram viewer. |
void |
remove()
Remove the chart from the screen. |
| Methods inherited from class org.primordion.xholon.io.AbstractHistogramViewer |
chart, setXRange, setYRange |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.primordion.xholon.io.IHistogramViewer |
chart, setXRange, setYRange |
| Constructor Detail |
public HistogramViewerJFreeChart()
public HistogramViewerJFreeChart(IXholon histRootModel,
IXholon histRootView,
IXholonClass xhClass,
int numBins,
int nameConcatLevels)
histRootModel - The root node of a Xholon subtree in the model,
that will be traversed looking for instances of the xholon class.histRootView - Root node in the view. This is the "HistogramViewer" node.xhClass - A Xholon class whose instances will be queried for values, using getVal().numBins - Number of bins.nameConcatLevels - Number of composite levels to concatenate in deriving name.| Method Detail |
public void initialize(IXholon histRootModel,
IXholon histRootView,
IXholonClass xhClass,
int numBins,
int nameConcatLevels)
IHistogramViewer
initialize in interface IHistogramViewerhistRootModel - The root node of a Xholon subtree in the model,
that will be traversed looking for instances of the xholon class.histRootView - Root node in the view. This is the "HistogramViewer" node.xhClass - A Xholon class whose instances will be queried for values, using getVal().numBins - Number of bins.nameConcatLevels - Number of composite levels to concatenate in deriving name.public void chart(double[] values)
IHistogramViewer
chart in interface IHistogramViewerchart in class AbstractHistogramViewerpublic void remove()
IHistogramViewer
remove in interface IHistogramViewerremove in class AbstractHistogramViewer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||