Search
NodeListView Members
Constructors Properties Methods Events
 


A list view control that hosts DiagramNodes and supports drag-and-drop to DiagramView.

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

 Public Constructors

  Name Description

NodeListView

Creates an instance of NodeListView

 Public Properties

  Name Description

backColor

Gets or sets the background color of the control.

defaultNodeSize

Gets or sets the default size of nodes created after dragging from this list view.

draggedItem

Gets the currently dragged item. (Inherited from ListViewBase.)

draggedNode

Gets the currently dragged node from this list view.

element

Returns a reference to the control's DOM element. (Inherited from Control.)

enabled

Gets or sets whether mouse events are enabled. (Inherited from Control.)

iconSize

Gets or sets the size of nodes displayed in this list view.

items

Gets the items contained in this list view. (Inherited from ListViewBase.)

licenseLocation

Gets or sets the location of the license key file. (Inherited from Control.)

measureUnit

Gets the unit of measure used for logical coordinates. (Inherited from CanvasControl.)

newInstanceSize

Gets or sets the default size of items created by drag-and-drop from this list view. (Inherited from ListViewBase.)

nodes

Gets the nodes contained in this NodeListView.

orientation

Gets or sets the orientation of the view layout.

padding

Gets or sets the padding space between the NodeListView control and its contents.

shapeLibraryLocation

Gets the location of a shape library file containing custom shape definitions.It can be set to a full URL of the file, or a relative file path.

textColor

Gets or sets the color used to paint text in the NodeListView control.

tooltipDelay

Gets or sets the delay before a tooltip is shown.

 Public Methods

  Name Description

addEventListener

Registers a single event listener on the instance. (Inherited from Disposable.)

addHandlers

Adds an event listener to a DOM element. (Inherited from Control.)

addItem

Adds an item to the list view. (Inherited from ListViewBase.)

addNode

Adds a node to the NodeListView.

clearAll

Removes all items from the NodeListView.

clearHandlers

Removes all event listeners from a DOM element. (Inherited from Control.)

clientToDoc

Transforms a point from client to document coordinates. (Inherited from CanvasControl.)

create

Creates and initializes a new NodeListView from the specified element. This method is static and can be called without creating an instance of the class.

docToClient

Transforms a point from document to client coordinates. (Inherited from CanvasControl.)

find

Returns the specified NodeListView object. This member is static and can be invoked without creating an instance of the class.

fromJson

Constructs a JavaScript object from a JSON string. (Inherited from Control.)

getItemAt

Gets the item at the specified location. (Inherited from ListViewBase.)

getNodeAt

Gets the item at the specified location.

raiseEvent

Raises an event. (Inherited from Disposable.)

registerForSubmit

Registers an onsubmit handler for the Control's parent html form to flush postback data. (Inherited from Control.)

removeEventListener

Removes a single event listener attached to the instance. (Inherited from Disposable.)

removeItem

Removes an item from the list view. (Inherited from ListViewBase.)

removeNode

Removes a node from the list view.

selectItem

Selects the specified item.

selectItem

Selects the specified item. (Inherited from ListViewBase.)

toJson

Converts a JavaScript object to a JSON string. (Inherited from Control.)

 Public Events

  Name Description

linkSelected

Raised when a link is selected, either programmatically or by the user. (Inherited from ListViewBase.)

nodeSelected

Raised when a node is selected, either programmatically or by the user.

shapeLibraryLoaded

Raised when a ShapeLibrary is loaded from shapeLibraryLocation.

 See Also