Description | Hierarchy | Fields | Methods | Properties |
type TframeView = class(TFrame)
TframeView
is used to display one view of the model and to handle user-interaction with the TPhastGrid and TScreenObjects. Much of the user interaction is delegated to descendants of TCustomInteractiveTool.
![]() |
BackOne: TMenuItem; |
![]() |
ForwardOne: TMenuItem; |
![]() |
Hide: TMenuItem; |
![]() |
ModelCube: TRbwModelCube; |
![]() |
OrderMenu: TPopupMenu; |
![]() |
Panel1: TPanel; |
![]() |
rulHorizontal: TRbwRuler; |
![]() |
rulVertical: TRbwRuler; |
![]() |
ToBack: TMenuItem; |
![]() |
ToFront: TMenuItem; |
![]() |
ZoomBox: TQRbwZoomBox2; |
![]() |
FBitMap: TBitMap; |
![]() |
FBusy: boolean; |
![]() |
FColRowLayerSelector: TCustomLayerRowColumnSelector; |
![]() |
FDeltaGridAngle: real; |
![]() |
FDrawing: boolean; |
![]() |
FMagnificationChanged: boolean; |
![]() |
FPreviousScreenObjects: TList; |
![]() |
FResizing: boolean; |
![]() |
FViewDirection: TViewDirection; |
![]() |
FSelectBottomRight: TPoint; |
![]() |
FSelectTopLeft: TPoint; |
![]() |
procedure BackOneClick(Sender: TObject); |
![]() |
procedure ForwardOneClick(Sender: TObject); |
![]() |
procedure HideClick(Sender: TObject); |
![]() |
procedure ModelCubePaint(Sender: TObject); |
![]() |
procedure OrderMenuPopup(Sender: TObject); |
![]() |
procedure rulerDblClick(Sender: TObject); |
![]() |
procedure rulerMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); |
![]() |
procedure ToBackClick(Sender: TObject); |
![]() |
procedure ToFrontClick(Sender: TObject); |
![]() |
procedure ZoomBoxBottomPaintBoxPaint(Sender: TObject); |
![]() |
procedure ZoomBoxExit(Sender: TObject); |
![]() |
procedure ZoomBoxPaintBoxDblClick(Sender: TObject); |
![]() |
procedure ZoomBoxPaintBoxMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); |
![]() |
procedure ZoomBoxPaintBoxMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); |
![]() |
procedure ZoomBoxPaintBoxMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); |
![]() |
procedure ZoomBoxPaintBoxPaint(Sender: TObject); |
![]() |
procedure ZoomBoxPan(Sender: TObject; DeltaX, DeltaY: real); |
![]() |
procedure ZoomBoxResize(Sender: TObject); |
![]() |
procedure AdjustHorizontalScale(const NewX: integer); |
![]() |
procedure AdjustVerticalScale(const NewY: integer); |
![]() |
function ColorDataSet: TDataArray; |
![]() |
function ColorTimeList: TTimeList; |
![]() |
procedure DrawGridAndScreenObjects; |
![]() |
procedure DrawImage(const Source: TCompressedBitmapItem; const Dest: TBitMap); |
![]() |
procedure DrawScreenObjects; |
![]() |
procedure GetColLayer(APoint: T2DRealPoint; out Col, Layer: integer); |
![]() |
function GetColRowLayerSelector: TCustomLayerRowColumnSelector; |
![]() |
function GetCurrentScreenObject: TScreenObject; |
![]() |
function GetGridChanged: boolean; |
![]() |
function GetNeedToRecalculateCellColors: boolean; |
![]() |
procedure GetNodeColLayer(APoint: T2DRealPoint; out Col, Layer: integer); |
![]() |
procedure GetNodeRowCol(APoint: T2DRealPoint; out Row, Column: integer); |
![]() |
procedure GetNodeRowLayer(APoint: T2DRealPoint; out Row, Layer: integer); |
![]() |
procedure GetRowCol(APoint: T2DRealPoint; out Row, Column: integer); |
![]() |
procedure GetRowLayer(APoint: T2DRealPoint; out Row, Layer: integer); |
![]() |
function GetScreenObjectsChanged: boolean; |
![]() |
function GridCenter: T2DRealPoint; |
![]() |
procedure InitializeDataSet; |
![]() |
procedure InvalidateScreenObjects; |
![]() |
procedure PaintRotatedBMP(const X, Y, Angle: double; const Source, Dest: TBitMap); |
![]() |
function RecalculateCellColors: boolean; |
![]() |
procedure ResetCellColors; |
![]() |
procedure RotatedGridCorners(const Angle: real; out PointArray: array of TPoint); |
![]() |
procedure SetDeltaGridAngle(const Value: real); |
![]() |
procedure SetGridChanged(const Value: boolean); |
![]() |
procedure SetNeedToRecalculateCellColors(const Value: boolean); |
![]() |
procedure SetScreenObjectsChanged(const Value: boolean); |
![]() |
procedure SetUpColRowLayerSelector; |
![]() |
procedure SetViewDirection(const Value: TViewDirection); |
![]() |
procedure UpdateStatusBar(const X, Y: integer); |
![]() |
procedure UpdateTimeDataSet; |
![]() |
procedure WarnTooBig; |
![]() |
procedure AdjustScales; |
![]() |
constructor Create(AOwner: TComponent); override; |
![]() |
function CursorGrid: TCursorGrid; |
![]() |
destructor Destroy; override; |
![]() |
procedure DisplayItem; |
![]() |
procedure DrawRotatedGrid(const DeltaAngle: real); |
![]() |
function EvaluatedAt: TEvaluatedAt; |
![]() |
procedure FinishScreenObjects; |
![]() |
procedure ItemChange(Sender: TObject); |
![]() |
procedure ShowMagnification; |
![]() |
procedure UpdateSelectRectangle; |
![]() |
property GridChanged: boolean read GetGridChanged write SetGridChanged; |
![]() |
property ColRowLayerSelector: TCustomLayerRowColumnSelector
read GetColRowLayerSelector; |
![]() |
property CurrentScreenObject: TScreenObject read GetCurrentScreenObject; |
![]() |
property DeltaGridAngle: real read FDeltaGridAngle write
SetDeltaGridAngle; |
![]() |
property MagnificationChanged: boolean read FMagnificationChanged
write FMagnificationChanged; |
![]() |
property NeedToRecalculateCellColors: boolean
read GetNeedToRecalculateCellColors
write SetNeedToRecalculateCellColors; |
![]() |
property PreviousScreenObjects: TList read FPreviousScreenObjects; |
![]() |
property Resizing: boolean read FResizing write FResizing; |
![]() |
property ScreenObjectsHaveChanged: boolean read GetScreenObjectsChanged
write SetScreenObjectsChanged; |
![]() |
property ViewDirection: TViewDirection read FViewDirection
write SetViewDirection; |
![]() |
BackOne: TMenuItem; |
|
![]() |
ForwardOne: TMenuItem; |
|
![]() |
Hide: TMenuItem; |
|
![]() |
ModelCube: TRbwModelCube; |
|
![]() |
OrderMenu: TPopupMenu; |
|
![]() |
Panel1: TPanel; |
|
![]() |
rulHorizontal: TRbwRuler; |
|
![]() |
rulVertical: TRbwRuler; |
|
![]() |
ToBack: TMenuItem; |
|
![]() |
ToFront: TMenuItem; |
|
![]() |
ZoomBox: TQRbwZoomBox2; |
|
![]() |
FBitMap: TBitMap; |
|
![]() |
FBusy: boolean; |
|
![]() |
FColRowLayerSelector: TCustomLayerRowColumnSelector; |
|
![]() |
FDeltaGridAngle: real; |
|
![]() |
FDrawing: boolean; |
|
![]() |
FMagnificationChanged: boolean; |
|
![]() |
FPreviousScreenObjects: TList; |
|
![]() |
FResizing: boolean; |
|
![]() |
FViewDirection: TViewDirection; |
|
![]() |
FSelectBottomRight: TPoint; |
|
![]() |
FSelectTopLeft: TPoint; |
|
![]() |
procedure BackOneClick(Sender: TObject); |
|
![]() |
procedure ForwardOneClick(Sender: TObject); |
|
![]() |
procedure HideClick(Sender: TObject); |
|
![]() |
procedure ModelCubePaint(Sender: TObject); |
|
![]() |
procedure OrderMenuPopup(Sender: TObject); |
|
![]() |
procedure rulerDblClick(Sender: TObject); |
|
![]() |
procedure rulerMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); |
|
![]() |
procedure ToBackClick(Sender: TObject); |
|
![]() |
procedure ToFrontClick(Sender: TObject); |
|
![]() |
procedure ZoomBoxBottomPaintBoxPaint(Sender: TObject); |
|
![]() |
procedure ZoomBoxExit(Sender: TObject); |
If the user clicks on a button or somewhere else while creating a TScreenObject, the TScreenObject is terminated. |
![]() |
procedure ZoomBoxPaintBoxDblClick(Sender: TObject); |
|
![]() |
procedure ZoomBoxPaintBoxMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); |
|
![]() |
procedure ZoomBoxPaintBoxMouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); |
|
![]() |
procedure ZoomBoxPaintBoxMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); |
|
![]() |
procedure ZoomBoxPaintBoxPaint(Sender: TObject); |
|
![]() |
procedure ZoomBoxPan(Sender: TObject; DeltaX, DeltaY: real); |
|
![]() |
procedure ZoomBoxResize(Sender: TObject); |
|
![]() |
procedure AdjustHorizontalScale(const NewX: integer); |
Parameters
|
![]() |
procedure AdjustVerticalScale(const NewY: integer); |
Parameters
|
![]() |
function ColorDataSet: TDataArray; |
|
![]() |
function ColorTimeList: TTimeList; |
If ColorDataSet is a transient TDataArray, |
![]() |
procedure DrawGridAndScreenObjects; |
|
![]() |
procedure DrawImage(const Source: TCompressedBitmapItem; const Dest: TBitMap); |
|
![]() |
procedure DrawScreenObjects; |
|
![]() |
procedure GetColLayer(APoint: T2DRealPoint; out Col, Layer: integer); |
|
![]() |
function GetColRowLayerSelector: TCustomLayerRowColumnSelector; |
See ColRowLayerSelector. |
![]() |
function GetCurrentScreenObject: TScreenObject; |
See CurrentScreenObject. |
![]() |
function GetGridChanged: boolean; |
See GridChanged. |
![]() |
function GetNeedToRecalculateCellColors: boolean; |
![]() |
procedure GetNodeColLayer(APoint: T2DRealPoint; out Col, Layer: integer); |
|
![]() |
procedure GetNodeRowCol(APoint: T2DRealPoint; out Row, Column: integer); |
|
![]() |
procedure GetNodeRowLayer(APoint: T2DRealPoint; out Row, Layer: integer); |
|
![]() |
procedure GetRowCol(APoint: T2DRealPoint; out Row, Column: integer); |
|
![]() |
procedure GetRowLayer(APoint: T2DRealPoint; out Row, Layer: integer); |
|
![]() |
function GetScreenObjectsChanged: boolean; |
![]() |
function GridCenter: T2DRealPoint; |
|
![]() |
procedure InitializeDataSet; |
|
![]() |
procedure InvalidateScreenObjects; |
|
![]() |
procedure PaintRotatedBMP(const X, Y, Angle: double; const Source, Dest: TBitMap); |
|
![]() |
procedure ResetCellColors; |
|
![]() |
procedure RotatedGridCorners(const Angle: real; out PointArray: array of TPoint); |
|
![]() |
procedure SetDeltaGridAngle(const Value: real); |
See DeltaGridAngle. |
![]() |
procedure SetGridChanged(const Value: boolean); |
See GridChanged. |
![]() |
procedure SetNeedToRecalculateCellColors(const Value: boolean); |
![]() |
procedure SetScreenObjectsChanged(const Value: boolean); |
![]() |
procedure SetUpColRowLayerSelector; |
|
![]() |
procedure SetViewDirection(const Value: TViewDirection); |
See ViewDirection. |
![]() |
procedure UpdateStatusBar(const X, Y: integer); |
|
![]() |
procedure UpdateTimeDataSet; |
When the data set used to color the grid is a transient TDataArray, |
![]() |
procedure WarnTooBig; |
If the magnification is too big, zoom out a bit and warn the user. |
![]() |
procedure AdjustScales; |
|
![]() |
constructor Create(AOwner: TComponent); override; |
|
![]() |
function CursorGrid: TCursorGrid; |
|
![]() |
destructor Destroy; override; |
|
![]() |
procedure DisplayItem; |
|
![]() |
procedure DrawRotatedGrid(const DeltaAngle: real); |
|
![]() |
function EvaluatedAt: TEvaluatedAt; |
See TCustomLayerRowColumnSelector.EvaluatedAt. |
![]() |
procedure FinishScreenObjects; |
See TCustomCreateScreenObjectTool.FinishScreenObjects; |
![]() |
procedure ItemChange(Sender: TObject); |
See TCustomLayerRowColumnSelector.ItemChange; |
![]() |
procedure ShowMagnification; |
|
![]() |
procedure UpdateSelectRectangle; |
|
![]() |
property GridChanged: boolean read GetGridChanged write SetGridChanged; |
|
![]() |
property ColRowLayerSelector: TCustomLayerRowColumnSelector
read GetColRowLayerSelector; |
|
![]() |
property CurrentScreenObject: TScreenObject read GetCurrentScreenObject; |
|
![]() |
property DeltaGridAngle: real read FDeltaGridAngle write
SetDeltaGridAngle; |
When rotating the grid with TRotateGridTool, |
![]() |
property MagnificationChanged: boolean read FMagnificationChanged
write FMagnificationChanged; |
When zooming in or out, |
![]() |
property NeedToRecalculateCellColors: boolean
read GetNeedToRecalculateCellColors
write SetNeedToRecalculateCellColors; |
When the TDataArray used to color the grid is changed |
![]() |
property PreviousScreenObjects: TList read FPreviousScreenObjects; |
|
![]() |
property Resizing: boolean read FResizing write FResizing; |
|
![]() |
property ScreenObjectsHaveChanged: boolean read GetScreenObjectsChanged
write SetScreenObjectsChanged; |
|
![]() |
property ViewDirection: TViewDirection read FViewDirection
write SetViewDirection; |
|