All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.trumphurst.controls.Group

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Container
                   |
                   +----java.awt.Panel
                           |
                           +----com.trumphurst.controls.Group

public class Group
extends Panel
Lightweight container with a border, title, etc.


Variable Index

 o FLAT
 o NONE
 o RAISED
 o SUNKEN

Constructor Index

 o Group(int)
Constructor (no title).
 o Group(String, int)
Constructor.

Method Index

 o getInsets()
Returns the insets of the container.
 o insets()
Deprecated.
 o paint(Graphics)

Variables

 o NONE
 public static final int NONE
 o SUNKEN
 public static final int SUNKEN
 o RAISED
 public static final int RAISED
 o FLAT
 public static final int FLAT

Constructors

 o Group
 public Group(String title,
              int border)
Constructor.

Parameters:
title - The title to show, or null for none.
border - The border type to draw. Can use predefined BorderTypes shown below.
See Also:
SUNKEN, RAISED, FLAT, NONE
 o Group
 public Group(int border)
Constructor (no title).

Parameters:
border - The border type to draw. Can use predefined BorderTypes shown below.
See Also:
SUNKEN, RAISED, FLAT, NONE

Methods

 o paint
 public void paint(Graphics g)
Overrides:
paint in class Container
 o getInsets
 public Insets getInsets()
Returns the insets of the container. The insets indicate the size of the border of the container. A Frame, for example, will have a top inset that corresponds to the height of the Frame's title bar.

Overrides:
getInsets in class Container
See Also:
LayoutManager
 o insets
 public Insets insets()
Note: insets() is deprecated. As of JDK version 1.1, replaced by getInsets().

Overrides:
insets in class Container

All Packages  Class Hierarchy  This Package  Previous  Next  Index