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