org.simBio.sim.analyzer.graph.simple
クラス Axis

java.lang.Object
  上位を拡張 org.simBio.core.Component
      上位を拡張 org.simBio.core.Parameter
          上位を拡張 org.simBio.core.Composite
              上位を拡張 org.simBio.core.Analyzer
                  上位を拡張 org.simBio.sim.analyzer.graph.simple.Axis
すべての実装されたインタフェース:
Node
直系の既知のサブクラス:
AxisX, AxisXFix, AxisY

public abstract class Axis
extends Analyzer

バージョン:
$Revision: 1.1 $
作成者:
Nobuaki Sarai

フィールドの概要
 int B
           
 int E
           
 double gridStep
           
 boolean isPlotLabel
           
 double labelStep
           
 double length
           
 double max
           
 double min
           
 double origin
           
protected  ICanvas page
           
protected  double ppu
           
 Node units
           
 
クラス org.simBio.core.Parameter から継承されたフィールド
value
 
コンストラクタの概要
Axis()
           
 
メソッドの概要
 java.lang.String format(double val)
          format numeric value, and return String
数値をフォーマットされた文字列として返す。
protected  void prepare()
          set flag is plot label and set pattern of number format
軸ラベルを表示するか否か及びラベル数値フォーマット形式を設定する。
protected  void setLinks()
          set link to the Viewer to get scale factor later.
 
クラス org.simBio.core.Analyzer から継承されたメソッド
analyze
 
クラス 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
 

フィールドの詳細

origin

public double origin

length

public double length

gridStep

public double gridStep

min

public double min

max

public double max

labelStep

public double labelStep

units

public Node units

ppu

protected double ppu

page

protected ICanvas page

B

public int B

E

public int E

isPlotLabel

public boolean isPlotLabel
コンストラクタの詳細

Axis

public Axis()
メソッドの詳細

setLinks

protected void setLinks()
set link to the Viewer to get scale factor later.

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

prepare

protected void prepare()
set flag is plot label and set pattern of number format
軸ラベルを表示するか否か及びラベル数値フォーマット形式を設定する。 表示範囲が0.1-10なら小数点以下一桁まで、10-1000なら整数部位、 それ以外なら3桁ごとの指数形式でフォーマットします。 特定の数値フォーマットを設定するには、xml上でaxisの中に <component name="pattern" initial_value="#.#" /> 等とpatternを定義してください。 フォーマットの書式はDecimalFormatのJavadocを参照してください。

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

format

public java.lang.String format(double val)
format numeric value, and return String
数値をフォーマットされた文字列として返す。 フォーマットする書式についてはprepare()を参照してください。

パラメータ:
val -
戻り値:
formatted number
関連項目:
prepare()


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