Unit InteractiveTools

DescriptionusesClasses, Interfaces, Objects and RecordsFunctions and ProceduresTypesConstantsVariables

Description

InteractiveTools defines descendants of TCustomInteractiveTool that manage the interaction between the user and the model.

uses

Overview

Classes, Interfaces, Objects and Records

Name Description
Class TZoomTool TZoomTool defines the behavior when the user wants to zoom in on a particular area that has been outlined.
Class TZoomInTool TZoomInTool is used to zoom in by a factor of 2 at the location where the user clicks the mouse.
Class TZoomOutTool TZoomOutTool is used to zoom out by a factor of 2 at the location where the user clicks the mouse.
Class TPanTool TPanTool is used to move the view of the model.
Class TCustomGridTool TCustomGridTool is an abstract base class for TCustomInteractiveTools that interact with the grid.
Class TCustomGridCursorTool TCustomGridCursorTool is an abstract base class for TCustomGridTools that have a different cursor depending on whether the mouse is or is not over a column, row, or layer boundary.
Class TAddGridBoundaryTool TAddGridBoundaryTool is used to add column, row, or layer boundaries to the grid at a position where the user clicks the mouse.
Class TMovingGridBoundaryTool TMovingGridBoundaryTool is used to move a column, row, or layer boundary.
Class TDeleteGridBoundaryTool TDeleteGridBoundaryTool deletes a column, row, or layer boundary.
Class TCustomCellSelectionTool TCustomCellSelectionTool is an abstract base class. Its descendants are used for cases where the user selects a range of cells on which to perform some action. See TSpacingGridTool and TSubdivideGridTool.
Class TRotateGridTool TRotateGridTool is used to rotate the grid on the top view of the model.
Class TLassoTool TLassoTool is used to select TScreenObjects by enclosing them with a polygon.
Class TCustomCreateScreenObjectTool TCustomCreateScreenObjectTool is an abstract base class for TCustomInteractiveTools for creating TScreenObjects.
Class TCreatePointScreenObjectTool TCreatePointScreenObjectTool is used to create a point TScreenObject.
Class TCreateLineScreenObjectTool TCreateLineScreenObjectTool is used to create a line or polygon TScreenObject.
Class TCreateStraightLineScreenObjectTool TCreateStraightLineScreenObjectTool is used to create a line TScreenObject in which the segments are aligned with the grid.
Class TCreateRectangleScreenObjectTool TCreateRectangleScreenObjectTool creates a TScreenObject that is shaped like a rectangle aligned with the grid.
Class TCustomEditScreenObjectTool TCustomEditScreenObjectTool is meant to be the abstract ancestor of tools that need to edit TScreenObjects .
Class TCustomModifyGeometryTool  
Class TDeleteSegmentTool TDeleteSegmentTool is used to delete a segment in a TScreenObject.
Class TInsertPointTool TInsertPointTool is used to insert a vertex into a TScreenObject.
Class TCustomSelectScreenObjectTool TCustomSelectScreenObjectTool is the abstract ancestor of tools used to select and move TScreenObjects mainly by clicking on them.
Class TSelectPointTool TSelectPointTool is used to select and move one or more individual vertices in a TScreenObject.
Class TSelectScreenObjectTool TSelectScreenObjectTool is used to select and move one or more TScreenObjects.

Constants

SelectedCellsColor = clSilver;
SelectionWidth = 5;

Variables

ZoomTool: TZoomTool;
ZoomInTool: TZoomInTool;
ZoomOutTool: TZoomOutTool;
PanTool: TPanTool;
AddGridBoundaryTool: TAddGridBoundaryTool;
MovingGridBoundaryTool: TMovingGridBoundaryTool;
DeleteGridBoundaryTool: TDeleteGridBoundaryTool;
RotateGridTool: TRotateGridTool;
LassoTool: TLassoTool;
CreatePointScreenObjectTool: TCreatePointScreenObjectTool;
CreateLineScreenObjectTool: TCreateLineScreenObjectTool;
CreateStraightLineScreenObjectTool: TCreateStraightLineScreenObjectTool;
CreateRectangleScreenObjectTool: TCreateRectangleScreenObjectTool;
DeleteSegmentTool: TDeleteSegmentTool;
InsertPointTool: TInsertPointTool;
SelectPointTool: TSelectPointTool;
SelectScreenObjectTool: TSelectScreenObjectTool;

Description

Constants

SelectedCellsColor = clSilver;

SelectedCellsColor is the color (silver) used to draw selected cells or elements.

SelectionWidth = 5;

When selecting objects or nodes, the cursor may not be exactly over the object to be selected. SelectionWidth defines how far off the cursor can be and still select the object.

Variables

ZoomTool: TZoomTool;

ZoomTool is the instance of TZoomTool used in GoPhast.

ZoomInTool: TZoomInTool;

ZoomInTool is the instance of TZoomInTool used in GoPhast.

ZoomOutTool: TZoomOutTool;

ZoomOutTool is the instance of TZoomOutTool used in GoPhast.

PanTool: TPanTool;

PanTool is the instance of TPanTool used in GoPhast.

AddGridBoundaryTool: TAddGridBoundaryTool;

AddGridBoundaryTool is the instance of TAddGridBoundaryTool used in GoPhast.

MovingGridBoundaryTool: TMovingGridBoundaryTool;

MovingGridBoundaryTool is the instance of TMovingGridBoundaryTool used in GoPhast.

DeleteGridBoundaryTool: TDeleteGridBoundaryTool;

DeleteGridBoundaryTool is the instance of TDeleteGridBoundaryTool used in GoPhast.

RotateGridTool: TRotateGridTool;

RotateGridTool is the instance of TRotateGridTool used in GoPhast.

LassoTool: TLassoTool;

LassoTool is the instance of TLassoTool used in GoPhast.

CreatePointScreenObjectTool: TCreatePointScreenObjectTool;

CreatePointScreenObjectTool is the instance of TCreatePointScreenObjectTool used in GoPhast.

CreateLineScreenObjectTool: TCreateLineScreenObjectTool;

CreateLineScreenObjectTool is the instance of TCreateLineScreenObjectTool used in GoPhast.

CreateStraightLineScreenObjectTool: TCreateStraightLineScreenObjectTool;

CreateStraightLineScreenObjectTool is the instance of TCreateStraightLineScreenObjectTool used in GoPhast.

CreateRectangleScreenObjectTool: TCreateRectangleScreenObjectTool;

CreateRectangleScreenObjectTool is the instance of TCreateRectangleScreenObjectTool used in GoPhast.

DeleteSegmentTool: TDeleteSegmentTool;

DeleteSegmentTool is the instance of TDeleteSegmentTool used in GoPhast.

InsertPointTool: TInsertPointTool;

InsertPointTool is the instance of TInsertPointTool used in GoPhast.

SelectPointTool: TSelectPointTool;

SelectPointTool is the instance of TSelectPointTool used in GoPhast.

SelectScreenObjectTool: TSelectScreenObjectTool;

SelectScreenObjectTool is the instance of TSelectScreenObjectTool used in GoPhast.


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