System Tree

System Tree component is designed to allow widget operators managing a part of Iotellect Server context tree.

More information on what this component looks like and behaves may be found here.

This is what a System Tree looks like:

Common Properties

Width, Height, Bindings, Enabled, Visible, Border

Custom Properties

Root

Defines a path of a context that will use a root of a context subtree displayed by the System Tree component.

Property name: root

Property type: String

Show Toolbar

Defines whether System Tree toolbar is visible.

Property name: showToolbar

Property type: Boolean

Context Menu

Defines whether Context Menu is visible.

Property name: contextMenu

Property type: Boolean

Defines visibility and position of Related Actions pane: Hidden, Bottom or Right.

Property name: relatedActions

Property type: Integer

Common Events

Hidden, Shown, Moved, Resized, Mouse Clicked, Mouse Pressed, Mouse Released, Mouse Entered, Mouse Exited, Mouse Moved, Mouse Wheel Moved, Key Typed, Key Pressed, Key Released, Focus Gained, Focus Lost

Custom Events

Tree Selection

This event is fired when some tree nodes are selected or unselected.

Event name: treeSelection

Event fields:

Field

Name

Type

Description

Is Added

isAdded

Boolean

True if the first path element has been added to the selection, false if the first path has been removed from the selection.

Local Path

localPath

String

System Tree's local path of a node added/removed from selection.

Remote Path

remotePath

String

Remote server's context path of a node added/removed from selection.

Selection

selection

Data Table

A list of currently selected nodes, with two fields:

  • localSelectionPath (String) - System Tree's local path of a selected node.
  • remoteSelectionPath (String) - Remote server's context path of a selected node.

Was this page helpful?