FMX.InertialMovement.TAniCalculations.GetOwner

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

function GetOwner: TPersistent; override;

C++

DYNAMIC System::Classes::TPersistent* __fastcall GetOwner();

プロパティ

種類 可視性 ソース ユニット
function protected
FMX.InertialMovement.pas
FMX.InertialMovement.hpp
FMX.InertialMovement TAniCalculations

説明

オブジェクトの所有者を返します。

FMX.InertialMovement.TAniCalculations.GetOwner は System.Classes.TPersistent.GetOwner を継承しています。以下の内容はすべて System.Classes.TPersistent.GetOwner を参照しています。

オブジェクトの所有者を返します。

GetOwner は、GetNamePath メソッドが永続オブジェクトの所有者を検索するために使用します。GetNamePathGetOwnerTPersistent によって導入され、これにより、コレクションといった下位クラスが、オブジェクト インスペクタに現れるようにします。TPersistent での実装のように、GetOwner は、nil (Delphi) または NULL (C++) を返します。

TOwnedCollection の場合、GetOwner は、コレクションの所有者を返します。TCollectionItem コレクション項目の場合、GetOwner は、コレクション項目が挿入されたコレクション オブジェクトを返します。TComponent の場合、GetOwner は、Owner プロパティの値を返します。

関連項目