|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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.
| Field Summary | |
|---|---|
double |
referenceHeight
|
double |
referenceWidth
|
| Fields inherited from class org.simBio.core.Parameter |
|---|
value |
| Constructor Summary | |
|---|---|
Viewer()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class org.simBio.core.Composite |
|---|
accept, getLink, getNode, getNodesIterator, getNodesSize |
| Methods inherited from class org.simBio.core.Parameter |
|---|
addValue, getValue, getValueString, prepare, setInitializer, setValue, setValueString, setValueToField |
| Methods inherited from class org.simBio.core.Component |
|---|
addDydt, end, getIndent, getIndentedShortName, getName, getName, getParent, getRoot, getShortName, getUnits, isNamed, isPrefixed, logIndented |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.simBio.core.Node |
|---|
addDydt, addValue, getValue, setValue |
| Field Detail |
|---|
public double referenceWidth
public double referenceHeight
| Constructor Detail |
|---|
public Viewer()
| Method Detail |
|---|
public void setContainer(java.awt.Container container)
setContainer in interface IViewercontainer - The container to setpublic void reset()
reset in interface ICanvasprotected void setLinks()
setLinks in class ComponentOnScreen,
Component.setLinks()protected void quit()
quit in class ComponentOnScreen,
Component.quit()protected void analyze(double t)
analyze in class Analyzert - timeAnalyzer.analyze(double)public double getScaleWidth()
getScaleWidth in interface ICanvaspublic double getScaleHeight()
getScaleHeight in interface ICanvas
public void plotAxises(Axis XA,
Axis YA)
plotAxises in interface ICanvasXA - x axisYA - y axis
public void drawBar(int x,
int y,
int width,
int height,
int c)
drawBar in interface ICanvas
public void drawPoint(int x,
int y,
int size,
int c)
drawPoint in interface ICanvaspublic double getWHratio()
getWHratio in interface IViewerIViewer.getWHratio()public void setFileName(java.lang.String string)
setFileName in interface IViewerstring - XMLファイル名public void paintComponent(java.awt.Graphics graphic)
paintComponent in interface IViewergraphic - 描画対象のGraphicspublic void printComponent(java.awt.Graphics graphic)
printComponent in interface IViewerpublic void setPrintRect(java.awt.Rectangle rectImageArea)
setPrintRect in interface IViewerpublic void setPrintableRect(java.awt.Rectangle rectPrintableArea)
setPrintableRect in interface IViewerpublic void setContainer(javax.swing.JPanel panel)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||