
183Uitools
Name ◾ — node label (description), displayed next to icon (see below, R/W).
Icon
◾ — node icon image (see below, read/write).
UserObject
◾ — user-dened data storage (see below, read/write).
UserObjectPath
◾ — list of UserObject values for all node ancestors, up to root.
UserData
◾ — regular MATLAB user-dened data storage (read/write).
These properties are essentially inherited from Java Swing’s DefaultMutableTreeNode
class, from which UITreeNode derives. The user is referred to ofcial Swing documenta-
tion
52
or any good Swing book for additional details.
4.2.3 Controlling Tree Nodes
In order to collapse and expand nodes progra ...