SimJava 2.0.1

eduni.simdiag
Class Linedata

Object
  extended by Linedata

 class Linedata
extends Object


Field Summary
(package private)  String name
           
(package private)  List points
           
 
Constructor Summary
Linedata(String n)
           
 
Method Summary
 void add(double x, double y)
           
 void draw(Graphics g, int i, GraphPanel p)
           
 DPoint getDPoint(int i)
           
 String getName()
           
(package private)  Color valtocol(int v)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

String name

points

List points
Constructor Detail

Linedata

public Linedata(String n)
Method Detail

add

public void add(double x,
                double y)

getDPoint

public DPoint getDPoint(int i)

getName

public String getName()

valtocol

Color valtocol(int v)

draw

public void draw(Graphics g,
                 int i,
                 GraphPanel p)

SimJava 2.0.1

The University of Edinburgh, 2009