org.math.plot.plotObjects
Class Line

java.lang.Object
  extended by org.math.plot.plotObjects.Line
All Implemented Interfaces:
Plotable
Direct Known Subclasses:
BaseLine

public class Line
extends Object
implements Plotable

BSD License

Author:
Yann RICHET

Field Summary
protected  Color color
           
protected  double[][] extrem
           
(package private)  boolean visible
           
 
Constructor Summary
Line(Color col, double[] c1, double[] c2)
           
 
Method Summary
 Color getColor()
           
 boolean getVisible()
           
 void plot(AbstractDrawer draw)
           
 void setColor(Color c)
           
 void setVisible(boolean v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

extrem

protected double[][] extrem

color

protected Color color

visible

boolean visible
Constructor Detail

Line

public Line(Color col,
            double[] c1,
            double[] c2)
Method Detail

setColor

public void setColor(Color c)
Specified by:
setColor in interface Plotable

getColor

public Color getColor()
Specified by:
getColor in interface Plotable

setVisible

public void setVisible(boolean v)
Specified by:
setVisible in interface Plotable

getVisible

public boolean getVisible()
Specified by:
getVisible in interface Plotable

plot

public void plot(AbstractDrawer draw)
Specified by:
plot in interface Plotable