All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class eduni.simdiag.GraphData

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----eduni.simdiag.GraphEventObject
                   |
                   +----eduni.simdiag.GraphData

public class GraphData
extends GraphEventObject
Stores a single data point. Each data point has a line name and X and Y coordinates.


Variable Index

 o linename
 o x
 o y

Constructor Index

 o GraphData(Object, String)
Constructs data elem from a single text line Format: linename x y e.g.
 o GraphData(Object, String, double, double)
Constructs data elem from linename, x and y

Method Index

 o doit(GraphDiagram)
Called by recipient to implement command

Variables

 o linename
 public String linename
 o x
 public double x
 o y
 public double y

Constructors

 o GraphData
 public GraphData(Object src,
                  String l)
Constructs data elem from a single text line Format: linename x y e.g. "total_time 10 123.45"

 o GraphData
 public GraphData(Object src,
                  String linename,
                  double x,
                  double y)
Constructs data elem from linename, x and y

Methods

 o doit
 public void doit(GraphDiagram d)
Called by recipient to implement command

Overrides:
doit in class GraphEventObject

All Packages  Class Hierarchy  This Package  Previous  Next  Index