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.
   
  -   linename linename
-  
  
-   x x
-  
  
-   y y
-  
   
  -   GraphData(Object, String) GraphData(Object, String)
-  Constructs data elem from a single text line
 Format: linename x y
 e.g.
  
-   GraphData(Object, String, double, double) GraphData(Object, String, double, double)
-  Constructs data elem from linename, x and y
   
  -   doit(GraphDiagram) doit(GraphDiagram)
-  Called by recipient to implement command
   
 linename
linename
 public String linename
 x
x
 public double x
 y
y
 public double y
   
 GraphData
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"
 
 GraphData
GraphData
 public GraphData(Object src,
                  String linename,
                  double x,
                  double y)
  -  Constructs data elem from linename, x and y
 
   
 doit
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