org.simBio.sim.analyzer.graph
クラス Graph

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
                              上位を拡張 org.simBio.sim.analyzer.graph.Graph
すべての実装されたインタフェース:
Node
直系の既知のサブクラス:
Graph4State, StepChart

public class Graph
extends BasicGraph

2D graph 時系列データを表示するGraph(最適化済).

Notice

バージョン:
$Id: Graph.java,v 1.3 2007/04/07 08:44:07 nsarai Exp $
作成者:
Nobuaki Sarai, misaki

フィールドの概要
protected  GraphReplotBuffer[] replotBuffer
          再描画バッファ
 
クラス org.simBio.sim.analyzer.graph.BasicGraph から継承されたフィールド
container, graphics2d, values
 
クラス org.simBio.sim.analyzer.graph.AbstractGraph から継承されたフィールド
axisX, axisY, interval, log, maxTime, nextTime, nTarget, nTargetOrigin, page, plotDisplay, plotPrinter, target, targetName, targetScale, targetShortName, thisGraph, valuesBuffer
 
クラス org.simBio.core.Parameter から継承されたフィールド
value
 
コンストラクタの概要
Graph()
           
 
メソッドの概要
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.
 
クラス org.simBio.sim.analyzer.graph.BasicGraph から継承されたメソッド
getTimeMax, getTimeMin, getTimeSeries, paintGraphSub, printGraph, setLinks
 
クラス org.simBio.sim.analyzer.graph.AbstractGraph から継承されたメソッド
analyze, doRepaint, drawLine, drawPoint, paintAxises, paintBackground, paintComponent, paintLegend, prepareRepaint, printAxises, printBackground, printComponent, printLegend
 
クラス org.simBio.sim.analyzer.VisualizeAnalyzer から継承されたメソッド
getColorParameter, getDouble, getFontParameter, getNodeHierarchically, getNodeRecursive, repaint
 
クラス org.simBio.core.Composite から継承されたメソッド
accept, getLink, getNode, getNodesIterator, getNodesSize
 
クラス org.simBio.core.Parameter から継承されたメソッド
addValue, getValue, getValueString, setInitializer, setValue, setValueString, setValueToField
 
クラス org.simBio.core.Component から継承されたメソッド
addDydt, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.simBio.core.Node から継承されたメソッド
addDydt, addValue, getValue, setValue
 

フィールドの詳細

replotBuffer

protected GraphReplotBuffer[] replotBuffer
再描画バッファ

コンストラクタの詳細

Graph

public Graph()
メソッドの詳細

resetBuffer

public void resetBuffer()
Resets the screen state.

オーバーライド:
クラス BasicGraph 内の resetBuffer
関連項目:
VisualizeAnalyzer.resetBuffer()

quit

protected void quit()
クラス Component の記述:
called before destruction,
instanceを破棄する前に呼び出されます。

オーバーライド:
クラス BasicGraph 内の quit

prepare

protected void prepare()
クラス AbstractGraph の記述:
Set link to the targets.

オーバーライド:
クラス BasicGraph 内の prepare
関連項目:
Component.prepare()

analyzeSub

protected void analyzeSub(double t,
                          double[] valuesBuffer,
                          IPlot plot)
Plots targets.

オーバーライド:
クラス BasicGraph 内の analyzeSub
パラメータ:
t - 時刻
valuesBuffer - 計算結果の配列
plot - 描画処理オブジェクト
関連項目:
AbstractGraph.analyzeSub(double, double[], org.simBio.sim.analyzer.graph.plot.IPlot)

paintGraph

protected void paintGraph(java.awt.Graphics2D graphics,
                          IPlot plot)
Draws a graph.

オーバーライド:
クラス BasicGraph 内の paintGraph
パラメータ:
graphics - 描画されるGraphics
plot - 描画処理オブジェクト
関連項目:
AbstractGraph.paintGraph(Graphics2D graphics2d, IPlot plot)

resize

protected void resize(IPlot plot)
Recalculates the Graph size, based on the size of the parent window.

オーバーライド:
クラス BasicGraph 内の resize
パラメータ:
plot - 描画処理オブジェクト
関連項目:
AbstractGraph.resize(IPlot)

changeScale

public void changeScale()
Makes the necessary preparations for redrawing, when the display position / display range has changed

オーバーライド:
クラス AbstractGraph 内の changeScale
関連項目:
AbstractGraph.changeScale()

end

protected void end()
Called when the calculations finish, and makes adjustments to the X axis, if necessary.

オーバーライド:
クラス Component 内の end
関連項目:
Component.end()

setAreaChanged

public void setAreaChanged()
Notifies that the displayed area has changed.

オーバーライド:
クラス AbstractGraph 内の setAreaChanged
関連項目:
AbstractGraph.setAreaChanged()


???(C) 2002-2007 ?????????????????????