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

File:JSONObjectViewerControl
Purpose:Reads a Json Construct and Visualizes the content in a
TreeView
Author(s):Mark Bartscherer / Consultingwerk Ltd.
Created:Tue Nov 29 18:28:35 CET 2016



Top Method Summary
Options Name Purpose
+ DisplayJsonObject (JsonConstruct) Visializes an Json Construct in a TreeView
+ DisplayJsonObject (JsonConstruct, logical) Visializes an Json Construct in a TreeView
- InitializeComponent () Initializes the Visual Design
- InitTreeHelper () Initializes the TreeView and the UltraTreeColumnResizeHelper
- WalkthroughJSON (UltraTreeNode, JsonArray) Reads an JsonArray and adds a TreeNode for each of it's elements
- WalkthroughJSON (UltraTreeNode, JsonObject) Reads an JsonObject and adds a TreeNode for each of it's elements

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


Method Detail
Top

PUBLIC DisplayJsonObject (JsonConstruct)

Purpose: Visializes an Json Construct in a TreeView
Notes:

Parameters:
poJsonObject Progress.Json.ObjectModel.JsonConstruct
The JsonConstruct to visualize
Top

PUBLIC DisplayJsonObject (JsonConstruct, logical)

Purpose: Visializes an Json Construct in a TreeView
Notes:

Parameters:
poJsonObject Progress.Json.ObjectModel.JsonConstruct
The JsonObject to visualize
plHideSerializeType LOGICAL
Switch to Show/Hide the Consultingwerk Serialize Attribute in Json objects
Top

PRIVATE InitializeComponent ()

Purpose: Initializes the Visual Design
Notes:

Top

PRIVATE InitTreeHelper ()

Purpose: Initializes the TreeView and the UltraTreeColumnResizeHelper
Notes:

Top

PRIVATE WalkthroughJSON (UltraTreeNode, JsonArray)

Purpose: Reads an JsonArray and adds a TreeNode for each of it's elements
Notes:

Parameters:
poParentNode Infragistics.Win.UltraWinTree.UltraTreeNode
Object reference to the Parent TreeNode
poJsonArray Progress.Json.ObjectModel.JsonArray
Object reference of the current JsonArray object
Top

PRIVATE WalkthroughJSON (UltraTreeNode, JsonObject)

Purpose: Reads an JsonObject and adds a TreeNode for each of it's elements
Notes:

Parameters:
poParentNode Infragistics.Win.UltraWinTree.UltraTreeNode
Object reference to the Parent TreeNode
poJsonObject Progress.Json.ObjectModel.JsonObject
Object reference of the current JsonObject object


Constructor Detail
Top

PUBLIC JSONObjectViewerControl ()

Purpose: Constructor for the BusinessEntityDesignerForm class
Notes:



©2006-2020 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       04.02.2020 23:50:36