Class TColoringLimits

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TColoringLimits = class(TObject)

Description

When the grid is colored by a TDataArray, the colors can be restricted to lie within a range. TColoringLimits is used to represent both ends of the range. See TColoringLimit.

Hierarchy

Overview

Fields

Private FLowerLimit: TColoringLimit;
Private FUpperLimit: TColoringLimit;

Methods

Private procedure SetLowerLimit(const Value: TColoringLimit);
Private procedure SetUpperLimit(const Value: TColoringLimit);
Public procedure Assign(const Value: TColoringLimits);
Public constructor Create;
Public destructor Destroy; override;
Public procedure Update;

Properties

Public property LowerLimit: TColoringLimit read FLowerLimit write SetLowerLimit;
Public property UpperLimit: TColoringLimit read FUpperLimit write SetUpperLimit;

Description

Fields

Private FLowerLimit: TColoringLimit;

FLowerLimit: TColoringLimit; See LowerLimit.

Private FUpperLimit: TColoringLimit;

FUpperLimit: TColoringLimit; See UpperLimit.

Methods

Private procedure SetLowerLimit(const Value: TColoringLimit);

See LowerLimit.

Private procedure SetUpperLimit(const Value: TColoringLimit);

See UpperLimit.

Public procedure Assign(const Value: TColoringLimits);

Assign calls TColoringLimit.Assign for LowerLimit and UpperLimit and then calls Update.

Public constructor Create;

Create creates an instance of TColoringLimits.

Public destructor Destroy; override;

Destroy destroys the the current instance of TColoringLimits. Do not call Destroy directly. Call Free instead.

Public procedure Update;

If both the LowerLimit and UpperLimit are used (see TColoringLimit.UseLimit), Update insures that the upper limit is greater than or equal to the lower limit.

Properties

Public property LowerLimit: TColoringLimit read FLowerLimit write SetLowerLimit;

LowerLimit is the lower limit on what values should be used to color the grid.

Public property UpperLimit: TColoringLimit read FUpperLimit write SetUpperLimit;

UpperLimit is the upper limit on what values should be used to color the grid.


Generated by PasDoc 0.10.0 on 2006-10-31 09:56:33