All Packages Class Hierarchy This Package Previous Next Index
Class datarep.common.GroupBoxPanel
java.lang.Object
|
+----java.awt.Component
|
+----java.awt.Container
|
+----datarep.common.GroupBoxPanel
- public class GroupBoxPanel
- extends Container
- implements AdjustmentListener
GroupBoxPanel is a convienent class for display. It draws a box (optionally, with text) around
the one component (which could be a layout) which it can hold. This can be used to indicate a related set of parts.
- Version:
- 1.2
- Author:
- Data Representations, Inc.
-
GroupBoxPanel()
- creates a new GroupBoxPanel with no text, using the flowLayout manager.
-
GroupBoxPanel(String)
- creates a new GroupBoxPanel with the specified text and the flowLayout manager.
-
GroupBoxPanel(String, LayoutManager)
- creates a new GroupBoxPanel with the specified text and layout manager.
-
addNotify()
-
-
adjustmentValueChanged(AdjustmentEvent)
-
-
getInsets()
-
-
getPreferredSize()
-
-
getText()
-
-
main(String[])
- a simple test program for GroupBoxPanel
-
paint(Graphics)
- draws the GroupBoxPanel
-
removeNotify()
-
-
setText(String)
- sets the text of the GroupBoxPanel
-
validate()
-
GroupBoxPanel
public GroupBoxPanel()
- creates a new GroupBoxPanel with no text, using the flowLayout manager.
GroupBoxPanel
public GroupBoxPanel(String text)
- creates a new GroupBoxPanel with the specified text and the flowLayout manager.
GroupBoxPanel
public GroupBoxPanel(String text,
LayoutManager layout)
- creates a new GroupBoxPanel with the specified text and layout manager.
setText
public void setText(String text)
- sets the text of the GroupBoxPanel
getText
public String getText()
getPreferredSize
public Dimension getPreferredSize()
- Overrides:
- getPreferredSize in class Container
paint
public void paint(Graphics g)
- draws the GroupBoxPanel
- Overrides:
- paint in class Container
getInsets
public Insets getInsets()
- Overrides:
- getInsets in class Container
addNotify
public void addNotify()
- Overrides:
- addNotify in class Container
removeNotify
public void removeNotify()
- Overrides:
- removeNotify in class Container
adjustmentValueChanged
public void adjustmentValueChanged(AdjustmentEvent e)
validate
public void validate()
- Overrides:
- validate in class Container
main
public static void main(String args[])
- a simple test program for GroupBoxPanel
All Packages Class Hierarchy This Package Previous Next Index