|
||||||||||
| 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.VisualizeAnalyzer
org.simBio.sim.analyzer.graph.Axis
org.simBio.sim.analyzer.graph.AxisY
public class AxisY
y axis
| Field Summary |
|---|
| Fields inherited from class org.simBio.sim.analyzer.graph.Axis |
|---|
extendMode, extendModeDefault, extendRateDefault, gridStep, isPlotLabel, labelColor, labelFont, labelInitialized, labelLength, labelStep, length, log, max, min, MODE_AUTOSCALE, MODE_AUTOSCROLL, MODE_FIXED, nextLabelPos, origin, patternString, titleColor, titleFont |
| Fields inherited from class org.simBio.core.Parameter |
|---|
value |
| Constructor Summary | |
|---|---|
AxisY()
|
|
| Method Summary | |
|---|---|
protected void |
drowDesc(java.awt.Graphics graphics,
IPlot plot,
java.lang.String str)
Draws the axis label in graphics. |
protected void |
drowGrid(java.awt.Graphics graphics,
IPlot plot,
double value)
Draws a grid in graphics with a value at the specified position. |
protected void |
drowLabel(java.awt.Graphics graphics,
IPlot plot,
double value,
java.lang.String str)
Draws the numerical value of the value parameter in graphics at the specified position. |
java.lang.String |
getFormatString(double min,
double max)
Get default format string. |
int |
getFreeSpaceBottom(java.awt.Graphics graphics)
Gets the space at the bottom of the screen for displaying the scale. Please override as necessary with a subclass. |
int |
getFreeSpaceLeft(java.awt.Graphics graphics)
Get the space for the axis label |
int |
getFreeSpaceTop(java.awt.Graphics graphics)
Gets the space at the top of the screen for displaying the scale. Please override as necessary with a subclass. |
protected double |
getLabelLength(java.awt.Graphics graphics,
java.lang.String str)
Axis label display |
protected double |
getPos(double data,
IPlot plot)
Gets the coordinate axis from Plot. |
protected void |
setLinks()
Set link to the Viewer to get scale factor later. |
| Methods inherited from class org.simBio.sim.analyzer.graph.Axis |
|---|
analyze, doRepaint, format, getFreeSpaceRight, Log10, plotAxis, prepare, prepareRepaint |
| Methods inherited from class org.simBio.sim.analyzer.VisualizeAnalyzer |
|---|
getColorParameter, getDouble, getFontParameter, getNodeHierarchically, getNodeRecursive, repaint, resetBuffer |
| 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 |
| Constructor Detail |
|---|
public AxisY()
| Method Detail |
|---|
protected void setLinks()
Axis
setLinks in class AxisComponent.setLinks()
public java.lang.String getFormatString(double min,
double max)
Axis
getFormatString in class Axismin - minimum scale valuemax - maximum scale value
public int getFreeSpaceLeft(java.awt.Graphics graphics)
getFreeSpaceLeft in class Axisgraphics - Graphics of the drawing target
Axis.getFreeSpaceLeft(java.awt.Graphics)public int getFreeSpaceTop(java.awt.Graphics graphics)
Axis
getFreeSpaceTop in class Axisgraphics - Graphics of the drawing target
public int getFreeSpaceBottom(java.awt.Graphics graphics)
Axis
getFreeSpaceBottom in class Axisgraphics - Graphics of the drawing target
protected double getLabelLength(java.awt.Graphics graphics,
java.lang.String str)
getLabelLength in class Axisgraphics - Graphics drawing object str - display valueorg.simBio.sim.analyzer.graph.Axis#getLabelLength(org.simBio.sim.analyzer.graph.AbstractGraph,
java.awt.Graphics, java.lang.String)
protected void drowGrid(java.awt.Graphics graphics,
IPlot plot,
double value)
Axis
drowGrid in class Axisgraphics - Graphics drawing object plot - drawing operation object value - calculation value
protected void drowLabel(java.awt.Graphics graphics,
IPlot plot,
double value,
java.lang.String str)
Axis
drowLabel in class Axisgraphics - Graphics drawing object plot - drawing operation object value - calculation value str - display value
protected void drowDesc(java.awt.Graphics graphics,
IPlot plot,
java.lang.String str)
Axis
drowDesc in class Axisgraphics - Graphics drawing object plot - drawing operation object str - display value
protected double getPos(double data,
IPlot plot)
Axis
getPos in class Axisdata - calculation value plot - object that handles drawing
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||