org.simBio.core
クラス Link

java.lang.Object
  上位を拡張 org.simBio.core.Component
      上位を拡張 org.simBio.core.Link
すべての実装されたインタフェース:
Node

public class Link
extends Component

making Link

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

コンストラクタの概要
Link()
           
 
メソッドの概要
protected  void prepare()
          if parent Composite has a public double Field of the same name, set value of the Parameter linked.
protected  void setLinks()
          called after instance tree was constructed, getNode, getLink here,
インスタンスツリー作成後に呼び出される, 親に自分と同じ名前のNodeがあったら、自分自身をリンクと見なし、 自分の値(リンク先を表す文字列)を引数に親のgetLinkを呼んでリンクを張ります
 
クラス org.simBio.core.Component から継承されたメソッド
accept, addDydt, addValue, end, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, getValue, getValueString, isNamed, isPrefixed, logIndented, quit, setInitializer, setValue, setValueString
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

Link

public Link()
メソッドの詳細

setLinks

protected void setLinks()
called after instance tree was constructed, getNode, getLink here,
インスタンスツリー作成後に呼び出される, 親に自分と同じ名前のNodeがあったら、自分自身をリンクと見なし、 自分の値(リンク先を表す文字列)を引数に親のgetLinkを呼んでリンクを張ります

オーバーライド:
クラス Component 内の setLinks

prepare

protected void prepare()
if parent Composite has a public double Field of the same name, set value of the Parameter linked. If there is a Node, set links here again to update target.
親が自分と同じ名前のpublic doubleを持っていれば、自分のリンクしている先のParameterが持つ値を設定する。 doubleでなく、Nodeが存在すればリンクを張る。これにより実行中にGUIからリンク先を変更できる。

オーバーライド:
クラス Component 内の prepare


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