|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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.Viewer
public class Viewer
graph viewer.
フィールドの概要 | |
---|---|
double |
referenceHeight
|
double |
referenceWidth
|
クラス org.simBio.core.Parameter から継承されたフィールド |
---|
value |
コンストラクタの概要 | |
---|---|
Viewer()
|
メソッドの概要 | |
---|---|
protected void |
analyze(double t)
do nothing |
void |
drawBar(int x,
int y,
int width,
int height,
int c)
|
void |
drawPoint(int x,
int y,
int size,
int c)
|
double |
getScaleHeight()
scaling factor = reference height (0.01 mm) / physical height (pixel) |
double |
getScaleWidth()
scaling factor = reference width (0.01 mm) / physical width (pixel) |
double |
getWHratio()
|
void |
paintComponent(java.awt.Graphics graphic)
Viewerの画面用描画を行う. |
void |
plotAxises(Axis XA,
Axis YA)
plot axses and grids |
void |
printComponent(java.awt.Graphics graphic)
|
protected void |
quit()
dispose graphics and OnScreen. |
void |
reset()
get graphics and clear. |
void |
setContainer(java.awt.Container container)
Sets the container. |
void |
setContainer(javax.swing.JPanel panel)
|
void |
setFileName(java.lang.String string)
XMLファイル名を設定する. |
protected void |
setLinks()
When there are no container, construct OnScreen, and clear. |
void |
setPrintableRect(java.awt.Rectangle rectPrintableArea)
|
void |
setPrintRect(java.awt.Rectangle rectImageArea)
|
クラス org.simBio.core.Composite から継承されたメソッド |
---|
accept, getLink, getNode, getNodesIterator, getNodesSize |
クラス org.simBio.core.Parameter から継承されたメソッド |
---|
addValue, getValue, getValueString, prepare, setInitializer, setValue, setValueString, setValueToField |
クラス org.simBio.core.Component から継承されたメソッド |
---|
addDydt, end, 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 |
フィールドの詳細 |
---|
public double referenceWidth
public double referenceHeight
コンストラクタの詳細 |
---|
public Viewer()
メソッドの詳細 |
---|
public void setContainer(java.awt.Container container)
IViewer
内の setContainer
container
- The container to setpublic void reset()
ICanvas
内の reset
protected void setLinks()
Component
内の setLinks
OnScreen
,
Component.setLinks()
protected void quit()
Component
内の quit
OnScreen
,
Component.quit()
protected void analyze(double t)
Analyzer
内の analyze
t
- timeAnalyzer.analyze(double)
public double getScaleWidth()
ICanvas
内の getScaleWidth
public double getScaleHeight()
ICanvas
内の getScaleHeight
public void plotAxises(Axis XA, Axis YA)
ICanvas
内の plotAxises
XA
- x axisYA
- y axispublic void drawBar(int x, int y, int width, int height, int c)
ICanvas
内の drawBar
public void drawPoint(int x, int y, int size, int c)
ICanvas
内の drawPoint
public double getWHratio()
IViewer
内の getWHratio
IViewer.getWHratio()
public void setFileName(java.lang.String string)
IViewer
内の setFileName
string
- XMLファイル名public void paintComponent(java.awt.Graphics graphic)
IViewer
内の paintComponent
graphic
- 描画対象のGraphicspublic void printComponent(java.awt.Graphics graphic)
IViewer
内の printComponent
public void setPrintRect(java.awt.Rectangle rectImageArea)
IViewer
内の setPrintRect
public void setPrintableRect(java.awt.Rectangle rectPrintableArea)
IViewer
内の setPrintableRect
public void setContainer(javax.swing.JPanel panel)
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |