| cadetill's blog | Copyright © Xavier Martínez (cadetill) |
Class TGMInterfacedCollectionItem
Unit
Declaration
type TGMInterfacedCollectionItem = class(TCollectionItem, IGMToStr, IGMOwnerLang, IGMAPIUrl)
Description
Base class for all classes that inherit from TCollectionItem into GMLib.
Implements IGMAPIUrl, IGMOwnerLang and (IGMAPIUrl interfaces.
Hierarchy
- TObject
- TPersistent
- TCollectionItem
- TGMInterfacedCollectionItem
Overview
Methods
![]() |
function GetDisplayName: string; override; |
![]() |
function GetOwnerLang: TGMLang; virtual; |
![]() |
function PropToString: string; virtual; |
![]() |
procedure Assign(Source: TPersistent); override; |
Properties
![]() |
property APIUrl: string read GetAPIUrl; |
![]() |
property FObject: TObject read FFObject write FFObject; |
![]() |
property Name: string read FName write FName; |
![]() |
property OnChange: TNotifyEvent read FOnChange write FOnChange; |
![]() |
property Tag: Integer read FTag write FTag default 0; |
Description
Methods
![]() |
function GetDisplayName: string; override; |
|
Returns the name of the collection item as it appears in the collection editor. See Delphi documentation for more details.
ReturnsString with the name | |
![]() |
function GetOwnerLang: TGMLang; virtual; |
|
Returns the TGMLang of the Owner.
If Owner is not assigned or not supports IGMOwnerLang interface then should be returned
ReturnsTGMLang of the owner object. | |
![]() |
function PropToString: string; virtual; |
|
Converts all class properties values to a string separated by comma used to send values to a JavaScript function. Returnsstring with all properties. | |
Properties
![]() |
property APIUrl: string read GetAPIUrl; |
|
URL to Google Maps API page. | |
![]() |
property FObject: TObject read FFObject write FFObject; |
|
Represents an object that is associated with the item. | |
![]() |
property Name: string read FName write FName; |
|
Name to display into the TCollectionItemList. | |
![]() |
property OnChange: TNotifyEvent read FOnChange write FOnChange; |
|
Event triggered when a property changes. | |
![]() |
property Tag: Integer read FTag write FTag default 0; |
|
Tag property has no predefined meaning. It can store any additional integer value for the convenience of developers. | |
Generated by PasDoc 0.15.0.


