All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.w3c.tools.widgets.BorderPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----org.w3c.tools.widgets.BorderPanel

public class BorderPanel
extends Panel
A Panel with a border (SOLID, RAISED, LOWERED, IN or OUT)


Variable Index

 o IN
 o insets
 o LOWERED
 o OUT
 o RAISED
 o SOLID

Constructor Index

 o BorderPanel(int)
Constructor.
 o BorderPanel(int, int)
Constructor.

Method Index

 o getInsets()
 o paint(Graphics)
Paint the border (if any), and then, paint the components.
 o setInsets(Insets)

Variables

 o SOLID
 public static final int SOLID
 o RAISED
 public static final int RAISED
 o LOWERED
 public static final int LOWERED
 o IN
 public static final int IN
 o OUT
 public static final int OUT
 o insets
 protected Insets insets

Constructors

 o BorderPanel
 public BorderPanel(int type,
                    int thickness)
Constructor.

Parameters:
type - The border type (SOLID, RAISED, LOWERED, IN or OUT)
thickness - The border thickness.
 o BorderPanel
 public BorderPanel(int type)
Constructor.

Parameters:
type - The border type (SOLID, RAISED, LOWERED, IN or OUT)

Methods

 o paint
 public void paint(Graphics graphics)
Paint the border (if any), and then, paint the components.

Parameters:
graphics - the specified Graphics window
Overrides:
paint in class Container
 o getInsets
 public Insets getInsets()
Overrides:
getInsets in class Container
 o setInsets
 public void setInsets(Insets insets)

All Packages  Class Hierarchy  This Package  Previous  Next  Index