|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.simBio.core.Component org.simBio.core.Parameter org.simBio.core.Composite org.simBio.core.Analyzer org.simBio.sim.analyzer.VisualizeAnalyzer org.simBio.sim.analyzer.graph.AbstractGraph org.simBio.sim.analyzer.graph.BasicGraph
public abstract class BasicGraph
Graph which displays time series data.
Field Summary | |
---|---|
protected java.awt.Container |
container
container of the Viewer which the Graph belongs to |
protected java.awt.Graphics2D |
graphics2d
Graphics2D for redrawing during analyze() |
protected TimeSeriesValues |
values
storage location of the time series data |
Fields inherited from class org.simBio.sim.analyzer.graph.AbstractGraph |
---|
axisX, axisY, interval, log, maxTime, nextTime, nTarget, nTargetOrigin, page, plotDisplay, plotPrinter, target, targetName, targetScale, targetShortName, thisGraph, valuesBuffer |
Fields inherited from class org.simBio.core.Parameter |
---|
value |
Constructor Summary | |
---|---|
BasicGraph()
|
Method Summary | |
---|---|
protected void |
analyzeSub(double t,
double[] valuesBuffer,
IPlot plot)
Plot targets. |
double |
getTimeMax()
Get maximum time |
double |
getTimeMin()
Get minimum time |
TimeSeriesSingle |
getTimeSeries(java.lang.Object node)
Gets a time series class for the specified Node. |
protected void |
paintGraph(java.awt.Graphics2D graphics2d,
IPlot plot)
Draw graph. |
protected void |
paintGraphSub(java.awt.Graphics2D graphics2d,
IPlot plot)
Performs graph drawing. Faithfully plots the value of each instant. |
protected void |
prepare()
Set link to the targets. |
protected void |
printGraph(java.awt.Graphics2D graphics2d,
IPlot plot)
Draw graph. |
protected void |
quit()
called before destruction, instanceを破棄する前に呼び出されます。 |
void |
resetBuffer()
画面状態をリセットする. |
protected void |
resize(IPlot plot)
Recalculates the Graph size, based on the size of the current parent window. |
protected void |
setLinks()
Link to the Viewer, AxisX, AxisY and count number of the target, get array. |
Methods inherited from class org.simBio.sim.analyzer.graph.AbstractGraph |
---|
analyze, changeScale, doRepaint, drawLine, drawPoint, paintAxises, paintBackground, paintComponent, paintLegend, prepareRepaint, printAxises, printBackground, printComponent, printLegend, setAreaChanged |
Methods inherited from class org.simBio.sim.analyzer.VisualizeAnalyzer |
---|
getColorParameter, getDouble, getFontParameter, getNodeHierarchically, getNodeRecursive, repaint |
Methods inherited from class org.simBio.core.Composite |
---|
accept, getLink, getNode, getNodesIterator, getNodesSize |
Methods inherited from class org.simBio.core.Parameter |
---|
addValue, getValue, getValueString, setInitializer, setValue, setValueString, setValueToField |
Methods inherited from class org.simBio.core.Component |
---|
addDydt, end, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.simBio.core.Node |
---|
addDydt, addValue, getValue, setValue |
Field Detail |
---|
protected TimeSeriesValues values
protected java.awt.Graphics2D graphics2d
protected java.awt.Container container
Constructor Detail |
---|
public BasicGraph()
Method Detail |
---|
public void resetBuffer()
VisualizeAnalyzer
resetBuffer
in class VisualizeAnalyzer
protected void quit()
Component
quit
in class Component
protected void setLinks()
AbstractGraph
setLinks
in class AbstractGraph
Component.setLinks()
protected void prepare()
AbstractGraph
prepare
in class AbstractGraph
Component.prepare()
protected void analyzeSub(double t, double[] valuesBuffer, IPlot plot)
analyzeSub
in class AbstractGraph
t
- time valuesBuffer
- array of calculation results plot
- drawing operation object AbstractGraph.analyzeSub(double, double[], IPlot)
protected void resize(IPlot plot)
AbstractGraph
resize
in class AbstractGraph
plot
- drawing operation object protected void paintGraph(java.awt.Graphics2D graphics2d, IPlot plot)
AbstractGraph
paintGraph
in class AbstractGraph
graphics2d
- drawn Graphics plot
- drawing operation object protected void printGraph(java.awt.Graphics2D graphics2d, IPlot plot)
AbstractGraph
printGraph
in class AbstractGraph
graphics2d
- Graphics which are drawn plot
- drawing operation object protected void paintGraphSub(java.awt.Graphics2D graphics2d, IPlot plot)
graphics2d
- Graphics drawing object plot
- drawing operation object public double getTimeMax()
public double getTimeMin()
public TimeSeriesSingle getTimeSeries(java.lang.Object node)
node
- Node that you wish to get
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |