borland Packages  Class Hierarchy  jbcl.control Package  Index 

GroupBox component

java.lang.Object
   +----java.awt.Component
           +----java.awt.Container
                   +----com.sun.java.swing.JComponent
                           +----borland.jbcl.view.BeanPanel
                                   +----borland.jbcl.control.GroupBox

About the GroupBox component

Variables  Constructors  Properties  Methods  Event Listeners

Implements ImageObserver, MenuContainer, Serializable

A group box is a container that organizes controls into a group. A group box is a rectangular box with an optional label.

The label of the group box is used to describe the collective purpose of the controls contained in the group box. For example, a group labeled Alignment could contain option buttons labeled Left, Right, and Center.


GroupBox variables

Variables implemented in this class

Variables implemented in borland.jbcl.view.BeanPanel

Variables implemented in com.sun.java.swing.JComponent

Variables implemented in java.awt.Component

GroupBox constructors

GroupBox properties

*Read-only properties **Write-only properties

Properties implemented in this class

Properties implemented in borland.jbcl.view.BeanPanel

Properties implemented in com.sun.java.swing.JComponent

Properties implemented in java.awt.Component

Properties implemented in java.awt.Container

Properties implemented in java.lang.Object

GroupBox methods

Methods implemented in this class

Methods implemented in borland.jbcl.view.BeanPanel

Methods implemented in com.sun.java.swing.JComponent

Methods implemented in java.awt.Component

Methods implemented in java.awt.Container

Methods implemented in java.lang.Object

GroupBox event listeners


GroupBox variables

label

  protected String label

textureName

  protected String textureName

GroupBox constructors

GroupBox()

  public GroupBox()
Constructs a group box with no label.

GroupBox(java.lang.String)

  public GroupBox(java.lang.String label)
Constructs a group box, showing the specified label in the upper left.

Parameters:

label
The specified label.


GroupBox properties

label

 public String getLabel()
 public void setLabel(java.lang.String label)
The label is the visible name of the group box, shown in the upper left of the group box.

minimumSize

 public Dimension getMinimumSize()

preferredSize

 public Dimension getPreferredSize()

textureName

 public String getTextureName()
 public void setTextureName(java.lang.String path)
Determines the name of the Image file that is tiled on the background of the control to give the appearance of texture. Specify the file name and directory using the path parameter.

GroupBox methods

insets()

  public Insets insets()
Returns the height of the current font as the top, left, bottom, and right arguments to awt.Insets. The insets are the distance between the lines forming the box and the controls surrounded by the box.

Overrides: java.awt.Container.insets()

paintComponent(java.awt.Graphics)

  public void paintComponent(java.awt.Graphics g)
Paints or repaints the GroupBox.

Overrides: com.sun.java.swing.JComponent.paintComponent(java.awt.Graphics)


GroupBox event listeners

This component is a source for the following event sets. For information on the standard AWT event sets, see Standard Java events.

action

 public synchronized void addActionListener(java.awt.event.ActionListener l)
 public synchronized void removeActionListener(java.awt.event.ActionListener l)

ancestor

 public void addAncestorListener(com.sun.java.swing.event.AncestorListener )
 public void removeAncestorListener(com.sun.java.swing.event.AncestorListener )

component

 public synchronized void addComponentListener(java.awt.event.ComponentListener )
 public synchronized void removeComponentListener(java.awt.event.ComponentListener )

container

 public synchronized void addContainerListener(java.awt.event.ContainerListener )
 public void removeContainerListener(java.awt.event.ContainerListener )

focus

 public synchronized void addFocusListener(java.awt.event.FocusListener )
 public synchronized void removeFocusListener(java.awt.event.FocusListener )

key

 public synchronized void addKeyListener(java.awt.event.KeyListener )
 public synchronized void removeKeyListener(java.awt.event.KeyListener )

mouse

 public synchronized void addMouseListener(java.awt.event.MouseListener )
 public synchronized void removeMouseListener(java.awt.event.MouseListener )

mouseMotion

 public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener )
 public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener )

propertyChange

 public synchronized void addPropertyChangeListener(java.beans.PropertyChangeListener )
 public synchronized void removePropertyChangeListener(java.beans.PropertyChangeListener )

vetoableChange

 public synchronized void addVetoableChangeListener(java.beans.VetoableChangeListener )
 public synchronized void removeVetoableChangeListener(java.beans.VetoableChangeListener )