Namespace: Consultingwerk.Windows.Controls
Class 
JsonEditorControl Copy to Clipboard
Parent classes:
Inherits: Progress.Windows.UserControl

File:JsonEditorControl
Purpose:User control for editing json files
Author(s):Sebastian Wandel / Consultingwerk Ltd.
Created:Wed Jun 02 13:33:31 CEST 2021



Top Method Summary
Options Name Purpose
# Format () Formats the current editor content
- InitializeComponent () Initializes the Visual Design
# InitializeTimer () Initializes the Timer Component
# OpenFile () Opens a json file
# SaveAs () Saves the current editor content to a json file
# StartTimer () Activates the Validation Timer Component
- ultraTextEditor1_KeyPress (Object, KeyPressEventArgs) Event Handler for the KeyPress event of the ultraTextEditor
- ultraToolbarsManager1_ToolClick (Object, ToolClickEventArgs) Handler for the ToolClick event of the toolbar
# ValidateEditorContent () Parses the current content of the editor, error messages are displayed in the label.
# ValidationTimerTick (Object, EventArgs) Event Handler for the Tick event of the Validation Timer Component

Top Constructor Summary
Options Name Purpose
+ JsonEditorControl () Constructor for the JsonEditorControl class

Top Property Summary
Options Name Purpose
+ CHARACTER EditorText
+ Progress.Json.ObjectModel.JsonConstruct Json
+ Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarManger
+ Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager
+ INTEGER ValidationTimerDelay
+ LOGICAL ValidationTimerDisabled


Method Detail
Top

PROTECTED Format ()

Purpose: Formats the current editor content
Notes:

Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PROTECTED InitializeTimer ()

Purpose: Initializes the Timer Component
Notes:

Top

PROTECTED OpenFile ()

Purpose: Opens a json file
Notes:

Top

PROTECTED SaveAs ()

Purpose: Saves the current editor content to a json file
Notes:

Top

PROTECTED StartTimer ()

Purpose: Activates the Validation Timer Component
Notes:

Top

PRIVATE ultraTextEditor1_KeyPress (Object, KeyPressEventArgs)

Purpose: Event Handler for the KeyPress event of the ultraTextEditor
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.Windows.Forms.KeyPressEventArgs
The System.Windows.Forms.KeyPressEventArgs with the data for this event
Top

PRIVATE ultraToolbarsManager1_ToolClick (Object, ToolClickEventArgs)

Purpose: Handler for the ToolClick event of the toolbar
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e Infragistics.Win.UltraWinToolbars.ToolClickEventArgs
The ToolClickEventArgs with the data for this event
Top

PROTECTED ValidateEditorContent ()

Purpose: Parses the current content of the editor, error messages are displayed in the label.
Notes:

Top

PROTECTED ValidationTimerTick (Object, EventArgs)

Purpose: Event Handler for the Tick event of the Validation Timer Component
Notes:

Parameters:
sender System.Object
The reference to the object that raised the event
e System.EventArgs
The System.EventArgs with the data for this event


Constructor Detail
Top

PUBLIC JsonEditorControl ()

Purpose: Constructor for the JsonEditorControl class
Notes:



Property Detail
Top

PUBLIC CHARACTER EditorText


Returns CHARACTER
Top

PUBLIC Progress.Json.ObjectModel.JsonConstruct Json


Returns Progress.Json.ObjectModel.JsonConstruct
Top

PUBLIC Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarManger


Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
Top

PUBLIC Infragistics.Win.UltraWinToolbars.UltraToolbarsManager ToolbarsManager


Returns Infragistics.Win.UltraWinToolbars.UltraToolbarsManager
Top

PUBLIC INTEGER ValidationTimerDelay


Returns INTEGER
Top

PUBLIC LOGICAL ValidationTimerDisabled


Returns LOGICAL


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:18:09