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.
-
Line3DCanvas()
- Creates a new Line3DCanvas
-
Line3DCanvas(int, int, int)
- Creates a new Line3DCanvas with the specified location and
width.
-
paint(Graphics)
- Paints the line.
Line3DCanvas
public Line3DCanvas()
- Creates a new Line3DCanvas
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
paint
public void paint(Graphics g)
- Paints the line.
- Overrides:
- paint in class Canvas
All Packages Class Hierarchy This Package Previous Next Index