analyzer.plot
Class Line
java.lang.Object
|
+--analyzer.plot.PlotElement
|
+--analyzer.plot.Line
- public class Line
- extends PlotElement
Draw a straight line, either horizontal or vertical.
Method Summary |
void |
paint(java.awt.Graphics2D g)
Paint |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
coordSource
protected DoubleSource coordSource
- The object thap rrovides the coordinate of the line.
orientation
protected int orientation
- The orientation of the line.
HORIZONTAL
public static final int HORIZONTAL
- Horizontal orientation.
VERTICAL
public static final int VERTICAL
- Vertical orientation.
Line
public Line(DoubleSource coordSource,
int orientation)
- Constructor
paint
public void paint(java.awt.Graphics2D g)
- Paint
- Overrides:
- paint in class PlotElement
Email questions and comments to
shumway@uiuc.edu or nzhong@ncsa.uiuc.edu