Class TCurveList

Unit

Declaration

type TCurveList = class(TRowCompList)

Description

Set of pattern instances forming the calculated profile in sum.

Hierarchy

Overview

Methods

Public function GetCellEnabledCharSet(const ACol, ARow: longint): TCharSet; override;
Public function GetInfoCols: longint; override;
Public function GetRowContents(Grid: TStringGrid; RowNum: longint): boolean; override;
Public function IsDataValid(const ACol, ARow: longint; const AString: string): boolean; override;
Public function ValueToString(const ACol, ARow: longint): string; override;
Protected function CreateNewObject: TComponent; override;
Protected function RecalcParamValue(P: TSpecialCurveParameter): double; virtual;
Public procedure SetCaption(Grid: TStringGrid); override;
Public procedure SetColOptions(Grid: TStringGrid); override;
Public procedure SetRowContents(Grid: TStringGrid; RowNum: longint); override;
Public procedure SetValueByDefault(const ACol, ARow: longint); override;
Public procedure StringToValue(const ACol, ARow: longint; const AString: string); override;
Protected procedure ReverseCalcParamValue(P: TSpecialCurveParameter; NewValue: double); virtual;

Description

Methods

Public function GetCellEnabledCharSet(const ACol, ARow: longint): TCharSet; override;
 
Public function GetInfoCols: longint; override;
 
Public function GetRowContents(Grid: TStringGrid; RowNum: longint): boolean; override;
 
Public function IsDataValid(const ACol, ARow: longint; const AString: string): boolean; override;

Performs "soft" data validation without throwing an exception. However if coordinates of row or column have inadmissible values exception is thrown. Always returns true. Override to perform suitable validation.

Public function ValueToString(const ACol, ARow: longint): string; override;
 
Protected function CreateNewObject: TComponent; override;
 
Protected function RecalcParamValue(P: TSpecialCurveParameter): double; virtual;

Generic method for conversion values to user friendly representation.

Public procedure SetCaption(Grid: TStringGrid); override;
 
Public procedure SetColOptions(Grid: TStringGrid); override;
 
Public procedure SetRowContents(Grid: TStringGrid; RowNum: longint); override;
 
Public procedure SetValueByDefault(const ACol, ARow: longint); override;

Sets valid default value for the cell with given coordinates. Is used in cell initialization.

Public procedure StringToValue(const ACol, ARow: longint; const AString: string); override;
 
Protected procedure ReverseCalcParamValue(P: TSpecialCurveParameter; NewValue: double); virtual;

Generic method for reverse conversion of value from user to internal representation.


Generated by PasDoc 0.15.0.