Class TPhastScreenObjectItem

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TPhastScreenObjectItem = class(TScreenObjectItem)

Description

TPhastScreenObjectItem is used in reading a TPhastScreenObject from or writing it to a file.

Hierarchy

Overview

Fields

Private FMixtureFormulas: TStrings;

Methods

Private function GetMixtureFormulas: TStrings;
Protected procedure UpdateScreenObject; override;
Public constructor Create(Collection: TCollection); override;
Public destructor Destroy; override;

Properties

Published property MixtureFormulas: TStrings read GetMixtureFormulas write FMixtureFormulas;

Description

Fields

Private FMixtureFormulas: TStrings;

name: TStrings. FMixtureFormulas stores the formulas for mixtures in the TPhastScreenObject.

Methods

Private function GetMixtureFormulas: TStrings;

GetMixtureFormulas fills FMixtureFormulas with the formulas for mixtures in the TPhastScreenObject and then returns FMixtureFormulas.

Protected procedure UpdateScreenObject; override;

After a TPhastScreenObject has been read, UpdateScreenObject is called to update its formulas for mixtures.

Public constructor Create(Collection: TCollection); override;

Create creates an instance of TPhastScreenObjectItem.

Public destructor Destroy; override;

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

Properties

Published property MixtureFormulas: TStrings read GetMixtureFormulas write FMixtureFormulas;

MixtureFormulas is used for reading and storing formulas for mixtures. When it is being read, the value is read from the associated TPhastScreenObject. When it is being written, it is stored in the private field (FMixtureFormulas) and is later transfered to the TPhastScreenObject in the protected method UpdateScreenObject.


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