Class TUndoAddLayer

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoAddLayer = class(TCustomUndoChangeGridDimensions)

Description

TUndoAddLayer is used to add a layer boundary.

Hierarchy

Overview

Fields

Private FLayer: integer;
Private FLayerElevation: real;
Private FSelectedLayer: integer;

Methods

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

Description

Fields

Private FLayer: integer;

FLayer: integer; FLayer is the index of the layer being added.

Private FLayerElevation: real;

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

Private FSelectedLayer: integer;

FSelectedLayer: integer; FSelectedLayer is the selected layer.

Methods

Protected function Description: string; override;

See TCustomUndo.Description.

Public constructor Create(const NewPosition: real);

Create creates an instance of TUndoAddLayer.

Parameters
NewPosition
is the position where layer is being added.
Public procedure DoCommand; override;

DoCommand adds the layer.

Public procedure Undo; override;

Undo removes the layer.


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