C# Class ACAT.Extensions.Default.UI.Scanners.AlphabetScannerQwerty70Keys

Inheritance: System.Windows.Forms.Form, IScannerPanel, IScannerPreview, ISupportsStatusBar
Show file Open project: brlima94/acat-localization

Public Methods

Method Description
AlphabetScannerQwerty70Keys ( ) : System

Initializes a new instance of the class.

CheckWidgetEnabled ( ACAT.Lib.Core.AgentManagement.CheckEnabledArgs arg ) : bool

Invoked to check if a scanner button should be enabled. Uses context to determine the 'enabled' state.

Initialize ( ACAT.Lib.Core.PanelManagement.StartupArg startupArg ) : bool

Intitialize the class

OnFocusChanged ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : void

Invoked when the focus changes either in the active window or when the active window itself changes.

OnPause ( ) : void

Pauses animations

OnQueryPanelChange ( ACAT.Lib.Core.PanelManagement.PanelRequestEventArgs eventArg ) : bool

Not used

OnResume ( ) : void

Resumes animation

OnWidgetActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget, bool &handled ) : void

Triggered when the user actuates a widget

RestoreDefaults ( ) : void

Restores default zoom and position settings

SaveScaleSetting ( ) : void

Save the current scale setting

SaveSettings ( ) : void

Saves the current zoom settings

ScaleDefault ( ) : void

Sets the default scale factor

ScaleDown ( ) : void

Zooms out the scanner

ScaleUp ( ) : void

Zooms in the scanner

SetTargetControl ( Form parent, ACAT.Lib.Core.WidgetManagement.Widget widget ) : void

Not used

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnFormClosing ( FormClosingEventArgs e ) : void

Form is closing. Release resources

Private Methods

Method Description
AlphabetScanner_FormClosing ( object sender, FormClosingEventArgs e ) : void

Release resources and stop threads/timers

AlphabetScanner_Load ( object sender, EventArgs e ) : void

The form has loaded. Start the animation sequence

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

WndProc ( Message &m ) : void
_alphabetScannerCommon_EvtFormatPreditionWord ( int index, string word ) : string

Handler to format the word prediction words. Add an index number prefix.

Method Details

AlphabetScannerQwerty70Keys() public method

Initializes a new instance of the class.
public AlphabetScannerQwerty70Keys ( ) : System
return System

CheckWidgetEnabled() public method

Invoked to check if a scanner button should be enabled. Uses context to determine the 'enabled' state.
public CheckWidgetEnabled ( ACAT.Lib.Core.AgentManagement.CheckEnabledArgs arg ) : bool
arg ACAT.Lib.Core.AgentManagement.CheckEnabledArgs info about the scanner button
return bool

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

Initialize() public method

Intitialize the class
public Initialize ( ACAT.Lib.Core.PanelManagement.StartupArg startupArg ) : bool
startupArg ACAT.Lib.Core.PanelManagement.StartupArg startup params
return bool

OnFocusChanged() public method

Invoked when the focus changes either in the active window or when the active window itself changes.
public OnFocusChanged ( ACAT.Lib.Core.Utility.WindowActivityMonitorInfo monitorInfo ) : void
monitorInfo ACAT.Lib.Core.Utility.WindowActivityMonitorInfo Info about focused element
return void

OnFormClosing() protected method

Form is closing. Release resources
protected OnFormClosing ( FormClosingEventArgs e ) : void
e System.Windows.Forms.FormClosingEventArgs closing param
return void

OnPause() public method

Pauses animations
public OnPause ( ) : void
return void

OnQueryPanelChange() public method

Not used
public OnQueryPanelChange ( ACAT.Lib.Core.PanelManagement.PanelRequestEventArgs eventArg ) : bool
eventArg ACAT.Lib.Core.PanelManagement.PanelRequestEventArgs
return bool

OnResume() public method

Resumes animation
public OnResume ( ) : void
return void

OnWidgetActuated() public method

Triggered when the user actuates a widget
public OnWidgetActuated ( ACAT.Lib.Core.WidgetManagement.Widget widget, bool &handled ) : void
widget ACAT.Lib.Core.WidgetManagement.Widget widget actuated
handled bool was this handled?
return void

RestoreDefaults() public method

Restores default zoom and position settings
public RestoreDefaults ( ) : void
return void

SaveScaleSetting() public method

Save the current scale setting
public SaveScaleSetting ( ) : void
return void

SaveSettings() public method

Saves the current zoom settings
public SaveSettings ( ) : void
return void

ScaleDefault() public method

Sets the default scale factor
public ScaleDefault ( ) : void
return void

ScaleDown() public method

Zooms out the scanner
public ScaleDown ( ) : void
return void

ScaleUp() public method

Zooms in the scanner
public ScaleUp ( ) : void
return void

SetTargetControl() public method

Not used
public SetTargetControl ( Form parent, ACAT.Lib.Core.WidgetManagement.Widget widget ) : void
parent System.Windows.Forms.Form
widget ACAT.Lib.Core.WidgetManagement.Widget
return void