org.simBio.sim.analyzer.graph
Class StepChart
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.AbstractGraph
org.simBio.sim.analyzer.graph.BasicGraph
org.simBio.sim.analyzer.graph.Graph
org.simBio.sim.analyzer.graph.StepChart
- All Implemented Interfaces:
- Node
public class StepChart
- extends Graph
Shifts and displays the target.
Overrides the line/point drawing method, and shifts the drawing position.
- Version:
- $Id: StepChart.java,v 1.2 2007/02/07 03:13:03 nsarai Exp $
- Author:
- Nobuaki Sarai
| Fields inherited from class org.simBio.sim.analyzer.graph.AbstractGraph |
axisX, axisY, interval, log, maxTime, nextTime, nTarget, nTargetOrigin, page, plotDisplay, plotPrinter, target, targetName, targetScale, targetShortName, thisGraph, valuesBuffer |
|
Method Summary |
void |
drawLine(IPlot plot,
java.awt.Graphics2D graphics2d,
double x1,
double y1,
double x2,
double y2,
int nGraph)
Strikes a point on a graph.
When a line is drawn instead of a point in Graph4State, it separates so that it is easy to inherit.
|
void |
drawPoint(IPlot plot,
java.awt.Graphics2D graphics2d,
double x,
double y,
int nGraph)
Draws a line on a graph.
When a line is drawn instead of a point in Graph4State, it separates so
that it is easy to inherit.
|
| Methods inherited from class org.simBio.sim.analyzer.graph.AbstractGraph |
analyze, doRepaint, paintAxises, paintBackground, paintComponent, paintLegend, prepareRepaint, printAxises, printBackground, printComponent, printLegend |
| Methods inherited from class org.simBio.core.Component |
addDydt, 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 |
xStep
public double xStep
yStep
public double yStep
StepChart
public StepChart()
drawLine
public void drawLine(IPlot plot,
java.awt.Graphics2D graphics2d,
double x1,
double y1,
double x2,
double y2,
int nGraph)
- Description copied from class:
AbstractGraph
- Strikes a point on a graph.
When a line is drawn instead of a point in Graph4State, it separates so that it is easy to inherit.
- Overrides:
drawLine in class AbstractGraph
- Parameters:
plot - drawing operation object graphics2d - Graphics which are drawn x1 - starting X coordinate y1 - starting Y coordinate x2 - finishing X coordinate y2 - finishing Y coordinate nGraph - series number of the graph (0..n)
drawPoint
public void drawPoint(IPlot plot,
java.awt.Graphics2D graphics2d,
double x,
double y,
int nGraph)
- Description copied from class:
AbstractGraph
- Draws a line on a graph.
When a line is drawn instead of a point in Graph4State, it separates so
that it is easy to inherit.
- Overrides:
drawPoint in class AbstractGraph
- Parameters:
plot - drawing operation object graphics2d - Graphics which are drawn x - X coordinate y - Y coordinate nGraph - series number of a graph (0..n)
Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.