Search
TreeViewNode Methods
 


 Public Methods

  Name Description

acceptLinks

Determines whether the node can be connected with links of the specified type. (Inherited from DiagramNode.)

addCanvasElements

Derived classes must implement this method by adding their graphics primitives to the canvas.elements collection. (Inherited from DiagramItem.)

addItem

Adds a new child item to the specified parent item or to the root items list, if a parent is not specified.

addLabel

Adds a new label to this item. (Inherited from DiagramItem.)

allowDrag

DiagramItem.allowDrag override. (Inherited from DiagramNode.)

animate

Animates the item. (Inherited from DiagramItem.)

attach

Attaches the specified subordinate node to this node, so that when this node is moved, the subordinate follows it. (Inherited from DiagramNode.)

attachTo

Attaches this node to the specified master node so that when the master is moved, the attached node follows it. (Inherited from DiagramNode.)

clone

DiagramNode.clone override.

containsPoint

Checks if the TreeViewNode contains the specified point.

createConnectionPoint

Creates a connection point between this node and the specified link at the specified point.

detach

Detaches this node from its current master node. (Inherited from DiagramNode.)

endDrag

DiagramItem.endDrag override. (Inherited from DiagramNode.)

fromJson

Deserializes this item from a JSON object. (Inherited from DiagramItem.)

fromJson

DiagramNode.fromJson override.

fromObject

Loads the tree view items from a data object.

getAllLinks

Returns all links connected to this node. (Inherited from DiagramNode.)

getIntersection

Calculates the intersection point between the segment defined by the specified point pair and the node's outline. (Inherited from DiagramNode.)

getItemRect

Returns the bounding rectangle of the specified item.

getOutline

Gets an array of points that define the outline of this node shape.

getRepaintBounds

Gets the repaint region for this item, taking into account factors such as pen width, selection handles and shadow. (Inherited from DiagramItem.)

getRotatedBounds

Gets the bounding rectangle of this item when it is rotated. (Inherited from DiagramNode.)

hitTest

Returns the diagram item that contains the specified point. (Inherited from DiagramItem.)

invalidate

Invalidates the region of the canvas, that matches the item's repaint bounds. (Inherited from DiagramItem.)

itemFromPoint

Returns the item that contains the specified point.

loadFromXml

DiagramNode.LoadFromXml override. Loads the node's content from an XML element.

onRemove

Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.)

raiseClicked

Raises an event which notifies that a node has been clicked. (Inherited from DiagramNode.)

raiseDoubleClicked

Raises an event which notifies that a node has been double-clicked. (Inherited from DiagramNode.)

removeCanvasElements

DiagramItem.removeCanvasElements override. (Inherited from DiagramNode.)

removeItem

Removes the specified item from the node.

removeLabel

Removes the specified label from this item. (Inherited from DiagramItem.)

resizeToFitText

Resizes the tree view so that it is large enough to fit the text of its items.

restoreLocationState

DiagramItem.restoreLocationState override. (Inherited from DiagramNode.)

restoreState

DiagramItem.restoreState override. (Inherited from CaptionedNode.)

restoreState

Loads the properties of this diagram item. (Inherited from DiagramItem.)

saveLocationState

DiagramItem.saveLocationState override. (Inherited from DiagramNode.)

saveState

DiagramItem.saveState override. (Inherited from CaptionedNode.)

saveToXml

Saves the node's content into an XML element.

scrollDown

Scrolls the node down.

scrollUp

Scrolls the table's rows up.

setBounds

Sets the rectangle that defines the position of the diagram node. (Inherited from DiagramNode.)

startDrag

Invoked when the user starts dragging this item. (Inherited from DiagramItem.)

toJson

DiagramNode.toJson override.

updateCanvasElements

Derived classes must implement this method to update the item's visual elements. (Inherited from DiagramItem.)

updateDrag

DiagramItem.updateDrag override. (Inherited from DiagramNode.)

 See Also