Description | Hierarchy | Fields | Methods | Properties |
type TCustomScreenObjectDelegate = class abstract(TPersistent)
TCustomScreenObjectDelegate
is an abstract base class. Descendants are used for assigning properties to TDataArrays from the front and side views.
![]() |
FSelectedCells: TSelectedCells; |
![]() |
FModelSelection: TModelSelection; |
![]() |
FModel: TBaseModel; |
![]() |
FScreenObject: TScreenObject; |
![]() |
procedure AssignValuesToFrontDataSet( const DataSet: TDataArray; OtherData: TObject; AModel: TBaseModel; UseLgrEdgeCells: TLgrCellTreatment; AssignmentLocation: TAssignmentLocation = alAll); virtual; abstract; |
![]() |
procedure AssignValuesToSideDataSet( const DataSet: TDataArray; OtherData: TObject; AModel: TBaseModel; UseLgrEdgeCells: TLgrCellTreatment; AssignmentLocation: TAssignmentLocation = alAll); virtual; abstract; |
![]() |
procedure AssignValuesToTopDataSet( const DataSet: TDataArray; OtherData: TObject; AModel: TBaseModel; UseLgrEdgeCells: TLgrCellTreatment; AssignmentLocation: TAssignmentLocation = alAll); virtual; abstract; |
![]() |
procedure UpdateFrontSegments(AModel: TBaseModel; const EvaluatedAt: TEvaluatedAt); virtual; abstract; |
![]() |
procedure UpdateSideSegments(AModel: TBaseModel; const EvaluatedAt: TEvaluatedAt); virtual; abstract; |
![]() |
function GetCompiler(const Orientation: TDataSetOrientation): TRbwParser; |
![]() |
procedure GetFrontCellsToAssign( const DataSetFunction: string; OtherData: TObject; const DataSet: TDataArray; CellList: TCellAssignmentList; AssignmentLocation: TAssignmentLocation; AModel: TBaseModel); virtual; abstract; |
![]() |
procedure GetSideCellsToAssign( const DataSetFunction: string; OtherData: TObject; const DataSet: TDataArray; CellList: TCellAssignmentList; AssignmentLocation: TAssignmentLocation; AModel: TBaseModel); virtual; abstract; |
![]() |
procedure GetTopCellsToAssign( const DataSetFunction: string; OtherData: TObject; const DataSet: TDataArray; CellList: TCellAssignmentList; AssignmentLocation: TAssignmentLocation; AModel: TBaseModel); virtual; abstract; |
![]() |
procedure AssignCellValue(const UsedVariables: TStringList; const DataSet: TDataArray; LayerIndex, RowIndex, ColIndex: integer; const Compiler: TRbwParser; const Annotation: string; var Expression: TExpression; const OtherData: TObject; SectionIndex: integer; ShouldZero: boolean); virtual; |
![]() |
function BoundaryType: integer; virtual; |
![]() |
function DataSetUsed(const DataSet: TDataArray; var OtherData: TObject; AModel: TBaseModel): boolean; virtual; |
![]() |
function EncloseAnnotation(const DataSetFormula: string; const OtherData: TObject): string; virtual; |
![]() |
procedure InitializeExpression(out Compiler: TRbwParser; out DataSetFunction: string; out Expression: TExpression; const DataSet: TDataArray; const OtherData: TObject); virtual; |
![]() |
procedure InitializeVariables(const UsedVariables: TStringList; const DataSet: TDataArray; const Expression: TExpression; const Compiler: TRbwParser); |
![]() |
function IntersectAnnotation(const DataSetFormula: string; const OtherData: TObject): string; virtual; |
![]() |
procedure OtherIndex(const LayerOrRow, RowOrColumn: integer; out First, Last: integer; const DataSet: TDataArray); virtual; |
![]() |
procedure UpdateVariables(const UsedVariables: TStringList; const DataSet: TDataArray; Layer, Row, Column: integer; const Compiler: TRbwParser); |
![]() |
Constructor Create(ScreenObject: TScreenObject); virtual; |
![]() |
procedure AssignSelectedCells(AModel: TBaseModel); virtual; abstract; |
![]() |
property ModelSelection: TModelSelection read FModelSelection; |
![]() |
property SelectedCells: TSelectedCells read FSelectedCells; |
![]() |
FSelectedCells: TSelectedCells; |
![]() |
FModelSelection: TModelSelection; |
See ModelSelection. |
![]() |
FModel: TBaseModel; |
|
![]() |
FScreenObject: TScreenObject; |
|
![]() |
procedure AssignValuesToFrontDataSet( const DataSet: TDataArray; OtherData: TObject; AModel: TBaseModel; UseLgrEdgeCells: TLgrCellTreatment; AssignmentLocation: TAssignmentLocation = alAll); virtual; abstract; |
|
![]() |
procedure AssignValuesToSideDataSet( const DataSet: TDataArray; OtherData: TObject; AModel: TBaseModel; UseLgrEdgeCells: TLgrCellTreatment; AssignmentLocation: TAssignmentLocation = alAll); virtual; abstract; |
|
![]() |
procedure AssignValuesToTopDataSet( const DataSet: TDataArray; OtherData: TObject; AModel: TBaseModel; UseLgrEdgeCells: TLgrCellTreatment; AssignmentLocation: TAssignmentLocation = alAll); virtual; abstract; |
|
![]() |
procedure UpdateFrontSegments(AModel: TBaseModel; const EvaluatedAt: TEvaluatedAt); virtual; abstract; |
|
![]() |
procedure UpdateSideSegments(AModel: TBaseModel; const EvaluatedAt: TEvaluatedAt); virtual; abstract; |
|
![]() |
function GetCompiler(const Orientation: TDataSetOrientation): TRbwParser; |
![]() |
procedure GetFrontCellsToAssign( const DataSetFunction: string; OtherData: TObject; const DataSet: TDataArray; CellList: TCellAssignmentList; AssignmentLocation: TAssignmentLocation; AModel: TBaseModel); virtual; abstract; |
|
![]() |
procedure GetSideCellsToAssign( const DataSetFunction: string; OtherData: TObject; const DataSet: TDataArray; CellList: TCellAssignmentList; AssignmentLocation: TAssignmentLocation; AModel: TBaseModel); virtual; abstract; |
|
![]() |
procedure GetTopCellsToAssign( const DataSetFunction: string; OtherData: TObject; const DataSet: TDataArray; CellList: TCellAssignmentList; AssignmentLocation: TAssignmentLocation; AModel: TBaseModel); virtual; abstract; |
|
![]() |
procedure AssignCellValue(const UsedVariables: TStringList; const DataSet: TDataArray; LayerIndex, RowIndex, ColIndex: integer; const Compiler: TRbwParser; const Annotation: string; var Expression: TExpression; const OtherData: TObject; SectionIndex: integer; ShouldZero: boolean); virtual; |
In (1) If OtherData = nil or not TInterpValuesItem(OtherData).Values.UsePHAST_Interpolation, the inherited AssignCellValue is called. (2) Otherwise, values are assigned to DataSet at the location LayerIndex, RowIndex, ColIndex using PHAST-style interpolation. (See TPhastInterpolationValues.) Expression and Compiler are not used in this case and the variables listed in UsedVariables are not updated. OtherData is set in IsBoundaryTimeDataSetUsed. |
![]() |
function BoundaryType: integer; virtual; |
|
![]() |
function DataSetUsed(const DataSet: TDataArray; var OtherData: TObject; AModel: TBaseModel): boolean; virtual; |
|
![]() |
procedure InitializeExpression(out Compiler: TRbwParser; out DataSetFunction: string; out Expression: TExpression; const DataSet: TDataArray; const OtherData: TObject); virtual; |
{ |
![]() |
procedure InitializeVariables(const UsedVariables: TStringList; const DataSet: TDataArray; const Expression: TExpression; const Compiler: TRbwParser); |
|
![]() |
procedure OtherIndex(const LayerOrRow, RowOrColumn: integer; out First, Last: integer; const DataSet: TDataArray); virtual; |
The purpose of In commented-out code, First and Last and changed to frmGoPhast.PhastGrid.LayerCount for river data sets. It has been commented-out because it messes up the display of the river data on the status bar. It would be good to find a way around this problem. As it is, all |
![]() |
procedure UpdateVariables(const UsedVariables: TStringList; const DataSet: TDataArray; Layer, Row, Column: integer; const Compiler: TRbwParser); |
In preparation for evaluating a formula, |
![]() |
Constructor Create(ScreenObject: TScreenObject); virtual; |
|
![]() |
procedure AssignSelectedCells(AModel: TBaseModel); virtual; abstract; |
|
![]() |
property ModelSelection: TModelSelection read FModelSelection; |
|
![]() |
property SelectedCells: TSelectedCells read FSelectedCells; |
|