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.
-
FLAT
-
-
NONE
-
-
RAISED
-
-
SUNKEN
-
-
Group(int)
-
Constructor (no title).
-
Group(String, int)
-
Constructor.
-
getInsets()
- Returns the insets of the container.
-
insets()
-
Deprecated.
-
paint(Graphics)
-
NONE
public static final int NONE
SUNKEN
public static final int SUNKEN
RAISED
public static final int RAISED
FLAT
public static final int FLAT
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
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
paint
public void paint(Graphics g)
- Overrides:
- paint in class Container
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
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