[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
Base class for all components that need owner-owned functionality.
|
Contains the component's style. |
|
|
Actually sets the component name. |
|
|
Defines fake top,left properties for handling in the IDE. |
|
|
Must be overridden by descendents to return all child components that must be streamed. |
|
|
Returns the owner of any children. |
|
|
Returns the parent of any children. |
|
|
Returns the name path of this component. |
|
|
Returns the owner of this component. |
|
|
Called when the component has finished loading. |
|
|
Called by components that are freed and which received a FreeNotification. |
|
|
Read the component's state from a stream. |
|
|
Sets the csAncestor state of the component. |
|
|
Sets the csDesigning state of the component. |
|
|
Write handler for Name property. |
|
|
Determines the order in which children are streamed/created. |
|
|
Set the parent component. |
|
|
Sets the state to csUpdating |
|
|
Ends the csUpdating state. |
|
|
For compatibilty only. |
|
|
Called when a name change must be validated |
|
|
?? |
|
|
Called when an insert must be validated. |
|
|
Writes the component to a stream. |
|
|
Creates a new instance of the component. |
|
|
Destroys the instance of the component. |
|
|
Destroy child components. |
|
|
Called when the component is being destroyed |
|
|
Finds and returns the named component in the owned components. |
|
|
Ask the component to notify called when it is being destroyed. |
|
|
Part of the IVCLComObject interface. |
|
|
Returns the parent component. |
|
|
Does the component have a parent ? |
|
|
Insert the given component in the list of owned components. |
|
|
Remove the given component from the list of owned components. |
|
|
Part of the IVCLComObject Interface. |
|
|
Indexed list (zero-based) of all owned components. |
|
|
Count of owned components |
|
|
Index of component in it's owner's list. |
|
|
Current component's state. |
|
|
Current component's style. |
|
|
Information for IDE designer. |
|
|
Owner of this component. |
|
|
Not implemented. |
|
|
Name of the component. |
|
|
Tag value of the component. |
|
|
Base class for all components that need owner-owned functionality. |
|
| | ||
|
Base class for streaming system and persistent properties. |
|
| | ||
TComponent is the base class for any set of classes that needs owner-owned functionality, and which needs support for property streaming. All classes that should be handled by an IDE (Integrated Development Environment) must descend from TComponent, as it includes all support for streaming all its published properties.
Components can 'own' other components. TComponent introduces methods for enumerating the child components. It also allows to name the owned components with a unique name. Furthermore, functionality for sending notifications when a component is removed from the list or removed from memory alltogether is also introduced in TComponent
TComponent introduces a form of automatic memory management: When a component is destroyed, all its child components will be destroyed first.