Class SLScope.TSLDataDisplay
From Mitov Wiki Doc
				
				
				(Difference between revisions)
				
																
				
				
								
				 (Automated Syncronization with Documentation)  | 
		 (Automated Syncronization with Documentation)  | 
		||
| Line 40: | Line 40: | ||
=== Published ===  | === Published ===  | ||
*[[Property SLScope.TSLDataDisplay.Color|Color]] - The color of the display.    | *[[Property SLScope.TSLDataDisplay.Color|Color]] - The color of the display.    | ||
| + | *[[Property SLScope.TSLDataDisplay.Title|Title]] - The title area of the control.   | ||
*[[Property SLScope.TSLDataDisplay.ToolBar|ToolBar]] - The toolbar area of the control.    | *[[Property SLScope.TSLDataDisplay.ToolBar|ToolBar]] - The toolbar area of the control.    | ||
*[[Property SLScope.TSLDataDisplay.Zooming|Zooming]] - Specifies the behavior of the zooming.    | *[[Property SLScope.TSLDataDisplay.Zooming|Zooming]] - Specifies the behavior of the zooming.    | ||
*[[Property SLScope.TSLDataDisplay.Cursor|Cursor]]  | *[[Property SLScope.TSLDataDisplay.Cursor|Cursor]]  | ||
*[[Property SLScope.TSLDataDisplay.NavigateMode|NavigateMode]] - Specifies the navigate mode (Zoom or Pan).    | *[[Property SLScope.TSLDataDisplay.NavigateMode|NavigateMode]] - Specifies the navigate mode (Zoom or Pan).    | ||
| + | *[[Property SLScope.TSLDataDisplay.Trails|Trails]] - Specifies the settings for the mouse move trails.   | ||
*[[Property SLScope.TSLDataDisplay.Elements|Elements]] - Component elements collection.    | *[[Property SLScope.TSLDataDisplay.Elements|Elements]] - Component elements collection.    | ||
*[[Property SLScope.TSLDataDisplay.RefreshInterval|RefreshInterval]] - Specifies how often the view area will be updated.    | *[[Property SLScope.TSLDataDisplay.RefreshInterval|RefreshInterval]] - Specifies how often the view area will be updated.    | ||
| Line 58: | Line 60: | ||
*[[Property SLScope.TSLDataDisplay.PlotHeight|PlotHeight]]  | *[[Property SLScope.TSLDataDisplay.PlotHeight|PlotHeight]]  | ||
*[[Property SLScope.TSLDataDisplay.Views|Views]]  | *[[Property SLScope.TSLDataDisplay.Views|Views]]  | ||
| − | |||
== Methods ==  | == Methods ==  | ||
| Line 68: | Line 69: | ||
*[[Method procedure SLScope.TSLDataDisplay.Loaded()|procedure Loaded()]]  | *[[Method procedure SLScope.TSLDataDisplay.Loaded()|procedure Loaded()]]  | ||
*[[Method procedure SLScope.TSLDataDisplay.SetParent(TWinControl)|procedure SetParent(AParent : TWinControl)]]  | *[[Method procedure SLScope.TSLDataDisplay.SetParent(TWinControl)|procedure SetParent(AParent : TWinControl)]]  | ||
| + | *[[Method function SLScope.TSLDataDisplay.GetOperations() : TLPDrawLayerOperations|function GetOperations() : TLPDrawLayerOperations]]  | ||
*[[Method procedure SLScope.TSLDataDisplay.InvalidateRefresh()|procedure InvalidateRefresh()]] - Fully invalidates and flushes the draw caches of the component.    | *[[Method procedure SLScope.TSLDataDisplay.InvalidateRefresh()|procedure InvalidateRefresh()]] - Fully invalidates and flushes the draw caches of the component.    | ||
*[[Method procedure SLScope.TSLDataDisplay.PostRefresh()|procedure PostRefresh()]]  | *[[Method procedure SLScope.TSLDataDisplay.PostRefresh()|procedure PostRefresh()]]  | ||
| Line 74: | Line 76: | ||
*[[Method function SLScope.TSLDataDisplay.GetAxisValueAt(Integer;Integer;Real;Real) : Boolean|function GetAxisValueAt(X : Integer; Y : Integer; var AxisX : Real; var AxisY : Real) : Boolean]] - Returns the X and Y axis value at a mouse point.    | *[[Method function SLScope.TSLDataDisplay.GetAxisValueAt(Integer;Integer;Real;Real) : Boolean|function GetAxisValueAt(X : Integer; Y : Integer; var AxisX : Real; var AxisY : Real) : Boolean]] - Returns the X and Y axis value at a mouse point.    | ||
*[[Method procedure SLScope.TSLDataDisplay.GetChildren(TGetChildProc;TComponent)|procedure GetChildren(Proc : TGetChildProc; Root : TComponent)]]  | *[[Method procedure SLScope.TSLDataDisplay.GetChildren(TGetChildProc;TComponent)|procedure GetChildren(Proc : TGetChildProc; Root : TComponent)]]  | ||
| + | *[[Method function SLScope.TSLDataDisplay.GetHighlightInfo() : TSLHighlightInfo|function GetHighlightInfo() : TSLHighlightInfo]]  | ||
| + | *[[Method function SLScope.TSLDataDisplay.GetHighlighting() : TSLDisplayHighlighting|function GetHighlighting() : TSLDisplayHighlighting]]  | ||
| + | *[[Method function SLScope.TSLDataDisplay.GetCursors() : TSLDisplayCursors|function GetCursors() : TSLDisplayCursors]]  | ||
*[[Method procedure SLScope.TSLDataDisplay.Print()|procedure Print()]] - Prints the display.    | *[[Method procedure SLScope.TSLDataDisplay.Print()|procedure Print()]] - Prints the display.    | ||
*[[Method procedure SLScope.TSLDataDisplay.CopyToClipboard()|procedure CopyToClipboard()]] - Copies the content of the display to the Clipboard.    | *[[Method procedure SLScope.TSLDataDisplay.CopyToClipboard()|procedure CopyToClipboard()]] - Copies the content of the display to the Clipboard.    | ||
*[[Method procedure SLScope.TSLDataDisplay.SaveToBitmap(String)|procedure SaveToBitmap(FileName : String)]] - Saves snapshot of the display into a bitmap file.    | *[[Method procedure SLScope.TSLDataDisplay.SaveToBitmap(String)|procedure SaveToBitmap(FileName : String)]] - Saves snapshot of the display into a bitmap file.    | ||
*[[Method procedure SLScope.TSLDataDisplay.SaveToJpeg(String)|procedure SaveToJpeg(FileName : String)]] - Saves snapshot of the display into a JPEG file.    | *[[Method procedure SLScope.TSLDataDisplay.SaveToJpeg(String)|procedure SaveToJpeg(FileName : String)]] - Saves snapshot of the display into a JPEG file.    | ||
| + | *[[Method function SLScope.TSLDataDisplay.GetDataView() : TSLDisplayView|function GetDataView() : TSLDisplayView]]  | ||
| + | *[[Method function SLScope.TSLDataDisplay.GetIsVertical() : Boolean|function GetIsVertical() : Boolean]]  | ||
| + | *[[Method function SLScope.TSLDataDisplay.GetColorChannelIndex(TSLDisplayView) : Integer|function GetColorChannelIndex(AView : TSLDisplayView) : Integer]]  | ||
*[[Method procedure SLScope.TSLDataDisplay.DoColorChannelClick(Integer)|procedure DoColorChannelClick(AItemIndex : Integer)]]  | *[[Method procedure SLScope.TSLDataDisplay.DoColorChannelClick(Integer)|procedure DoColorChannelClick(AItemIndex : Integer)]]  | ||
*[[Method procedure SLScope.TSLDataDisplay.DoLayerDraw(TLPCanvas;Integer;Integer;Single;Single;Boolean)|procedure DoLayerDraw(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single; AContoursOnly : Boolean)]]  | *[[Method procedure SLScope.TSLDataDisplay.DoLayerDraw(TLPCanvas;Integer;Integer;Single;Single;Boolean)|procedure DoLayerDraw(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single; AContoursOnly : Boolean)]]  | ||
| Line 96: | Line 104: | ||
*[[Event SLScope.TSLDataDisplay.OnZoomChanged|OnZoomChanged]] - Occurs when the zoom has been changed.    | *[[Event SLScope.TSLDataDisplay.OnZoomChanged|OnZoomChanged]] - Occurs when the zoom has been changed.    | ||
*[[Event SLScope.TSLDataDisplay.OnDataToolTip|OnDataToolTip]] - Occurs when the data tool tip will be shown or updated.    | *[[Event SLScope.TSLDataDisplay.OnDataToolTip|OnDataToolTip]] - Occurs when the data tool tip will be shown or updated.    | ||
| + | *[[Event SLScope.TSLDataDisplay.OnPaint|OnPaint]] - Occurs when the control is redrawn.   | ||
*[[Event SLScope.TSLDataDisplay.OnKeyDown|OnKeyDown]]  | *[[Event SLScope.TSLDataDisplay.OnKeyDown|OnKeyDown]]  | ||
*[[Event SLScope.TSLDataDisplay.OnKeyPress|OnKeyPress]]  | *[[Event SLScope.TSLDataDisplay.OnKeyPress|OnKeyPress]]  | ||
| Line 104: | Line 113: | ||
*[[Event SLScope.TSLDataDisplay.OnMouseMove|OnMouseMove]]  | *[[Event SLScope.TSLDataDisplay.OnMouseMove|OnMouseMove]]  | ||
*[[Event SLScope.TSLDataDisplay.OnMouseUp|OnMouseUp]]  | *[[Event SLScope.TSLDataDisplay.OnMouseUp|OnMouseUp]]  | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== From [[Class SLControlCollection.TSLCustomControlItem|TSLCustomControlItem]] ==  | == From [[Class SLControlCollection.TSLCustomControlItem|TSLCustomControlItem]] ==  | ||
| Line 135: | Line 125: | ||
=== Public ===  | === Public ===  | ||
| + | *[[Method function SLControlCollection.TSLCustomControlItem.GetParentComponent() : TComponent|function GetParentComponent() : TComponent]]  | ||
| + | *[[Method function SLControlCollection.TSLCustomControlItem.HasParent() : Boolean|function HasParent() : Boolean]]  | ||
*[[Method procedure SLControlCollection.TSLCustomControlItem.SetParent(TWinControl)|procedure SetParent(AParent : TWinControl)]]  | *[[Method procedure SLControlCollection.TSLCustomControlItem.SetParent(TWinControl)|procedure SetParent(AParent : TWinControl)]]  | ||
*[[Method function SLControlCollection.TSLCustomControlItem.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]]  | *[[Method function SLControlCollection.TSLCustomControlItem.GetHasEnable() : Boolean|function GetHasEnable() : Boolean]]  | ||
*[[Method function SLControlCollection.TSLCustomControlItem.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]]  | *[[Method function SLControlCollection.TSLCustomControlItem.GetCanDisable() : Boolean|function GetCanDisable() : Boolean]]  | ||
*[[Method procedure SLControlCollection.TSLCustomControlItem.SetParentComponent(TComponent)|procedure SetParentComponent(AValue : TComponent)]]  | *[[Method procedure SLControlCollection.TSLCustomControlItem.SetParentComponent(TComponent)|procedure SetParentComponent(AValue : TComponent)]]  | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
[[Category:Classes]]  | [[Category:Classes]]  | ||
Revision as of 20:29, 10 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Package: SignalLabScopePkg
Unit: SLScope
Inherits: TLPControlDrawLayer
Contents | 
Syntax
Delphi:
type TSLDataDisplay = class( TLPControlDrawLayer, IULBasicControl )
C++ Builder:
class TSLDataDisplay : public TLPControlDrawLayer
Visual C++ (MFC):
class CTSLDataDisplay : public CTLPControlDrawLayer
C# (.NET):
public ref class TSLDataDisplay : Mitov.PlotLab.ControlDrawLayer
Summary
Basic abstract class for visual data displays.
Description
This is a base class for visual data displays such as Scopes and Spectrum Analyzers. Do not make instances of this class. Instead create instance of an inherited class.
Properties
Published
- Color - The color of the display.
 - Title - The title area of the control.
 - ToolBar - The toolbar area of the control.
 - Zooming - Specifies the behavior of the zooming.
 - Cursor
 - NavigateMode - Specifies the navigate mode (Zoom or Pan).
 - Trails - Specifies the settings for the mouse move trails.
 - Elements - Component elements collection.
 - RefreshInterval - Specifies how often the view area will be updated.
 - Visible - Specifies if the control will be visible.
 - TabStop
 
Public
- CanRedoZoom - Can Redo the Zoom.
 - CanUndoZoom - Can Undo the Zoom.
 - CanZoomOut - Can Zoom In.
 - CanZoomIn - Can Zoom In.
 - Hold - Holds (freezes) the samples on the component.
 - PlotWidth
 - PlotHeight
 - Views
 
Methods
Public
- procedure SetToolTipText(AValue : PChar) - Provides a new ToolTip Text value( Visual C++ (MFC/Win32) only ).
 - function GetToolTipText() : String - Returns the current tooltip text (Visual C++ only).
 - procedure SetBounds(ALeft : Integer; ATop : Integer; AWidth : Integer; AHeight : Integer)
 - procedure Loaded()
 - procedure SetParent(AParent : TWinControl)
 - function GetOperations() : TLPDrawLayerOperations
 - procedure InvalidateRefresh() - Fully invalidates and flushes the draw caches of the component.
 - procedure PostRefresh()
 - procedure RefreshView() - Repaints the component with the most current data.
 - procedure CopyToBitmap(ABitmap : TBitmap) - Copies the content of the display to a Bitmap.
 - function GetAxisValueAt(X : Integer; Y : Integer; var AxisX : Real; var AxisY : Real) : Boolean - Returns the X and Y axis value at a mouse point.
 - procedure GetChildren(Proc : TGetChildProc; Root : TComponent)
 - function GetHighlightInfo() : TSLHighlightInfo
 - function GetHighlighting() : TSLDisplayHighlighting
 - function GetCursors() : TSLDisplayCursors
 - procedure Print() - Prints the display.
 - procedure CopyToClipboard() - Copies the content of the display to the Clipboard.
 - procedure SaveToBitmap(FileName : String) - Saves snapshot of the display into a bitmap file.
 - procedure SaveToJpeg(FileName : String) - Saves snapshot of the display into a JPEG file.
 - function GetDataView() : TSLDisplayView
 - function GetIsVertical() : Boolean
 - function GetColorChannelIndex(AView : TSLDisplayView) : Integer
 - procedure DoColorChannelClick(AItemIndex : Integer)
 - procedure DoLayerDraw(ACanvas : TLPCanvas; AWidth : Integer; AHeight : Integer; AXCoeff : Single; AYCoeff : Single; AContoursOnly : Boolean)
 - procedure ZoomOff() - Turns the zoom off.
 - procedure ZoomBy(AValue : Real)
 - procedure ZoomBy(AValue : Real; SaveHistory : Boolean)
 - procedure ZoomBy(XValue : Real; YValue : Real)
 - procedure ZoomBy(XValue : Real; YValue : Real; SaveHistory : Boolean)
 - procedure ZoomTo(XMin : Real; XMax : Real; YMin : Real; YMax : Real) - Zooms to show the range between XMin, XMax, YMin and YMax.
 - procedure ZoomTo(XMin : Real; XMax : Real; YMin : Real; YMax : Real; SaveHistory : Boolean) - Zooms to show the range between XMin, XMax, YMin and YMax. Allows optionally the zoom history to be saved for Undo.
 - procedure ZoomToData(XMin : Real; XMax : Real; YMin : Real; YMax : Real) - Zooms to show the range between XMin, XMax, YMin and YMax based on the data scaling.
 - procedure ZoomToData(XMin : Real; XMax : Real; YMin : Real; YMax : Real; SaveHistory : Boolean) - Zooms to show the range between XMin, XMax, YMin and YMax based on the data scaling. Allows optionally the zoom history to be saved for Undo.
 - procedure UndoZoom() - Restores the zoom to previous values.
 - procedure RedoZoom() - Restores to a zoom that has been used before the last UndoZoom.
 - procedure ClearZoomUndo() - Clears all the ZoomUndo and ZoomRedo history.
 
Events
- OnZoomChanged - Occurs when the zoom has been changed.
 - OnDataToolTip - Occurs when the data tool tip will be shown or updated.
 - OnPaint - Occurs when the control is redrawn.
 - OnKeyDown
 - OnKeyPress
 - OnKeyUp
 - OnClick
 - OnDblClick
 - OnMouseDown
 - OnMouseMove
 - OnMouseUp