Class TFireGridModelDataBinding

Unit

Declaration

type TFireGridModelDataBinding = class(TObject)

Description

Hierarchy

Overview

Methods

Public constructor Create(ModelController: TFireGridModelController; Column: Integer);
Public destructor Destroy; override;
Public function GetColumn: Integer;
Public procedure SetColumn(Column: Integer);
Public function GetColumnName: String;
Public function GetColumnTitle: String;
Public function GetDisplayRole: TModelItemDataRole;
Public procedure SetDisplayRole(Role: TModelItemDataRole = TModelItemDataRole.DisplayRole);
Public function GetEditRole: TModelItemDataRole;
Public procedure SetEditRole(Role: TModelItemDataRole = TModelItemDataRole.EditRole);
Public function GetSortRole: TModelItemDataRole;
Public procedure SetSortRole(role: TModelItemDataRole = TModelItemDataRole.DisplayRole);
Public function GetSummaryRole: TModelItemDataRole;
Public procedure SetSummaryRole(role: TModelItemDataRole = TModelItemDataRole.DisplayRole);
Public function GetSupportedSummaryTypes: TFireGridSummaryTypes;
Public procedure SetSupportedSummaryTypes(const types: TFireGridSummaryTypes);
Public function GetRelationMode: TFireGridRelationMode;
Public procedure SetRelationMode(mode: TFireGridRelationMode);
Public function GetRelationModel: TFireModelAbstract;
Public procedure SetRelationModel(model: TFireModelAbstract; parentIndex: TModelIndex);
Public function GetRelationDataSource: TDataSource;
Public procedure SetRelationDataSource(const DataSource: TDataSource);
Public function GetRelationParentIndex: TModelIndex;
Public procedure SetForeignKey(const ForeignColumnName: String; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole; MasterRole: TModelItemDataRole = TModelItemDataRole.EditRole); overload;
Public procedure SetForeignKey(ForeignColumn: Integer; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole; MasterRole: TModelItemDataRole = TModelItemDataRole.EditRole); overload;
Public function GetForeignKeyColumn: Integer;
Public function GetForeignKeyColumnName: String;
Public function GetforeignKeyRole: TModelItemDataRole;
Public function GetForeignKeyMasterRole: TModelItemDataRole;
Public procedure SetRoleMapping(Role: TModelItemDataRole; const ForeignColumnName: String; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole); overload;
Public procedure SetRoleMapping(Role: TModelItemDataRole; ForeignColumn: Integer; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole); overload;
Public function GetForeignColumnMapping(Role: TModelItemDataRole): Integer;
Public function GetForeignColumnNameMapping(Role: TModelItemDataRole): String;
Public function GetForeignRoleMapping(Role: TModelItemDataRole): TModelItemDataRole;
Public function GetController: TFireGridModelController;
Public function GetValue(ModelRowIndex: Integer; Role: TModelItemDataRole; var RetVal: Variant): Boolean;
Public function SetValue(ModelRowIndex: Integer; Role: TModelItemDataRole; const Value: Variant): Boolean;
Public function FindRelationModelIndex(const ForeignKeyValue: Variant): TModelIndex;
Public function GetValueType: TFieldType;

Description

Methods

Public constructor Create(ModelController: TFireGridModelController; Column: Integer);
 
Public destructor Destroy; override;
 
Public function GetColumn: Integer;
 
Public procedure SetColumn(Column: Integer);
 
Public function GetColumnName: String;
 
Public function GetColumnTitle: String;
 
Public function GetDisplayRole: TModelItemDataRole;
 
Public procedure SetDisplayRole(Role: TModelItemDataRole = TModelItemDataRole.DisplayRole);
 
Public function GetEditRole: TModelItemDataRole;
 
Public procedure SetEditRole(Role: TModelItemDataRole = TModelItemDataRole.EditRole);
 
Public function GetSortRole: TModelItemDataRole;
 
Public procedure SetSortRole(role: TModelItemDataRole = TModelItemDataRole.DisplayRole);
 
Public function GetSummaryRole: TModelItemDataRole;
 
Public procedure SetSummaryRole(role: TModelItemDataRole = TModelItemDataRole.DisplayRole);
 
Public function GetSupportedSummaryTypes: TFireGridSummaryTypes;
 
Public procedure SetSupportedSummaryTypes(const types: TFireGridSummaryTypes);
 
Public function GetRelationMode: TFireGridRelationMode;
 
Public procedure SetRelationMode(mode: TFireGridRelationMode);
 
Public function GetRelationModel: TFireModelAbstract;
 
Public procedure SetRelationModel(model: TFireModelAbstract; parentIndex: TModelIndex);
 
Public function GetRelationDataSource: TDataSource;
 
Public procedure SetRelationDataSource(const DataSource: TDataSource);
 
Public function GetRelationParentIndex: TModelIndex;
 
Public procedure SetForeignKey(const ForeignColumnName: String; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole; MasterRole: TModelItemDataRole = TModelItemDataRole.EditRole); overload;
 
Public procedure SetForeignKey(ForeignColumn: Integer; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole; MasterRole: TModelItemDataRole = TModelItemDataRole.EditRole); overload;
 
Public function GetForeignKeyColumn: Integer;
 
Public function GetForeignKeyColumnName: String;
 
Public function GetforeignKeyRole: TModelItemDataRole;
 
Public function GetForeignKeyMasterRole: TModelItemDataRole;
 
Public procedure SetRoleMapping(Role: TModelItemDataRole; const ForeignColumnName: String; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole); overload;
 
Public procedure SetRoleMapping(Role: TModelItemDataRole; ForeignColumn: Integer; ForeignRole: TModelItemDataRole = TModelItemDataRole.DisplayRole); overload;
 
Public function GetForeignColumnMapping(Role: TModelItemDataRole): Integer;
 
Public function GetForeignColumnNameMapping(Role: TModelItemDataRole): String;
 
Public function GetForeignRoleMapping(Role: TModelItemDataRole): TModelItemDataRole;
 
Public function GetController: TFireGridModelController;
 
Public function GetValue(ModelRowIndex: Integer; Role: TModelItemDataRole; var RetVal: Variant): Boolean;
 
Public function SetValue(ModelRowIndex: Integer; Role: TModelItemDataRole; const Value: Variant): Boolean;
 
Public function FindRelationModelIndex(const ForeignKeyValue: Variant): TModelIndex;
 
Public function GetValueType: TFieldType;
 

Generated by PasDoc 0.15.0.