org.simBio.sim.analyzer.graph.plot
クラス PlotDisplay

java.lang.Object
  上位を拡張 org.simBio.sim.analyzer.graph.plot.AbstractPlot
      上位を拡張 org.simBio.sim.analyzer.graph.plot.PlotDisplay
すべての実装されたインタフェース:
IPlot

public class PlotDisplay
extends AbstractPlot

画面用の描画処理を行うためのクラス.

Notice

作成者:
misaki

入れ子のクラスの概要
 class PlotDisplay.LegendItem
          凡例用の画面描画Itemクラス.
 class PlotDisplay.TitleItem
          タイトル用の画面描画Itemクラス.
 
インタフェース org.simBio.sim.analyzer.graph.plot.IPlot から継承された入れ子のクラス/インタフェース
IPlot.Item
 
フィールドの概要
 
クラス org.simBio.sim.analyzer.graph.plot.AbstractPlot から継承されたフィールド
legend, nTarget, nTargetOrigin, parent, rectangleBounds, rectanglePage, rectangleView, title
 
コンストラクタの概要
PlotDisplay(AbstractGraph parent)
           
 
メソッドの概要
 void drawPoint(java.awt.Graphics2D graphics2d, double x, double y, int nGraph)
          点を描画する.
 void init(int nTarget, int nTargetOrigin)
          初期化を行う.
 void prepareLegend(java.awt.Graphics2D baseGraphics, java.awt.Rectangle rectangleBounds, AttributeString[] texts)
          凡例描画の準備を行う.
 void prepareTitle(java.awt.Graphics2D baseGraphics, java.awt.Rectangle rectangleBounds, AttributeString text)
          タイトル描画の準備を行う.
 
クラス org.simBio.sim.analyzer.graph.plot.AbstractPlot から継承されたメソッド
drawLine, getColor, getLegend, getRectangleBounds, getRectanglePage, getRectangleView, getTitle, setRectanglePage, setSizePage
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

PlotDisplay

public PlotDisplay(AbstractGraph parent)
パラメータ:
parent - 描画対象のGraphオブジェクト
メソッドの詳細

init

public void init(int nTarget,
                 int nTargetOrigin)
インタフェース IPlot の記述:
初期化を行う.

定義:
インタフェース IPlot 内の init
オーバーライド:
クラス AbstractPlot 内の init
パラメータ:
nTarget - 描画する系列数
nTargetOrigin - 描画する系列の最小値

drawPoint

public void drawPoint(java.awt.Graphics2D graphics2d,
                      double x,
                      double y,
                      int nGraph)
インタフェース IPlot の記述:
点を描画する.
  1. 高速に描画するために、最適化処理を入れている。
  2. 本メソッドは、グラフ枠、目盛り等の描画には使用しないこと。

パラメータ:
graphics2d - 描画対象のGraphics2D
x - X座標
y - Y座標
nGraph - グラフの系列番号(0..n)

prepareTitle

public void prepareTitle(java.awt.Graphics2D baseGraphics,
                         java.awt.Rectangle rectangleBounds,
                         AttributeString text)
インタフェース IPlot の記述:
タイトル描画の準備を行う.

パラメータ:
baseGraphics - 描画対象のGraphics2D
rectangleBounds - 描画対象のグラフ領域(暫定値)
text - 表示するテキスト,フォント,色のセット

prepareLegend

public void prepareLegend(java.awt.Graphics2D baseGraphics,
                          java.awt.Rectangle rectangleBounds,
                          AttributeString[] texts)
インタフェース IPlot の記述:
凡例描画の準備を行う.

パラメータ:
baseGraphics - 描画対象のGraphics2D
rectangleBounds - 描画対象のグラフ領域(暫定値)
texts - 表示するテキスト,フォント,色のセットの配列


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