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.
-
drawArea
- A canvas which contains most of the area this object;
-
DrawFrame()
- initialize the panel with a CanvasArea member.
-
finalize()
- sets drawArea member to null.
-
getInsets()
-
-
paint(Graphics)
- Draws a 3D square as the border of this Panel.
drawArea
public CanvasArea drawArea
- A canvas which contains most of the area this object;
- See Also:
- CanvasArea
DrawFrame
public DrawFrame()
- initialize the panel with a CanvasArea member.
getInsets
public Insets getInsets()
- Returns:
- Insets
- Overrides:
- getInsets in class Container
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
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