Class jrad.util.GroupBoxPanel
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class jrad.util.GroupBoxPanel

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----jrad.util.GroupBoxPanel

public class GroupBoxPanel
extends Panel
A panel that displays a Windows 95-style groupbox. The groupbox acts as a normal panel and may contain components.

Variable Index

 o insets
The border within the GroupBoxPanel to display between the rectangle and the contained components.
 o label
The GroupBoxPanel's label.

Constructor Index

 o GroupBoxPanel()
Constructs a new GroupBoxPanel.
 o GroupBoxPanel(String)
Constructs a new GroupBoxPanel with a label.

Method Index

 o getLabel()
Returns the GroupBoxPanel's label.
 o insets()
Returns the border within the GroupBoxPanel to display between the rectangle and the contained components.
 o paint(Graphics)
Paints the GroupBoxPanel and its components.
 o setInsets(Insets)
Sets the border within the GroupBoxPanel to display between the rectangle and the contained components.
 o setLabel(String)
Sets the GroupBoxPanel's label.

Variables

 o label
  protected String label
The GroupBoxPanel's label.
 o insets
  protected Insets insets
The border within the GroupBoxPanel to display between the rectangle and the contained components.

Constructors

 o GroupBoxPanel
  public GroupBoxPanel()
Constructs a new GroupBoxPanel.
 o GroupBoxPanel
  public GroupBoxPanel(String label)
Constructs a new GroupBoxPanel with a label.

Methods

 o getLabel
  public String getLabel()
Returns the GroupBoxPanel's label.
 o setLabel
  public void setLabel(String label)
Sets the GroupBoxPanel's label.
 o insets
  public Insets insets()
Returns the border within the GroupBoxPanel to display between the rectangle and the contained components.
Overrides:
insets in class Container
 o setInsets
  public void setInsets(Insets insets)
Sets the border within the GroupBoxPanel to display between the rectangle and the contained components.
 o paint
  public void paint(Graphics g)
Paints the GroupBoxPanel and its components.
Overrides:
paint in class Component

All Packages  Class Hierarchy  This Package  Previous  Next  Index