Class dnx.awtutil.RaisedPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class dnx.awtutil.RaisedPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----dnx.awtutil.RaisedPanel

public class RaisedPanel
extends Panel
The RaisedPanel class tries to...

Variable Index

 o fRaised
 o innerMargin
 o innerPanel
 o label
 o outerXMargin
 o outerYMargin

Constructor Index

 o RaisedPanel()
Constructs a default panel, with no label, inset (not raised), with default insets
 o RaisedPanel(String)
Constructs a default panel, with passed label, inset (not raised), with default insets
 o RaisedPanel(String, boolean, int, int, int)

Method Index

 o add(Component)
 o add(String, Component)
 o paint(Graphics)
This method takes care of painting the Rectangle.
 o setLayout(LayoutManager)

Variables

 o label
  protected String label
 o fRaised
  protected boolean fRaised
 o outerXMargin
  protected int outerXMargin
 o outerYMargin
  protected int outerYMargin
 o innerMargin
  protected int innerMargin
 o innerPanel
  protected Panel innerPanel

Constructors

 o RaisedPanel
  public RaisedPanel()
Constructs a default panel, with no label, inset (not raised), with default insets
 o RaisedPanel
  public RaisedPanel(String label)
Constructs a default panel, with passed label, inset (not raised), with default insets
 o RaisedPanel
  public RaisedPanel(String label,
                     boolean fRaised,
                     int outerXMargin,
                     int outerYMargin,
                     int innerMargin)

Methods

 o add
  public synchronized Component add(Component comp)
Overrides:
add in class Container
 o add
  public synchronized Component add(String str,
                                    Component comp)
Overrides:
add in class Container
 o setLayout
  public void setLayout(LayoutManager mgr)
Overrides:
setLayout in class Container
 o paint
  public void paint(Graphics g)
This method takes care of painting the Rectangle.
Returns:
void
Overrides:
paint in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index