WebAdapt.TAdapterSubComponent
Delphi
TAdapterSubComponent = class(TWebContainerComponent, IWebContainerSubComponent, IWebComponentEditor, IWebVariablesContainer, IGetWebComponentNodeName, IIterateObjectSupport)
C++
class PASCALIMPLEMENTATION TAdapterSubComponent : public Webcomp::TWebContainerComponent
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| class | public | WebAdapt.pas WebAdapt.hpp |
WebAdapt | WebAdapt |
Description
TAdapterSubComponent is the base class for objects that represent a collection of actions or fields that belong to an adapter.
Adapter components use a TAdapterSubComponent descendant to represent the list of actions they can execute or the list of fields whose values they support. Each TAdapterSubComponent is specialized for a specific type of object (actions or fields), and represents either the set of explicitly assigned actions or fields, or the set that the adapter contains by default.
TAdapterSubComponent introduces support for:
Associating the collection with an adapter component.
Assigning variable names to the child items in the collection. These are the names of variables that server-side script can use to refer to the actions or fields.
Letting server-side script use an enumerator to iterate over all the child items in the collection.
Working with the WebSnap designers at design time.