Creates a new TreeViewNode instance at the specified position with the specified size and adds it to the Nodes collection of the underlying diagram. The method creates a treeview node at the position specified by x and y. The size of the node is set by width and height.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public TreeViewNode createTreeViewNode ( |
The x-coordinate of the upper-left corner of the new node.
The y-coordinate of the upper-left corner of the new node.
The width of the new node.
The height of the new node.
The newly created TreeViewNode instance.