All Packages Class Hierarchy Index
Package borland.jbcl.control
About the control package
Classes and components
About the control package
The control package contains complete UI components, including controls, dialogs, and containers. Many JBCL controls have an AWT parallel component that, at first glance, appears to provide identical functionality. There are important differences, however. Most components in JBCL:
- Are composite components, developed from the JBCL model-view components in the model and view packages. Composite components provide greater flexibility; many of them allow you to connect different models, item painters, and item editors to the same view.
- Are data-aware (can be connected to DataSets).
- Can allow multiple user interface elements to share the same data items
and selection set.
- Can display non-string items, such as images.
See also:
Overview of classes in the control package
Controls
- ButtonBar - A container for buttons, often near the top of the window.
- ButtonControl - A clickable button with a label.
- ButtonDescriptor - Stores the command, label, ID, and closeDialog properties for a button.
- CheckboxControl - A check box that can be set or cleared. A data-aware, model-view control.
- ChoiceControl - A drop-down menu of choices that shows the selected item when not dropped down.
- ListControl - Shows a scrollable list of items, enabling selection and editing.
- TreeControl - Displays an expandable graph or hierarchical list, such as the directories and files on a disk, or an outline of headings in a document.
- GridControl - Allows viewing and editing rows and columns of data; includes column and row headers.
- TabsetControl - A set of mutually exclusive tabs, without pages.
- LocatorControl - Provides incremental search in a character field or column, searching in the associated DataSet as each character is typed into the component.
- NavigatorControl - A button bar with several buttons, enabling navigating through a DataSet shown in a GridControl and editing data.
- DatasetColumnView - A ColumnView that is bound to a column of a DataSet and also picks up its properties from the column.
- PickListItemEditor - Can be used as the itemEditor property value of the Column component of a DataSet. Uses the Column component's pickList property, which is stored in the PickListDescriptor. Sets the column that the editor is bound to.
- CheckboxPanel - A component that contains CheckboxControl components to handle their layout and location, and can group them as radio buttons.
- FontChooserPanel - A panel that enables the end user to specify the font style and settings. This class is designed to be added to your own custom dialog or frame, programmatically.
- ColorChooserPanel - A panel that enables graphical selection of color values. This class is designed to be added to your own custom dialog or frame, programmatically.
- UserNamePasswordPanel - A user name and password panel for accessing a DataSet.
Text display
- LabelControl - Displays a single read-only line of text.
- FieldControl - Displays a single value, often allowing editing.
- TextAreaControl - A rectangular area for displaying and editing multiple lines of text.
- TextFieldControl - A rectangular area for displaying and editing a single line of text.
- StatusBar - A container to display status messages, often generated by an associated DataSet.
- MaskableTextItemEditor - Edits text data items and allows an edit mask pattern to be specified.
Graphics
- ImageControl - A repository of pixel values to display a graphic image.
- ShapeControl - Draws graphics shapes such as rectangles with rounded corners.
Containers
- BevelPanel - A rectangular container with a 3-dimensional edge; enables grouping of other components, including other panels.
- DecoratedFrame - A top-level window with a title, menubar, and window controls.
- GroupBox - A rectangular box with an optional label; for grouping controls.
- SplitPanel - A panel that is divided into several panes by movable split bars.
- TabsetPanel - A set of mutually exclusive tabbed pages, with tabs at the top or bottom, and a scrollbar when several tabs are shown in a small area.
Dialogs
- MessageDialog - A message box with standard buttons.
- ButtonDialog - Extends awt.Dialog, adding standard buttons and button sets. Extended by JBCL dialog classes.
- ExceptionDialog - A dialog box that lists exceptions thrown, with a Previous, Next, and Details button.
- FontChooserDialog - A dialog class that enables the end user to specify the font style and settings.
- ColorChooserDialog - A dialog class that enables graphical selection of color values.
- UserNamePasswordDialog - A user name and password dialog for accessing a DataSet.
- Filer - A File Open dialog or File Save As dialog.
- ColorChooser - A dialog component that enables graphical selection of color values. A data-aware wrapper for ColorChooserDialog, for use in the UI Designer.
- FontChooser - A dialog box component that enables the end user to specify the font style and settings. Used in the UI Designer.
- Message - A message box component with standard buttons.
Library overview