|
MUC Javadocs Version 3.0 January 2, 2007 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object muc.drawings.VerticalLine
public class VerticalLine
A graphical class that displays as a vertical line.
Field Summary | |
---|---|
private java.awt.Color |
color
The Color of this line. |
private int |
down
The vertical position of the top point of this line. |
private int |
height
The height of this line. |
private int |
over
The horizontal position of the top point of this line. |
private int |
WIDTH
The width of this line. |
Constructor Summary | |
---|---|
VerticalLine(int over,
int down,
int height,
java.awt.Color color)
Creates a new vertical line. |
Method Summary | |
---|---|
void |
draw(java.awt.Graphics g)
Draws this object as a vertical line. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int over
private int down
private final int WIDTH
private int height
private java.awt.Color color
Constructor Detail |
---|
public VerticalLine(int over, int down, int height, java.awt.Color color)
over
- The horizontal position of the top point of this line.down
- The vertical position of the top point of this line.height
- The height of this line.color
- The Color of this line.Method Detail |
---|
public void draw(java.awt.Graphics g)
g
- A Graphics context on which to draw.
|
MUC Javadocs Version 3.0 January 2, 2007 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |