borland.jbcl Packages borland.jbcl Class Hierarchy borland.jbcl.control
GroupBox component
java.lang.Object
+----java.awt.Component
+----java.awt.Container
+----java.awt.Panel
+----borland.jbcl.control.GroupBox
About the GroupBox component
Variables Constructors Properties Methods Event Listeners
Implements MenuContainer, ImageObserver, 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
GroupBox constructors
GroupBox properties
*Read-only properties **Write-only properties
Properties implemented in this class
GroupBox methods
Methods implemented in this class
- action(java.awt.Event, java.lang.Object)
- add(java.awt.PopupMenu)
- bounds()
- checkImage(java.awt.Image, int, int, java.awt.image.ImageObserver)
- checkImage(java.awt.Image, java.awt.image.ImageObserver)
- contains(int, int)
- contains(java.awt.Point)
- createImage(int, int)
- createImage(java.awt.image.ImageProducer)
- disable()
- disableEvents(long)
- dispatchEvent(java.awt.AWTEvent)
- enable()
- enable(boolean)
- enableEvents(long)
- getFontMetrics(java.awt.Font)
- gotFocus(java.awt.Event, java.lang.Object)
- handleEvent(java.awt.Event)
- hide()
- imageUpdate(java.awt.Image, int, int, int, int, int)
- inside(int, int)
- keyDown(java.awt.Event, int)
- keyUp(java.awt.Event, int)
- list()
- list(java.io.PrintStream)
- list(java.io.PrintWriter)
- location()
- lostFocus(java.awt.Event, java.lang.Object)
- mouseDown(java.awt.Event, int, int)
- mouseDrag(java.awt.Event, int, int)
- mouseEnter(java.awt.Event, int, int)
- mouseExit(java.awt.Event, int, int)
- mouseMove(java.awt.Event, int, int)
- mouseUp(java.awt.Event, int, int)
- move(int, int)
- nextFocus()
- paintAll(java.awt.Graphics)
- postEvent(java.awt.Event)
- prepareImage(java.awt.Image, int, int, java.awt.image.ImageObserver)
- prepareImage(java.awt.Image, java.awt.image.ImageObserver)
- printAll(java.awt.Graphics)
- processComponentEvent(java.awt.event.ComponentEvent)
- processFocusEvent(java.awt.event.FocusEvent)
- processKeyEvent(java.awt.event.KeyEvent)
- processMouseEvent(java.awt.event.MouseEvent)
- processMouseMotionEvent(java.awt.event.MouseEvent)
- remove(java.awt.MenuComponent)
- repaint()
- repaint(int, int, int, int)
- repaint(long)
- repaint(long, int, int, int, int)
- requestFocus()
- reshape(int, int, int, int)
- resize(int, int)
- resize(java.awt.Dimension)
- setBounds(int, int, int, int)
- setLocation(int, int)
- setSize(int, int)
- show()
- show(boolean)
- size()
- toString()
- transferFocus()
- update(java.awt.Graphics)
- add(java.awt.Component)
- add(java.awt.Component, int)
- add(java.awt.Component, java.lang.Object)
- add(java.awt.Component, java.lang.Object, int)
- add(java.lang.String, java.awt.Component)
- addImpl(java.awt.Component, java.lang.Object, int)
- countComponents()
- deliverEvent(java.awt.Event)
- doLayout()
- getComponent(int)
- getComponentAt(int, int)
- getComponentAt(java.awt.Point)
- invalidate()
- isAncestorOf(java.awt.Component)
- layout()
- list(java.io.PrintStream, int)
- list(java.io.PrintWriter, int)
- locate(int, int)
- minimumSize()
- paintComponents(java.awt.Graphics)
- paramString()
- preferredSize()
- print(java.awt.Graphics)
- printComponents(java.awt.Graphics)
- processContainerEvent(java.awt.event.ContainerEvent)
- processEvent(java.awt.AWTEvent)
- remove(int)
- remove(java.awt.Component)
- removeAll()
- removeNotify()
- validate()
- validateTree()
GroupBox event listeners
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.
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()
paint(java.awt.Graphics)
public void paint(java.awt.Graphics g)
Paints or repaints the group box.
Overrides:
java.awt.Container.paint(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.
component
public synchronized void addComponentListener(java.awt.event.ComponentListener l)
public synchronized void removeComponentListener(java.awt.event.ComponentListener l)
container
public synchronized void addContainerListener(java.awt.event.ContainerListener l)
public void removeContainerListener(java.awt.event.ContainerListener l)
focus
public synchronized void addFocusListener(java.awt.event.FocusListener l)
public synchronized void removeFocusListener(java.awt.event.FocusListener l)
key
public synchronized void addKeyListener(java.awt.event.KeyListener l)
public synchronized void removeKeyListener(java.awt.event.KeyListener l)
mouse
public synchronized void addMouseListener(java.awt.event.MouseListener l)
public synchronized void removeMouseListener(java.awt.event.MouseListener l)
mouseMotion
public synchronized void addMouseMotionListener(java.awt.event.MouseMotionListener l)
public synchronized void removeMouseMotionListener(java.awt.event.MouseMotionListener l)