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

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

public class AxisY
extends Axis

Y座標軸クラス

バージョン:
$Id: AxisY.java,v 1.3 2007/09/19 02:29:04 nsarai Exp $
作成者:
Misaki

フィールドの概要
 
クラス org.simBio.sim.analyzer.graph.Axis から継承されたフィールド
extendMode, extendModeDefault, extendRateDefault, gridStep, isPlotLabel, labelColor, labelFont, labelInitialized, labelLength, labelStep, length, log, max, min, MODE_AUTOSCALE, MODE_AUTOSCROLL, MODE_FIXED, nextLabelPos, origin, patternString, titleColor, titleFont
 
クラス org.simBio.core.Parameter から継承されたフィールド
value
 
コンストラクタの概要
AxisY()
           
 
メソッドの概要
protected  void drowDesc(java.awt.Graphics graphics, IPlot plot, java.lang.String str)
           軸ラベルを、graphics に描画する.
protected  void drowGrid(java.awt.Graphics graphics, IPlot plot, double value)
           指定した位置 value のグリッドを、graphics に描画する.
protected  void drowLabel(java.awt.Graphics graphics, IPlot plot, double value, java.lang.String str)
           指定した位置 value の数値を、graphics に描画する.
 java.lang.String getFormatString(double min, double max)
           フォーマット文字列を生成する.
 int getFreeSpaceBottom(java.awt.Graphics graphics)
           目盛り表示を行うための画面下側の余白を得る サブクラスで必要に応じてオーバーライドして下さい。
 int getFreeSpaceLeft(java.awt.Graphics graphics)
           軸ラベルの余白を取得
 int getFreeSpaceTop(java.awt.Graphics graphics)
           目盛り表示を行うための画面上側の余白を得る サブクラスで必要に応じてオーバーライドして下さい。
protected  double getLabelLength(java.awt.Graphics graphics, java.lang.String str)
          軸ラベルの表示
protected  double getPos(double data, IPlot plot)
           Plotから座標軸を取得する。
protected  void setLinks()
          Set link to the Viewer to get scale factor later.
 
クラス org.simBio.sim.analyzer.graph.Axis から継承されたメソッド
analyze, doRepaint, format, getFreeSpaceRight, Log10, plotAxis, prepare, prepareRepaint
 
クラス org.simBio.sim.analyzer.VisualizeAnalyzer から継承されたメソッド
getColorParameter, getDouble, getFontParameter, getNodeHierarchically, getNodeRecursive, repaint, resetBuffer
 
クラス 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, end, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented, quit
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
インタフェース org.simBio.core.Node から継承されたメソッド
addDydt, addValue, getValue, setValue
 

コンストラクタの詳細

AxisY

public AxisY()
メソッドの詳細

setLinks

protected void setLinks()
クラス Axis の記述:
Set link to the Viewer to get scale factor later.

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

getFormatString

public java.lang.String getFormatString(double min,
                                        double max)
クラス Axis の記述:
フォーマット文字列を生成する.

定義:
クラス Axis 内の getFormatString
パラメータ:
min - minimum scale value
max - maximum scale value
戻り値:
format string

getFreeSpaceLeft

public int getFreeSpaceLeft(java.awt.Graphics graphics)
軸ラベルの余白を取得

オーバーライド:
クラス Axis 内の getFreeSpaceLeft
パラメータ:
graphics - 描画対象のGraphics
戻り値:
サイズ
関連項目:
Axis.getFreeSpaceLeft(java.awt.Graphics)

getFreeSpaceTop

public int getFreeSpaceTop(java.awt.Graphics graphics)
クラス Axis の記述:
目盛り表示を行うための画面上側の余白を得る サブクラスで必要に応じてオーバーライドして下さい。

オーバーライド:
クラス Axis 内の getFreeSpaceTop
パラメータ:
graphics - 描画対象のGraphics
戻り値:
サイズ

getFreeSpaceBottom

public int getFreeSpaceBottom(java.awt.Graphics graphics)
クラス Axis の記述:
目盛り表示を行うための画面下側の余白を得る サブクラスで必要に応じてオーバーライドして下さい。

オーバーライド:
クラス Axis 内の getFreeSpaceBottom
パラメータ:
graphics - 描画対象のGraphics
戻り値:
サイズ

getLabelLength

protected double getLabelLength(java.awt.Graphics graphics,
                                java.lang.String str)
軸ラベルの表示

定義:
クラス Axis 内の getLabelLength
パラメータ:
graphics - 描画対象のGraphics
str - 表示値
関連項目:
org.simBio.sim.analyzer.graph.Axis#getLabelLength(org.simBio.sim.analyzer.graph.AbstractGraph, java.awt.Graphics, java.lang.String)

drowGrid

protected void drowGrid(java.awt.Graphics graphics,
                        IPlot plot,
                        double value)
クラス Axis の記述:
指定した位置 value のグリッドを、graphics に描画する.

定義:
クラス Axis 内の drowGrid
パラメータ:
graphics - 描画対象のGraphics
plot - 描画処理オブジェクト
value - 計算値

drowLabel

protected void drowLabel(java.awt.Graphics graphics,
                         IPlot plot,
                         double value,
                         java.lang.String str)
クラス Axis の記述:
指定した位置 value の数値を、graphics に描画する.

定義:
クラス Axis 内の drowLabel
パラメータ:
graphics - 描画対象のGraphics
plot - 描画処理オブジェクト
value - 計算値
str - 表示値

drowDesc

protected void drowDesc(java.awt.Graphics graphics,
                        IPlot plot,
                        java.lang.String str)
クラス Axis の記述:
軸ラベルを、graphics に描画する.

定義:
クラス Axis 内の drowDesc
パラメータ:
graphics - 描画対象のGraphics
plot - 描画処理オブジェクト
str - 表示値

getPos

protected double getPos(double data,
                        IPlot plot)
クラス Axis の記述:
Plotから座標軸を取得する。

定義:
クラス Axis 内の getPos
パラメータ:
data - 計算値
plot - 描画処理オブジェクト
戻り値:
スクリーン座標


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