Class TUndoDeleteLayer

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoDeleteLayer = class(TCustomUndoChangeGridDimensions)

Description

TUndoDeleteLayer is used for deleting a layer boundary from the grid.

Hierarchy

Overview

Fields

Protected FLayer: integer;
Protected FLayerElevation: real;
Protected FSelectedLayer: integer;

Methods

Protected function Description: string; override;
Public constructor Create(const ALayer: integer);
Public procedure DoCommand; override;
Public procedure Undo; override;

Description

Fields

Protected FLayer: integer;

FLayer: integer; FLayer is the index of the layer boundary.

Protected FLayerElevation: real;

FLayerElevation: real; FLayerElevation is the position of the layer.

Protected FSelectedLayer: integer;

FSelectedLayer: integer; FSelectedLayer stores the layer in the grid that was selected.

Methods

Protected function Description: string; override;

See TCustomUndo.Description.

Public constructor Create(const ALayer: integer);

Create creates an instance of TUndoDeleteLayer. ALayer is the index of the layer boundary to be deleted.

Public procedure DoCommand; override;

DoCommand deletes the layer.

Public procedure Undo; override;

Undo restores the layer.


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