Class TUndoAddPart

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoAddPart = class(TCustomUpdateScreenObjectUndo)

Description

no description available, TCustomUpdateScreenObjectUndo description follows

TCustomUpdateScreenObjectUndo provides methods that descendants can use to notify the GUI of changes.

Hierarchy

Overview

Fields

Private FScreenObject: TScreenObject;
Private FNewPoints: TRealPointArray;
Private FCount: integer;
Private FCapacity: integer;

Methods

Private procedure Grow;
Private procedure SetCapacity(const Value: integer);
Protected function Description: string; override;
Public procedure AddPoint(Point: TPoint2D);
Public Constructor Create(ScreenObject: TScreenObject);
Public procedure DoCommand; override;
Public procedure Redo; override;
Public procedure Undo; override;
Public procedure DeleteLastPoint;

Properties

Protected property Capacity: integer read FCapacity write SetCapacity;
Public property Count: integer read FCount;

Description

Fields

Private FScreenObject: TScreenObject;
 
Private FNewPoints: TRealPointArray;
 
Private FCount: integer;
 
Private FCapacity: integer;
 

Methods

Private procedure Grow;
 
Private procedure SetCapacity(const Value: integer);
 
Protected function Description: string; override;
 
Public procedure AddPoint(Point: TPoint2D);
 
Public Constructor Create(ScreenObject: TScreenObject);
 
Public procedure DoCommand; override;
 
Public procedure Redo; override;
 
Public procedure Undo; override;
 
Public procedure DeleteLastPoint;
 

Properties

Protected property Capacity: integer read FCapacity write SetCapacity;

Capacity tells what TUndoAddPart does.

Public property Count: integer read FCount;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:42:06