|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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
org.simBio.sim.analyzer.graph.Graph
public class Graph
Graph (optimised) which displays 2D graph data in chronological order.
| Field Summary | |
|---|---|
protected GraphReplotBuffer[] |
replotBuffer
Redrawing buffer |
| Fields inherited from class org.simBio.sim.analyzer.graph.BasicGraph |
|---|
container, graphics2d, values |
| 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 | |
|---|---|
Graph()
|
|
| Method Summary | |
|---|---|
protected void |
analyzeSub(double t,
double[] valuesBuffer,
IPlot plot)
Plots targets. |
void |
changeScale()
Makes the necessary preparations for redrawing, when the display position / display range has changed |
protected void |
end()
Called when the calculations finish, and makes adjustments to the X axis, if necessary. |
protected void |
paintGraph(java.awt.Graphics2D graphics,
IPlot plot)
Draws a graph. |
protected void |
prepare()
Set link to the targets. |
protected void |
quit()
called before destruction, instanceを破棄する前に呼び出されます。 |
void |
resetBuffer()
Resets the screen state. |
protected void |
resize(IPlot plot)
Recalculates the Graph size, based on the size of the parent window. |
void |
setAreaChanged()
Notifies that the displayed area has changed. |
| Methods inherited from class org.simBio.sim.analyzer.graph.BasicGraph |
|---|
getTimeMax, getTimeMin, getTimeSeries, paintGraphSub, printGraph, setLinks |
| Methods inherited from class org.simBio.sim.analyzer.graph.AbstractGraph |
|---|
analyze, doRepaint, drawLine, drawPoint, paintAxises, paintBackground, paintComponent, paintLegend, prepareRepaint, printAxises, printBackground, printComponent, printLegend |
| 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, 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 GraphReplotBuffer[] replotBuffer
| Constructor Detail |
|---|
public Graph()
| Method Detail |
|---|
public void resetBuffer()
resetBuffer in class BasicGraphVisualizeAnalyzer.resetBuffer()protected void quit()
Component
quit in class BasicGraphprotected void prepare()
AbstractGraph
prepare in class BasicGraphComponent.prepare()
protected void analyzeSub(double t,
double[] valuesBuffer,
IPlot plot)
analyzeSub in class BasicGrapht - time valuesBuffer - array of calculation results plot - drawing operation object AbstractGraph.analyzeSub(double, double[],
org.simBio.sim.analyzer.graph.plot.IPlot)
protected void paintGraph(java.awt.Graphics2D graphics,
IPlot plot)
paintGraph in class BasicGraphgraphics - drawn Graphics plot - drawing operation object AbstractGraph.paintGraph(Graphics2D graphics2d, IPlot plot)protected void resize(IPlot plot)
resize in class BasicGraphplot - drawing operation object AbstractGraph.resize(IPlot)public void changeScale()
changeScale in class AbstractGraphAbstractGraph.changeScale()protected void end()
end in class ComponentComponent.end()public void setAreaChanged()
setAreaChanged in class AbstractGraphAbstractGraph.setAreaChanged()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||