Class TCustomGridTool

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomGridTool = class(TCustomInteractiveTool)

Description

TCustomGridTool is an abstract base class for TCustomInteractiveTools that interact with the grid.

Hierarchy

Overview

Methods

Protected function IsOnFrontColumn(const X, Y: integer): boolean;
Protected function IsOnFrontLayer(const X, Y: integer): boolean;
Protected function IsOnSideLayer(const X, Y: integer): boolean;
Protected function IsOnSideRow(const X, Y: integer): boolean;
Protected function IsOnTopColumn(const X, Y: integer): boolean;
Protected function IsOnTopRow(const X, Y: integer): boolean;
Protected procedure ShowNewColumnOrLayer;
Protected procedure ShowNewColumnOrRow;
Protected procedure ShowNewRowOrLayer;
Public procedure Draw(const Sender: TObject; const Direction: TViewDirection); override;

Description

Methods

Protected function IsOnFrontColumn(const X, Y: integer): boolean;

IsOnFrontColumn returns True if a column boundary on the front view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnFrontLayer(const X, Y: integer): boolean;

IsOnFrontLayer returns True if a layer boundary on the front view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnSideLayer(const X, Y: integer): boolean;

IsOnSideLayer returns True if a layer boundary on the side view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnSideRow(const X, Y: integer): boolean;

IsOnSideRow returns True if a row boundary on the side view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnTopColumn(const X, Y: integer): boolean;

IsOnTopColumn returns True if a column boundary on the top view of the model is within SelectionWidth pixels of (X,Y).

Protected function IsOnTopRow(const X, Y: integer): boolean;

IsOnTopRow returns True if a row boundary on the top view of the model is within SelectionWidth pixels of (X,Y).

Protected procedure ShowNewColumnOrLayer;

ShowNewColumnOrLayer shows the position of a column or layer boundary in the front view of the model when a column or layer boundary is being added or moved.

Protected procedure ShowNewColumnOrRow;

ShowNewColumnOrRow shows the position of a column or row boundary in the top view of the model when a column or row boundary is being added or moved.

Protected procedure ShowNewRowOrLayer;

ShowNewRowOrLayer shows the position of a row or layer boundary in the side view of the model when a row or layer boundary is being added or moved.

Public procedure Draw(const Sender: TObject; const Direction: TViewDirection); override;

When adding or moving a column, row, or layer boundary, Draw draws the position of the boundary to be added or moved.


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