MUC Javadocs Version 3.0 January 2, 2007

muc.drawings
Class VerticalLine

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

public class VerticalLine
extends java.lang.Object

A graphical class that displays as a vertical 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 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

over

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


down

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


WIDTH

private final int WIDTH
The width of this line.

See Also:
Constant Field Values

height

private int height
The height of this line.


color

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

Constructor Detail

VerticalLine

public VerticalLine(int over,
                    int down,
                    int height,
                    java.awt.Color color)
Creates a new vertical line.

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

draw

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

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

MUC Javadocs Version 3.0 January 2, 2007