|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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.Viewer
public class Viewer
Graph viewer.
フィールドの概要 | |
---|---|
protected static org.apache.commons.logging.Log |
log
|
double |
referenceHeight
|
double |
referenceWidth
|
クラス org.simBio.core.Parameter から継承されたフィールド |
---|
value |
コンストラクタの概要 | |
---|---|
Viewer()
|
メソッドの概要 | |
---|---|
protected void |
analyze(double t)
再描画が必要な場合のみ、再描画処理を行う. |
void |
changeScale()
表示位置/表示範囲が更新された際に、再描画に必要な準備を行う. 現在は、repaint() に処理を任せている。 |
protected void |
end()
called at the end of integration, 計算終了時に呼ばれます。 |
java.awt.Container |
getContainer()
Gets the container. |
java.lang.String |
getFileName()
XMLファイル名を取得する. |
double |
getWHratio()
|
boolean |
isResizing()
画面再描画中かどうかを調べる. |
void |
paintComponent(java.awt.Graphics graphic)
Viewerの画面用描画を行う. |
protected void |
prepare()
親が自分と同じ名前のpublic doubleを持っていれば、自分の値を設定する。 |
void |
prepareRepaint()
再描画を準備する. |
void |
printComponent(java.awt.Graphics graphic)
Viewerの印刷用描画を行う. |
protected void |
quit()
Dispose of graphics and OnScreen. |
void |
repaint()
再描画パラメータの取り込みと、再描画を行う. |
void |
setContainer(java.awt.Container container)
Sets the container. |
void |
setFileName(java.lang.String string)
XMLファイル名を設定する. |
protected void |
setLinks()
When there are no container, construct OnScreen, and clear. |
void |
setPrintableRect(java.awt.Rectangle rectangle)
プリンタ固有の印刷可能領域をセットする. javax.print.attribute.standard.MediaPrintableArea で得られる、プリンタ固有の印刷可能領域の 情報を、印刷前にセットして下さい。 |
void |
setPrintRect(java.awt.Rectangle rectangle)
ダイアログで指定した印刷領域をセットする. java.awt.print.PageFormat で得られる、印刷可能領域(Imageable)の情報を、印刷前にセットして下さい。 |
void |
setRepaintFlag()
画面の再描画を指示する。 |
クラス org.simBio.sim.analyzer.VisualizeAnalyzer から継承されたメソッド |
---|
doRepaint, getColorParameter, getDouble, getFontParameter, getNodeHierarchically, getNodeRecursive, 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, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
インタフェース org.simBio.core.Node から継承されたメソッド |
---|
addDydt, addValue, getValue, setValue |
フィールドの詳細 |
---|
protected static org.apache.commons.logging.Log log
public double referenceWidth
public double referenceHeight
コンストラクタの詳細 |
---|
public Viewer()
メソッドの詳細 |
---|
public void setContainer(java.awt.Container container)
IViewer
内の setContainer
container
- The container to setpublic java.awt.Container getContainer()
protected void setLinks()
Component
内の setLinks
OnScreen
,
Component.setLinks()
protected void prepare()
Parameter
の記述:
Parameter
内の prepare
Component.prepare()
public void repaint()
VisualizeAnalyzer
の記述:
VisualizeAnalyzer
内の repaint
public void prepareRepaint()
VisualizeAnalyzer
の記述:
VisualizeAnalyzer
内の prepareRepaint
public void paintComponent(java.awt.Graphics graphic)
IViewer
内の paintComponent
graphic
- 描画対象のGraphicspublic void printComponent(java.awt.Graphics graphic)
IViewer
内の printComponent
graphic
- 描画対象のGraphicsprotected void end()
Component
の記述:
Component
内の end
protected void quit()
Component
内の quit
OnScreen
,
Component.quit()
protected void analyze(double t)
VisualizeAnalyzer
内の analyze
t
- timeAnalyzer.analyze(double)
public void setRepaintFlag()
public java.lang.String getFileName()
public void setFileName(java.lang.String string)
IViewer
内の setFileName
string
- XMLファイル名public void changeScale()
public boolean isResizing()
public void setPrintRect(java.awt.Rectangle rectangle)
IViewer
内の setPrintRect
rectangle
- 印刷領域PageFormat
public void setPrintableRect(java.awt.Rectangle rectangle)
IViewer
内の setPrintableRect
rectangle
- 印刷可能領域MediaPrintableArea
public double getWHratio()
IViewer
内の getWHratio
IViewer.getWHratio()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |