|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
java.lang.Objectorg.simBio.core.Component
org.simBio.core.Parameter
public class Parameter
labeled public double, Component of the Composite Pattern.
名前付きの数値定数を表す。
| フィールドの概要 | |
|---|---|
protected double |
value
present value. |
| コンストラクタの概要 | |
|---|---|
Parameter()
|
|
| メソッドの概要 | |
|---|---|
void |
addValue(double value)
add value to the current value 実数を受け取り現在値に足し合わせる。 |
double |
getValue()
always throws UnsupportedOperationException, need to implement 'Node' |
java.lang.String |
getValueString()
文字列として現在値を返す。 |
protected void |
prepare()
親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。 |
void |
setInitializer(Initializer initializer)
set parent, root, level, name and valueString and attend to the parent's Children. |
void |
setValue(double newValue)
always throws UnsupportedOperationException, need to implement 'Node' |
void |
setValueString(java.lang.String label)
文字列を受け取り現在値に設定する。 |
void |
setValueToField()
親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。 |
| クラス org.simBio.core.Component から継承されたメソッド |
|---|
accept, addDydt, end, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented, quit, setLinks |
| クラス java.lang.Object から継承されたメソッド |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| フィールドの詳細 |
|---|
protected double value
| コンストラクタの詳細 |
|---|
public Parameter()
| メソッドの詳細 |
|---|
public void setInitializer(Initializer initializer)
Component の記述:
Component 内の setInitializerinitializer - Component.setInitializer(org.simBio.core.Initializer)public double getValue()
Component の記述:
Node 内の getValueComponent 内の getValueNode.getValue()public void setValue(double newValue)
Component の記述:
Node 内の setValueComponent 内の setValueNode.setValue(double)public void addValue(double value)
Node 内の addValueComponent 内の addValuevalue - public java.lang.String getValueString()
Component の記述:
Component 内の getValueStringComponent.getValueString()public void setValueString(java.lang.String label)
Component の記述:
Component 内の setValueStringlabel - value as StringComponent.setValueString(java.lang.String)protected void prepare()
Component 内の prepareComponent.prepare()public void setValueToField()
|
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||