ATAS
Loading...
Searching...
No Matches
ATAS.Indicators.ChartObject Class Reference

Base class for objects in a chart. More...

Inheritance diagram for ATAS.Indicators.ChartObject:
[legend]
Collaboration diagram for ATAS.Indicators.ChartObject:
[legend]

Public Member Functions

virtual bool ProcessMouseClick (RenderControlMouseEventArgs e)
 Processes a mouse click event on the chart object.
 
virtual bool ProcessMouseWheel (int delta)
 Processes a mouse wheel event on the chart object.
 
virtual bool ProcessMouseDown (RenderControlMouseEventArgs e)
 Processes a mouse down event on the chart object.
 
virtual bool ProcessMouseUp (RenderControlMouseEventArgs e)
 Processes a mouse up event on the chart object.
 
virtual bool ProcessMouseMove (RenderControlMouseEventArgs e)
 Processes a mouse move event on the chart object.
 
virtual bool ProcessMouseDoubleClick (RenderControlMouseEventArgs e)
 Processes a mouse double click event on the chart object.
 
virtual StdCursor GetCursor (RenderControlMouseEventArgs e)
 Gets the cursor to display when the mouse is over the chart object.
 
virtual bool ProcessKeyDown (CrossKeyEventArgs e)
 Processes a key down event on the chart object.
 
virtual bool ProcessKeyUp (CrossKeyEventArgs e)
 Processes a key up event on the chart object.
 

Protected Member Functions

virtual void OnVisibleChanged ()
 Called when the Visible property changes.
 
virtual void LockedOnChanged ()
 Called when the Locked property changes.
 
- Protected Member Functions inherited from ATAS.Indicators.Filters.TrackedPropertyBase
void SetProperty< TProperty > (ref TProperty store, TProperty value, Action onChanged=null, Func< TProperty, bool > onChanging=null, [CallerMemberName] string propertyName="")
 Sets the value of a property and notifies subscribers if the value has changed.
 
void SetTrackedProperty< TProperty > (ref TProperty store, TProperty value, Action< string > onChanged=null, [CallerMemberName] string propertyName="")
 Sets the value of a property that implements the INotifyPropertyChanged interface and notifies subscribers if the value has changed.
 
virtual void OnChangeProperty ([CallerMemberName] string propertyName="")
 Notifies subscribers when a property value changes.
 

Properties

bool Visible [get, set]
 Gets or sets a value indicating whether the chart object is visible.
 
bool Locked [get, set]
 Gets or sets a value indicating whether the chart object is locked.
 
bool AllowedInteraction [get]
 Gets a value indicating whether interaction with the chart object is allowed.
 

Additional Inherited Members

- Events inherited from ATAS.Indicators.Filters.TrackedPropertyBase
PropertyChangedEventHandler PropertyChanged
 

Detailed Description

Base class for objects in a chart.

Member Function Documentation

◆ GetCursor()

virtual StdCursor ATAS.Indicators.ChartObject.GetCursor ( RenderControlMouseEventArgs  e)
virtual

Gets the cursor to display when the mouse is over the chart object.

Parameters
eThe mouse event arguments.
Returns
The standard cursor to display.

◆ LockedOnChanged()

virtual void ATAS.Indicators.ChartObject.LockedOnChanged ( )
protectedvirtual

Called when the Locked property changes.

◆ OnVisibleChanged()

virtual void ATAS.Indicators.ChartObject.OnVisibleChanged ( )
protectedvirtual

Called when the Visible property changes.

Reimplemented in ATAS.Indicators.BaseIndicator.

◆ ProcessKeyDown()

virtual bool ATAS.Indicators.ChartObject.ProcessKeyDown ( CrossKeyEventArgs  e)
virtual

Processes a key down event on the chart object.

Parameters
eThe key event arguments.
Returns
true if the event was handled; otherwise, false.

◆ ProcessKeyUp()

virtual bool ATAS.Indicators.ChartObject.ProcessKeyUp ( CrossKeyEventArgs  e)
virtual

Processes a key up event on the chart object.

Parameters
eThe key event arguments.
Returns
true if the event was handled; otherwise, false.

◆ ProcessMouseClick()

virtual bool ATAS.Indicators.ChartObject.ProcessMouseClick ( RenderControlMouseEventArgs  e)
virtual

Processes a mouse click event on the chart object.

Parameters
eThe mouse event arguments.
Returns
true if the event was handled; otherwise, false.

◆ ProcessMouseDoubleClick()

virtual bool ATAS.Indicators.ChartObject.ProcessMouseDoubleClick ( RenderControlMouseEventArgs  e)
virtual

Processes a mouse double click event on the chart object.

Parameters
eThe mouse event arguments.
Returns
true if the event was handled; otherwise, false.

◆ ProcessMouseDown()

virtual bool ATAS.Indicators.ChartObject.ProcessMouseDown ( RenderControlMouseEventArgs  e)
virtual

Processes a mouse down event on the chart object.

Parameters
eThe mouse event arguments.
Returns
true if the event was handled; otherwise, false.

◆ ProcessMouseMove()

virtual bool ATAS.Indicators.ChartObject.ProcessMouseMove ( RenderControlMouseEventArgs  e)
virtual

Processes a mouse move event on the chart object.

Parameters
eThe mouse event arguments.
Returns
true if the event was handled; otherwise, false.

◆ ProcessMouseUp()

virtual bool ATAS.Indicators.ChartObject.ProcessMouseUp ( RenderControlMouseEventArgs  e)
virtual

Processes a mouse up event on the chart object.

Parameters
eThe mouse event arguments.
Returns
true if the event was handled; otherwise, false.

◆ ProcessMouseWheel()

virtual bool ATAS.Indicators.ChartObject.ProcessMouseWheel ( int  delta)
virtual

Processes a mouse wheel event on the chart object.

Parameters
deltaThe mouse wheel delta value.
Returns
true if the event was handled; otherwise, false.

Property Documentation

◆ AllowedInteraction

bool ATAS.Indicators.ChartObject.AllowedInteraction
get

Gets a value indicating whether interaction with the chart object is allowed.

◆ Locked

bool ATAS.Indicators.ChartObject.Locked
getset

Gets or sets a value indicating whether the chart object is locked.

◆ Visible

bool ATAS.Indicators.ChartObject.Visible
getset

Gets or sets a value indicating whether the chart object is visible.


The documentation for this class was generated from the following file: