public class TreeNode:
Node used by TreeModel and TreeView.
root = TreeNode("Database", "DB", "root")
root.add(TreeNode("Users", "T", "table"))| Modifier and Type | Member | Description |
|---|---|---|
| public property | children | Child nodes. |
| public readonly property | hasChildrenhasChildren as Boolean: |
Whether this node owns at least one child. |
| public property | iconicon as String |
Short optional icon text displayed before text. |
| public property | isExpandedisExpanded as Boolean |
Whether child nodes are visible. |
| public property | kindkind as String |
Optional application-defined kind. |
| public property | texttext as String |
Display text shown in the tree row. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | TreeNode | Creates a tree node. |