org.sape.carbon.services.swing.graph
Class GraphCanvas.Track

java.lang.Object
  |
  +--org.sape.carbon.services.swing.graph.GraphCanvas.Track
Enclosing class:
GraphCanvas

public static class GraphCanvas.Track
extends Object


Field Summary
protected  Color color
           
protected  NumberFormat keyFormat
           
protected  String name
           
protected  GeneralPath path
           
protected  boolean started
           
 
Constructor Summary
GraphCanvas.Track(String name)
           
GraphCanvas.Track(String name, Color color)
           
 
Method Summary
 void addPoint(Point2D point)
           
 Color getColor()
           
 GeneralPath getPath()
           
 void setColor(Color color)
           
 void setPath(GeneralPath path)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected String name

color

protected Color color

path

protected GeneralPath path

started

protected boolean started

keyFormat

protected NumberFormat keyFormat
Constructor Detail

GraphCanvas.Track

public GraphCanvas.Track(String name)

GraphCanvas.Track

public GraphCanvas.Track(String name,
                         Color color)
Method Detail

setPath

public void setPath(GeneralPath path)

getPath

public GeneralPath getPath()

addPoint

public void addPoint(Point2D point)

getColor

public Color getColor()

setColor

public void setColor(Color color)

toString

public String toString()
Overrides:
toString in class Object


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.