Class TCustomUndoChangeOrder

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomUndoChangeOrder = class(TCustomUpdateScreenObjectUndo)

Description

TCustomUndoChangeOrder is an abstract base class for classes that change the order of TScreenObjects.

Hierarchy

Overview

Fields

Private FScreenObjectList: TScreenObjectList;
Private FPositions: array of integer;

Methods

Public constructor Create(const ViewDirection: TViewDirection);
Public destructor Destroy; override;
Public procedure Redo; override;

Description

Fields

Private FScreenObjectList: TScreenObjectList;

FScreenObjectList: TList; FScreenObjectList is a list of the TScreenObjects whose positions will be changed.

Private FPositions: array of integer;

FPositions: array of integer; FPositions is the original positions of the TScreenObjects in FScreenObjectList.

Methods

Public constructor Create(const ViewDirection: TViewDirection);

Create creates an instance of TCustomUndoChangeOrder and initializes the private fields.

Public destructor Destroy; override;

Destroy destroys the current instance of TCustomUndoChangeOrder. Do not call Destroy directly. Call free instead.

Public procedure Redo; override;

Redo calls DoCommand.


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