Represents nodes that can draw hierarchical data.
Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming
Java
![]() |
---|
public class TreeViewNode extends DiagramNode implements RenderTextCallback, InplaceEditable |
The root items displayed in the node can be accessed through the getRootItems method. New items can be added to and removed from the returned collection. The root items can have child items on their own and so on. For more information, refer to the TreeViewItem class.
The text and image displayed in the node caption can be customized through the setCaption and setCaptionImage methods respectively. The scroll position can be manipulated through setScrollPosition.
java.lang.Object
com.mindfusion.diagramming.DiagramItem
com.mindfusion.diagramming.DiagramNode
com.mindfusion.diagramming.TreeViewNode