borland Packages borland Class Hierarchy
Package borland.jbcl.control
About the borland.jbcl.control package
The control package contains complete UI components, including controls, dialogs, and containers.
Many JBCL controls have an AWT or Swing parallel component that appears to provide identical functionality.
There are important differences, however. Most components in the JBCL:
- Are composite components that follow the JBCL model-view architecture. 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 JBCL DataSets).
- Allow multiple user interface elements to share the same data items
and selection set.
- Are capable of displaying non-string items, such as images.
See also:
Classes and Components
Overview of classes in the control package
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.
- JComponentProxy - Provides a concrete class for JComponent. Used by the JBuilder design tools.
- 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.
Controls
- ButtonBar - A container for buttons, often near the top of the window.
- ButtonControl - A clickable button with a label and an image.
- 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.
- LookAndFeelComboBox - A simple ComboBox that allows specification of a LookAndFeel at runtime.
- 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.
- TreeItems - A string processor for the items property of TreeControl.
- 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 navigation 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 - Provides functionality for a single column picklist. 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.
- PopupPickListItemEditor - Similar to the PickListItemEditor but provides functionality for a multi-column picklist.
- 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.
Dialog classes
- 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.
- StringInput - A simple dialog box that contains an input box and OK and CANCEL buttons.
- 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.
Graphics classes
- ImageControl - A repository of pixel values to display a graphic image.
- ShapeControl - Draws graphics shapes such as rectangles with rounded corners.
- TransparentImage - Displays a graphic image that contains "transparent" parts so that you can see through to the background behind the image.
Text display classes
- 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.
- TextControl - Displays a line of text usually used as a label. Can be transparent.
- TextFieldControl - A rectangular area for displaying and editing a single line of text.
- StringInput - A container to use when prompting for string input.
- 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.