Class TFireGridDataSourceModel
Unit
Declaration
type TFireGridDataSourceModel = class(TFireModelAbstract)
Description
No description available, ancestor TFireModelAbstract description follows
Hierarchy
- TObject
- TFireModelAbstract
- TFireGridDataSourceModel
Overview
Methods
constructor Create; |
|
destructor Destroy; override; |
|
procedure SetDataSource(DataSource: TDataSource); |
|
function GetDataSource: TDataSource; |
|
procedure DisableControls; |
|
procedure EnableControls; |
|
function HasIndex(Row: Integer; Column: Integer; const Parent: TModelIndex): Boolean; override; |
|
function CreateIndex(Row: Integer; Column: Integer; const Parent: TModelIndex): TModelIndex; override; |
|
function GetParent(const Child: TModelIndex): TModelIndex; override; |
|
function GetRowCount(const Parent: TModelIndex): Integer; override; |
|
function GetColumnCount(const Parent: TModelIndex): Integer; override; |
|
function HasChildren(const Parent: TModelIndex): Boolean; override; |
|
function GetData(const Index: TModelIndex; var Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.DisplayRole): Boolean; override; |
|
function SetData(const Index: TModelIndex; const Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.EditRole): Boolean; override; |
|
function GetHeaderData(Section: Integer; Orientation: TOrientation = TOrientation.Horizontal; Role: TModelItemDataRole = TModelItemDataRole.DisplayRole): Variant; override; |
|
function SetHeaderData(Section: Integer; Orientation: Integer; const Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.EditRole): Boolean; override; |
|
function InsertColumns(Column: Integer; Count: Integer; const Parent: TModelIndex): Boolean; override; |
|
function InsertColumn(Column: Integer; const Parent: TModelIndex): Boolean; override; |
|
function RemoveRows(Row: Integer; Count: Integer; const Parent: TModelIndex): Boolean; override; |
|
function RemoveRow(Row: Integer; const Parent: TModelIndex): Boolean; override; |
|
function RemoveColumns(column: Integer; count: Integer; const parent: TModelIndex): Boolean; override; |
|
function RemoveColumn(Column: Integer; const Parent: TModelIndex): Boolean; override; |
|
function GetFlags(const Index: TModelIndex): TModelItemFlags; override; |
|
function InsertRow(Row: Integer; const Parent: TModelIndex): Boolean; override; |
|
function Submit: Boolean; override; |
|
procedure Revert; override; |
|
procedure Reset; override; |
Description
Methods
constructor Create; |
|
destructor Destroy; override; |
|
procedure SetDataSource(DataSource: TDataSource); |
|
function GetDataSource: TDataSource; |
|
procedure DisableControls; |
|
procedure EnableControls; |
|
function HasIndex(Row: Integer; Column: Integer; const Parent: TModelIndex): Boolean; override; |
|
function CreateIndex(Row: Integer; Column: Integer; const Parent: TModelIndex): TModelIndex; override; |
|
function GetParent(const Child: TModelIndex): TModelIndex; override; |
|
function GetRowCount(const Parent: TModelIndex): Integer; override; |
|
function GetColumnCount(const Parent: TModelIndex): Integer; override; |
|
function HasChildren(const Parent: TModelIndex): Boolean; override; |
|
function GetData(const Index: TModelIndex; var Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.DisplayRole): Boolean; override; |
|
function SetData(const Index: TModelIndex; const Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.EditRole): Boolean; override; |
|
function GetHeaderData(Section: Integer; Orientation: TOrientation = TOrientation.Horizontal; Role: TModelItemDataRole = TModelItemDataRole.DisplayRole): Variant; override; |
|
function SetHeaderData(Section: Integer; Orientation: Integer; const Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.EditRole): Boolean; override; |
|
function InsertColumns(Column: Integer; Count: Integer; const Parent: TModelIndex): Boolean; override; |
|
function InsertColumn(Column: Integer; const Parent: TModelIndex): Boolean; override; |
|
function RemoveRows(Row: Integer; Count: Integer; const Parent: TModelIndex): Boolean; override; |
|
function RemoveRow(Row: Integer; const Parent: TModelIndex): Boolean; override; |
|
function RemoveColumns(column: Integer; count: Integer; const parent: TModelIndex): Boolean; override; |
|
function RemoveColumn(Column: Integer; const Parent: TModelIndex): Boolean; override; |
|
function GetFlags(const Index: TModelIndex): TModelItemFlags; override; |
|
function InsertRow(Row: Integer; const Parent: TModelIndex): Boolean; override; |
|
function Submit: Boolean; override; |
|
procedure Revert; override; |
|
procedure Reset; override; |
|
Generated by PasDoc 0.15.0.