|
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.HorizontalLine
public class HorizontalLine
A graphical class that displays as a horizontal line.
Field Summary | |
---|---|
private java.awt.Color |
color
The Color of this line. |
private int |
down
The vertical position of the left point of this line. |
private int |
HEIGHT
The height of this line. |
private int |
over
The horizontal position of the left point of this line. |
private int |
width
The width of this line. |
Constructor Summary | |
---|---|
HorizontalLine(int over,
int down,
int width,
java.awt.Color color)
Creates a new horizontal line. |
Method Summary | |
---|---|
void |
draw(java.awt.Graphics g)
Draws this object as a horizontal 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 int width
private final int HEIGHT
private java.awt.Color color
Constructor Detail |
---|
public HorizontalLine(int over, int down, int width, java.awt.Color color)
over
- The horizontal position of the left point of this line.down
- The vertical position of the left point of this line.width
- The width 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 |