MUC Javadocs Version 3.0 January 2, 2007

muc.drawings
Class HorizontalLine

java.lang.Object
  extended by muc.drawings.HorizontalLine

public class HorizontalLine
extends java.lang.Object

A graphical class that displays as a horizontal line.

Version:
1.0 January 2, 2007
Author:
Blase Cindric & John Kirchmeyer

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

over

private int over
The horizontal position of the left point of this line.


down

private int down
The vertical position of the left point of this line.


width

private int width
The width of this line.


HEIGHT

private final int HEIGHT
The height of this line.

See Also:
Constant Field Values

color

private java.awt.Color color
The Color of this line.

Constructor Detail

HorizontalLine

public HorizontalLine(int over,
                      int down,
                      int width,
                      java.awt.Color color)
Creates a new horizontal line.

Parameters:
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

draw

public void draw(java.awt.Graphics g)
Draws this object as a horizontal line.

Parameters:
g - A Graphics context on which to draw.

MUC Javadocs Version 3.0 January 2, 2007