MindFusion.Diagramming for JavaScript Programmer's Guide

NodeListView Members

Constructors Methods
 


ListBox control with support for hosting DiagramNodes and dragging them to the Diagram control. Items' labels can be set by assigning them to the Tag property of nodes.

The following tables list the members exposed by the NodeListView type.

 Public Constructors

  Name Description

NodeListView

Creates an instance of NodeListView

 Public Methods

  Name Description

addBox

Adds an item to the Diagram.

addCaption

Adds the specified text at the item with the specified index.

addItem

Ads an item to the NodeListView.

clearAll

Removes all items from the NodeListView.

getBoxAt

Gets the diagram item at the specified location.

getDefaultNodeSize

Gets the default size of the nodes in the list view.

getIconSize

Gets the default size of the nodes in the list view.

getNodes

Gets an array with all DiagramNode-s in this NodeListView.

getPadding

Gets the space between the NodeListView control and its contents.

selectBox

Selects the specified item.

setDefaultNodeSize

Sets the default size of the nodes in the list view.

setIconSize

Sets the default size of the icons in the list view.

setPadding

Sets the space between the NodeListView control and its contents.

 See Also