All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jclass.contrib.JCOutlinePanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----jclass.contrib.JCOutlinePanel

public class JCOutlinePanel
extends Panel
JCOutlinePanel is a Panel that has a line drawn around its border. This line is drawn by modifying the panel insets and overriding the paint() member.

A JCOutlinePanel instance must be used exactly as one would use a Panel instance.


Constructor Index

 o JCOutlinePanel()
The default constructor.

Method Index

 o insets()
Modifies the default insets to account for the line drawn around the Panel.
 o paint(Graphics)
Draws the line.

Constructors

 o JCOutlinePanel
 public JCOutlinePanel()
The default constructor. It sets the default layout to null.

Methods

 o insets
 public Insets insets()
Modifies the default insets to account for the line drawn around the Panel. Most layout managers account for the insets, so the line is not overdrawn.

Overrides:
insets in class Container
 o paint
 public void paint(Graphics g)
Draws the line.

Overrides:
paint in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index