|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.Axis
public abstract class Axis
Field Summary | |
---|---|
int |
B
|
int |
E
|
double |
gridStep
|
boolean |
isPlotLabel
|
double |
labelStep
|
double |
length
|
double |
max
|
double |
min
|
double |
origin
|
protected ICanvas |
page
|
protected double |
ppu
|
Node |
units
|
Fields inherited from class org.simBio.core.Parameter |
---|
value |
Constructor Summary | |
---|---|
Axis()
|
Method Summary | |
---|---|
java.lang.String |
format(double val)
format numeric value, and return String 数値をフォーマットされた文字列として返す。 フォーマットする書式についてはprepare()を参照してください。 |
protected void |
prepare()
set flag is plot label and set pattern of number format 軸ラベルを表示するか否か及びラベル数値フォーマット形式を設定する。 表示範囲が0.1-10なら小数点以下一桁まで、10-1000なら整数部位、 それ以外なら3桁ごとの指数形式でフォーマットします。 特定の数値フォーマットを設定するには、xml上でaxisの中に <component name="pattern" initial_value="#.#" /> 等とpatternを定義してください。 フォーマットの書式はDecimalFormatのJavadocを参照してください。 |
protected void |
setLinks()
set link to the Viewer to get scale factor later. |
Methods inherited from class org.simBio.core.Analyzer |
---|
analyze |
Methods inherited from class org.simBio.core.Composite |
---|
accept, getLink, getNode, getNodesIterator, getNodesSize |
Methods inherited from class org.simBio.core.Parameter |
---|
addValue, getValue, getValueString, 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, quit |
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 origin
public double length
public double gridStep
public double min
public double max
public double labelStep
public Node units
protected double ppu
protected ICanvas page
public int B
public int E
public boolean isPlotLabel
Constructor Detail |
---|
public Axis()
Method Detail |
---|
protected void setLinks()
setLinks
in class Component
Component.setLinks()
protected void prepare()
prepare
in class Parameter
Component.prepare()
,
DecimalFormat
public java.lang.String format(double val)
val
-
prepare()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |