moebiusViewer.graph
Class Graph

java.lang.Object
  extended bymoebiusViewer.shape.AbstractShape
      extended bymoebiusViewer.graph.Graph
All Implemented Interfaces:
java.lang.Cloneable, MoebiusShape, java.io.Serializable

public class Graph
extends AbstractShape

See Also:
Serialized Form

Field Summary
 
Fields inherited from class moebiusViewer.shape.AbstractShape
EPS, EPSSQR, propertyChangeSupport, toolList
 
Constructor Summary
Graph()
           
 
Method Summary
 void addGraph(double[] y)
           
 void draw(MoebiusGraphics g)
           
 void drawGrid(MoebiusGraphics g)
           
 double getMaxY()
           
 double getMinY()
           
 java.util.Vector getValues()
           
 void removeGraph(int index)
           
 void setGraph(int index, double[] y)
           
 
Methods inherited from class moebiusViewer.shape.AbstractShape
addPropertyChangeListener, clone, dontFirePropertyChange, equals, firePropertyChange, firePropertyChange, getColor, getFilled, getLabel, getLineWidth, getPickable, getPointOutline, getPointRadius, getShowLabel, getString, getTools, isDoFirePropertyChange, isPickable, removePropertyChangeListener, reset, setColor, setDoFirePropertyChange, setFilled, setLabel, setLineWidth, setPickable, setPointOutline, setPointRadius, setShowLabel
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Graph

public Graph()
Method Detail

addGraph

public void addGraph(double[] y)

removeGraph

public void removeGraph(int index)

setGraph

public void setGraph(int index,
                     double[] y)

getValues

public java.util.Vector getValues()

getMinY

public double getMinY()

getMaxY

public double getMaxY()

drawGrid

public void drawGrid(MoebiusGraphics g)

draw

public void draw(MoebiusGraphics g)
Specified by:
draw in interface MoebiusShape
Overrides:
draw in class AbstractShape