cadetill's blog Copyright © Xavier Martínez (cadetill)

Class TGMComponent

Unit

Declaration

type TGMComponent = class(TComponent, IGMAPIUrl, IGMToStr)

Description

Base class for all classes that inherit from TComponent into GMLib.

Implements IGMAPIUrl interface.

Hierarchy

Overview

Methods

Public constructor Create(AOwner: TComponent); override;
Protected function PropToString: string; virtual;
Public procedure Assign(Source: TPersistent); override;

Properties

Protected property AboutGMLib: string read GetAboutGMLib stored False;
Protected property APIUrl: string read GetAPIUrl;
Protected property Language: TGMLang read FLanguage write FLanguage default lnEnglish;

Description

Methods

Public constructor Create(AOwner: TComponent); override;

Class constructor.

Parameters
AOwner
Component owner.
Protected function PropToString: string; virtual;

Converts all class properties values to a string separated by comma used to send values to a JavaScript function.

Returns

string with all properties.

Public procedure Assign(Source: TPersistent); override;

Call Assign to copy the properties or other attributes form an object to another.

The standard form of a call to Assign method is
     Destination.Assign(Source);
which tells the Destination object to copy the contents of the Source object to itself.

Parameters
Source
Object to copy the content.

Properties

Protected property AboutGMLib: string read GetAboutGMLib stored False;

This property shows an "About" form with GMLib info.

Protected property APIUrl: string read GetAPIUrl;

URL to Google Maps API page.

Protected property Language: TGMLang read FLanguage write FLanguage default lnEnglish;

Language property specifies the language in which messages are displayed the exceptions raised by GMLib.


Generated by PasDoc 0.15.0.