All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class primitives.frames.DrawFrame

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----primitives.frames.DrawFrame

public class DrawFrame
extends Panel
A class which draws a 3D square around a CanvasArea.


Variable Index

 o drawArea
A canvas which contains most of the area this object;

Constructor Index

 o DrawFrame()
initialize the panel with a CanvasArea member.

Method Index

 o finalize()
sets drawArea member to null.
 o getInsets()
 o paint(Graphics)
Draws a 3D square as the border of this Panel.

Variables

 o drawArea
 public CanvasArea drawArea
A canvas which contains most of the area this object;

See Also:
CanvasArea

Constructors

 o DrawFrame
 public DrawFrame()
initialize the panel with a CanvasArea member.

Methods

 o getInsets
 public Insets getInsets()
Returns:
Insets
Overrides:
getInsets in class Container
 o paint
 public void paint(Graphics g)
Draws a 3D square as the border of this Panel.

Parameters:
g - a Graphic object to draw on.
Overrides:
paint in class Container
 o finalize
 public void finalize() throws Throwable
sets drawArea member to null.

Throws: Throwable
.
Overrides:
finalize in class Object

All Packages  Class Hierarchy  This Package  Previous  Next  Index