org.simBio.sim.analyzer.graph
Class Graph4State
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.Graph4State
- All Implemented Interfaces:
- Node
public class Graph4State
- extends Graph
Draws the target as a surface.
Overrides the line/point drawing methods in order to draw the surface.
- Version:
- $Id: Graph4State.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 |
Graph4State
public Graph4State()
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.