{"id":"ui--yuiTreeNode","name":"yuiTreeNode","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiTreeNode","description":"A yui tree node record carrying id, parentId, componentName, componentRole, properties, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"id","kind":"field","type":"text","description":"Stores id as text.","signature":"text id","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"parentId","kind":"field","type":"text","description":"Stores parent id as text.","signature":"text parentId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"componentName","kind":"field","type":"text","description":"Stores component name as text.","signature":"text componentName","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"componentRole","kind":"field","type":"text","description":"Stores component role as text.","signature":"text componentRole","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"properties","kind":"field","type":"text","description":"Stores properties as text.","signature":"text properties","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"order","kind":"field","type":"int","description":"Stores order as int.","signature":"int order","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"visible","kind":"field","type":"bool","description":"Stores visible as bool.","signature":"bool visible","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"enabled","kind":"field","type":"bool","description":"Stores enabled as bool.","signature":"bool enabled","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"mounted","kind":"field","type":"bool","description":"Stores mounted as bool.","signature":"bool mounted","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"disposed","kind":"field","type":"bool","description":"Stores disposed as bool.","signature":"bool disposed","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiTreeNode","kind":"constructor","parameters":[{"name":"id","type":"text","description":"Id."},{"name":"parentId","type":"text","description":"Parent id."},{"name":"component","type":"yuiComponentMetadata","description":"Component."},{"name":"properties","type":"text","description":"Properties."},{"name":"order","type":"int","description":"Order."}],"returns":"void","signature":"yuiTreeNode(text id, text parentId, yuiComponentMetadata component, text properties, int order)","description":"Yui tree node.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-11","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/tree-tree.yh","line":5,"sha256":"5241bbc4206e7b99a9a11144722a81e0fe7e09dcaf5a43c2146b7324624c5cbc"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use yuiTreeNode","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using ui\n\n// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.\nyuiTreeNode sample = yuiTreeNode(\"id\", \"parent Id\", yuiComponentMetadata(\"Nova\", \"role\", \"property Schema\", \"child Rule\", \"defaults\", \"example\", \"design Label\", true), \"properties\", 1)\nConsole.Log(Text.From(sample.id))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuitreenode\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"5c2b8c22354f7963a5692b811558fe07300d635146f1f7ebb7479f3f089fe24a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-11","title":"yuiTreeNode.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Describe.\nyuiTreeNode instance = yuiTreeNode(\"id\", \"parent Id\", yuiComponentMetadata(\"Nova\", \"role\", \"property Schema\", \"child Rule\", \"defaults\", \"example\", \"design Label\", true), \"properties\", 1)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuitreenode\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/text\"\n\n[[dependencies]]\npackage = \"host.ui_services\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/host/ui_services\"\n\n[[dependencies]]\npackage = \"ui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/ui\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"bcfb6c25ed954566dd2868d454a857efdd043500d2276a8a28e2eb3683928d52","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["id","parentId","componentName","componentRole","properties","order","visible","enabled","mounted","disposed","yuiTreeNode","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiTreeNode","json":"https://demonhunterlabs.com/reference/items/ui--yuiTreeNode.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiTreeNode.md"}
