Class TFireModelAbstract
Unit
Declaration
type TFireModelAbstract = class(TObject)
Description
Hierarchy
- TObject
- TFireModelAbstract
Overview
Fields
![]() |
FLastError: String; |
Methods
![]() |
function HasIndex(Row: Integer; Column: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function CreateIndex(Row: Integer; Column: Integer; const Parent: TModelIndex): TModelIndex; virtual; abstract; |
![]() |
function GetParent(const Child: TModelIndex): TModelIndex; virtual; abstract; |
![]() |
function GetRowCount(const Parent: TModelIndex): Integer; virtual; abstract; |
![]() |
function GetColumnCount(const Parent: TModelIndex): Integer; virtual; abstract; |
![]() |
function HasChildren(const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function GetData(const Index: TModelIndex; var Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.DisplayRole): Boolean; virtual; abstract; |
![]() |
function SetData(const Index: TModelIndex; const Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.EditRole): Boolean; virtual; abstract; |
![]() |
function GetHeaderData(Section: Integer; Orientation: TOrientation = TOrientation.Horizontal; Role: TModelItemDataRole = TModelItemDataRole.DisplayRole): Variant; virtual; abstract; |
![]() |
function SetHeaderData(Section: Integer; Orientation: Integer; const Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.EditRole): Boolean; virtual; abstract; |
![]() |
function InsertRow(Row: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function InsertColumns(column: Integer; count: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function InsertColumn(column: Integer; const parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function RemoveRows(Row: Integer; Count: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function RemoveRow(Row: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function RemoveColumns(Column: Integer; count: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function RemoveColumn(Column: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function GetFlags(const Index: TModelIndex): TModelItemFlags; virtual; abstract; |
![]() |
function Submit: Boolean; virtual; abstract; |
![]() |
procedure Revert; virtual; abstract; |
![]() |
procedure Reset; virtual; abstract; |
![]() |
procedure AboutToBeResetEvent; |
![]() |
procedure ResetEvent; |
![]() |
procedure LayoutChangedEvent; |
![]() |
procedure DataChangedEvent(const Index: TModelIndex); |
![]() |
procedure InsertRowEvent(const Parent: TModelIndex; Row: Integer); |
![]() |
procedure RemoveRowsEvent(const Parent: TModelIndex; StartRow: Integer; EndRow: Integer); |
![]() |
function GetLastError: String; |
Properties
![]() |
property OnReset: TNotifyEvent read FOnReset write FOnReset; |
![]() |
property OnAboutToBeReset: TNotifyEvent read FOnAboutToBeReset write FOnAboutToBeReset; |
![]() |
property OnLayoutChange: TNotifyEvent read FOnLayoutChange write FOnLayoutChange; |
![]() |
property OnDataChange: TFireModelDataChangeNotifyEvent read FOnDataChange write FOnDataChange; |
![]() |
property OnRowInsert: TFireModelInsertRowNotifyEvent read FOnRowInsert write FOnRowInsert; |
![]() |
property OnRowsRemove: TFireModelRemoveRowsNotifyEvent read FOnRowsRemove write FOnRowsRemove; |
Description
Fields
![]() |
FLastError: String; |
Methods
![]() |
function HasIndex(Row: Integer; Column: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function CreateIndex(Row: Integer; Column: Integer; const Parent: TModelIndex): TModelIndex; virtual; abstract; |
![]() |
function GetParent(const Child: TModelIndex): TModelIndex; virtual; abstract; |
![]() |
function GetRowCount(const Parent: TModelIndex): Integer; virtual; abstract; |
![]() |
function GetColumnCount(const Parent: TModelIndex): Integer; virtual; abstract; |
![]() |
function HasChildren(const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function GetData(const Index: TModelIndex; var Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.DisplayRole): Boolean; virtual; abstract; |
![]() |
function SetData(const Index: TModelIndex; const Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.EditRole): Boolean; virtual; abstract; |
![]() |
function GetHeaderData(Section: Integer; Orientation: TOrientation = TOrientation.Horizontal; Role: TModelItemDataRole = TModelItemDataRole.DisplayRole): Variant; virtual; abstract; |
![]() |
function SetHeaderData(Section: Integer; Orientation: Integer; const Value: Variant; Role: TModelItemDataRole = TModelItemDataRole.EditRole): Boolean; virtual; abstract; |
![]() |
function InsertRow(Row: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function InsertColumns(column: Integer; count: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function InsertColumn(column: Integer; const parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function RemoveRows(Row: Integer; Count: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function RemoveRow(Row: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function RemoveColumns(Column: Integer; count: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function RemoveColumn(Column: Integer; const Parent: TModelIndex): Boolean; virtual; abstract; |
![]() |
function GetFlags(const Index: TModelIndex): TModelItemFlags; virtual; abstract; |
![]() |
function Submit: Boolean; virtual; abstract; |
![]() |
procedure Revert; virtual; abstract; |
![]() |
procedure Reset; virtual; abstract; |
![]() |
procedure AboutToBeResetEvent; |
![]() |
procedure ResetEvent; |
![]() |
procedure LayoutChangedEvent; |
![]() |
procedure DataChangedEvent(const Index: TModelIndex); |
![]() |
procedure InsertRowEvent(const Parent: TModelIndex; Row: Integer); |
![]() |
procedure RemoveRowsEvent(const Parent: TModelIndex; StartRow: Integer; EndRow: Integer); |
![]() |
function GetLastError: String; |
Properties
![]() |
property OnReset: TNotifyEvent read FOnReset write FOnReset; |
![]() |
property OnAboutToBeReset: TNotifyEvent read FOnAboutToBeReset write FOnAboutToBeReset; |
![]() |
property OnLayoutChange: TNotifyEvent read FOnLayoutChange write FOnLayoutChange; |
![]() |
property OnDataChange: TFireModelDataChangeNotifyEvent read FOnDataChange write FOnDataChange; |
![]() |
property OnRowInsert: TFireModelInsertRowNotifyEvent read FOnRowInsert write FOnRowInsert; |
![]() |
property OnRowsRemove: TFireModelRemoveRowsNotifyEvent read FOnRowsRemove write FOnRowsRemove; |
Generated by PasDoc 0.15.0.