EasyUA Reference
ShowBrowseTree Class Members
See Also  Properties  Methods  Events Send Feedback
EasyUA Assembly > Advosol.EasyUA Namespace : ShowBrowseTree Class

Glossary Item Box

The following tables list the members exposed by ShowBrowseTree.

Public Constructors

 NameDescription
Public ConstructorShowBrowseTree Constructor Constructor. An object is created for the given OPC server and the Forms TreeView control. No OPC server access is done in this constructor. The Show() method needs to be called to have the server browsed and the result displayed in the specified control.  
Top

Public Properties

 NameDescription
Public PropertyBrowseModeOneLevelIf true the the server browsing is done on demand. Initially only one level is browsed. Child nodes are browsed from the TreeView event handler when a yet unbrowsed node is selected. If false then the whole server tree structure is browsed and a corresponding TreeNode structure is built.
NOTE: With complex servers this may take a long time.  
Public PropertyDoNotSort Nodes are alphabetically sorted. If TRUE the sorting is diabled and the nodes are in the order as returned by the server.  
Public PropertyImageIndexBranch Index of the image displayed for a node  
Public PropertyImageIndexBranchSelected Index of the image displayed for the selected node  
Public PropertyImageIndexItem Base Index of the image group the item identification. The item accessRight code is added and the image with this index is displayed.  
Public PropertyImageList Image list used in the BrowsTree  
Public PropertyIncludeTypesInBrowse Determines whether a browse from the root includes the Types Folder  
Public PropertyIncludeViewsInBrowse Determines whether a browse from the root includes the Views Folder  
Public PropertyItemCodeIndexCode used to identify node classes in TreeNode.ImageIndex
The isObjectNode method uses the definition to find the type of the node.
Default: Item: >= 2
 
Public PropertyItemTree The browsed TreeNode structure  
Public PropertyShowHDaccessRights if true show HD access rigths instead of DA access rights  
Top

Public Methods

 NameDescription
Public MethodAsyncShow Asynchnonously browses the server and displays the nodes hierarchically in a TreeView control.  
Public MethodDispose The underlying BrowseTree object is released and the event handler for the associated TreeView dialog is uninstalled.  
Public MethodGetNodeId Returns the UA NodeId of the specified TreeView node.  
Public MethodGetSelectedTreeViewNode Returns the NodeId of the node currently selected in the TreeView  
Public MethodisObjectNode Get the NodeId of the UA node of the specified TreeView node.  
Public MethodRefreshSelectedNode The currently selected node is refreshed from the server by executing a browse for forward references.  
Public MethodreInit Re-init the object and install the TreeView mouse-down handler.  
Public MethodShow Browses the server and displays the nodes hierarchically in a TreeView control.  
Public MethodShowImageList Show all images defined in the associated ImageList  
Public MethodUnlinkTreeview Unlink the this object form the TreeView dialog.  
Top

Public Events

 NameDescription
Public EventreportBrowseError This handler is called in the TreeView mouse event handler when an error happens in the server browse access.  
Top

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.