TBoldHandle¶
Abstract superclass for wrapping making clases IDE-manipulatable.
Unit: BoldHandle
Declaration¶
Hierarchy¶
- TComponent
- TBoldSubscribableComponent
- TBoldHandle
- Direct subclasses
TBoldAbstractObjectUpgraderHandleTBoldClientHandleTBoldListenerHandleTBoldOLLEHandleTBoldPersistenceHandleTBoldServerHandleTBoldUMLModelLink
Description¶
The Delphi/BCB/Kylix IDE allows efficent designtime manipulation of classes decending from TComponent. Subclassing TBoldHandle way for providing access from the IDE to classes that don't decend from TComponent. Since subscriptions are used extensivley in Bold THandle inherits from TBoldSubscribableComponent. A TBoldHandle is simply a component holding a reference to a handled object. Handles are used extensively in Bold to provide placeable IDE access to various parts of Bold.
| Note |
|---|
A somewhat confusing fact is that not all placeable nonvisual components in Bold descend from TBoldHandle. This is particularly true of TBoldElementHandle and its subclasses. |
|---|
Properties¶
| Name | Summary | Notes |
|---|---|---|
| HandledObject | read-only |
HandledObject¶
This is the object handled by the handle. It will normally be allocated eith by the constructor of the concrete subclass, or by the overriden GetHandledObject in the case of lazy creation.
Methods¶
| Name | Summary | Notes |
|---|---|---|
| Create | Constructor. | override |
| Destroy | Destructor. | override |
| GetHandledObject | Get method for HandledObject | protected, abstract |
Create¶
Constructor.
Destroy¶
Destructor. The destructor will call FreePublisher early in the process.
GetHandledObject¶
This method is abstract virtual, and must be overridden in all subclasses.
Generated from the Bold 4.0 help (Help/BfD.chm) by Tools/chm2mkdocs.py; member lists reflect Bold 4.0, see the source for members added since.