Class jrad.util.Line3DCanvas
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jrad.util.Line3DCanvas

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----jrad.util.Line3DCanvas

public class Line3DCanvas
extends Canvas
A subclass of Canvas which draws a Windows 95-style horizontal 3D line.

Constructor Index

 o Line3DCanvas()
Creates a new Line3DCanvas
 o Line3DCanvas(int, int, int)
Creates a new Line3DCanvas with the specified location and width.

Method Index

 o paint(Graphics)
Paints the line.

Constructors

 o Line3DCanvas
  public Line3DCanvas()
Creates a new Line3DCanvas
 o Line3DCanvas
  public Line3DCanvas(int x,
                      int y,
                      int width)
Creates a new Line3DCanvas with the specified location and width.
Parameters:
x - the x location of the left side of the line
y - the y location of the left side of the line
width - the width of the line

Methods

 o paint
  public void paint(Graphics g)
Paints the line.
Overrides:
paint in class Canvas

All Packages  Class Hierarchy  This Package  Previous  Next  Index