{"id":"ui--yuiRetainedOwnerFragment","name":"yuiRetainedOwnerFragment","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiRetainedOwnerFragment","description":"A yui retained owner fragment record carrying ownerId, generation, zOrder, layoutBounds, inkBounds, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"ownerId","kind":"field","type":"text","description":"Stores owner id as text.","signature":"text ownerId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"generation","kind":"field","type":"int","description":"Stores generation as int.","signature":"int generation","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"zOrder","kind":"field","type":"int","description":"Stores z order as int.","signature":"int zOrder","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"layoutBounds","kind":"field","type":"yuiRenderBounds","description":"Stores layout bounds as yuiRenderBounds.","signature":"yuiRenderBounds layoutBounds","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"inkBounds","kind":"field","type":"yuiRenderBounds","description":"Stores ink bounds as yuiRenderBounds.","signature":"yuiRenderBounds inkBounds","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"dependencies","kind":"field","type":"yuiFragmentDependencySignature","description":"Stores dependencies as yuiFragmentDependencySignature.","signature":"yuiFragmentDependencySignature dependencies","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"commands","kind":"field","type":"list of yuiDisplayCommand","description":"Stores commands as list of yuiDisplayCommand.","signature":"list of yuiDisplayCommand commands","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiRetainedOwnerFragment","kind":"constructor","parameters":[{"name":"ownerId","type":"text","description":"Owner id."},{"name":"generation","type":"int","description":"Generation."},{"name":"zOrder","type":"int","description":"Z order."},{"name":"layoutBounds","type":"yuiRenderBounds","description":"Layout bounds."},{"name":"inkBounds","type":"yuiRenderBounds","description":"Ink bounds."},{"name":"dependencies","type":"yuiFragmentDependencySignature","description":"Dependencies."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"yuiRetainedOwnerFragment(text ownerId, int generation, int zOrder, yuiRenderBounds layoutBounds, yuiRenderBounds inkBounds, yuiFragmentDependencySignature dependencies, text source)","description":"Yui retained owner fragment.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"AddCommand","kind":"method","parameters":[{"name":"command","type":"yuiDisplayCommand","description":"Command."}],"returns":"bool","signature":"AddCommand(yuiDisplayCommand command) returns bool","description":"Add command.","tags":["thing","method","ui"],"exampleId":"method-AddCommand-9","updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","ui"],"exampleId":"method-ValidationIssue-10","updated":"2026-09-09"},{"name":"CommandEquivalent","kind":"method","parameters":[{"name":"candidate","type":"yuiRetainedOwnerFragment","description":"Candidate."}],"returns":"bool","signature":"CommandEquivalent(yuiRetainedOwnerFragment candidate) returns bool","description":"Command equivalent.","tags":["thing","method","ui"],"exampleId":"method-CommandEquivalent-11","updated":"2026-09-09"},{"name":"CompositeCompatible","kind":"method","parameters":[{"name":"candidate","type":"yuiRetainedOwnerFragment","description":"Candidate."}],"returns":"bool","signature":"CompositeCompatible(yuiRetainedOwnerFragment candidate) returns bool","description":"Composite compatible.","tags":["thing","method","ui"],"exampleId":"method-CompositeCompatible-12","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/render-50-retained-fragments.yh","line":150,"sha256":"1062403654e37b95d0b190990ad54290638b64d047aa164ee82220bd91ac0674"},"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 yuiRetainedOwnerFragment","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.\nyuiRetainedOwnerFragment sample = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nConsole.Log(Text.From(sample.ownerId))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedownerfragment\"\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":"43456c6b5eed7cb6be7761156fd61ee3152786d7ce152330e1e07ff23dffac84","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddCommand-9","title":"yuiRetainedOwnerFragment.AddCommand","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Add command.\nyuiRetainedOwnerFragment instance = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nyuiDisplayCommand argument_command = yuiDisplayCommand(1, \"owner Id\", \"kind\", \"layer Id\", \"target Id\", \"resource Id\", \"paint Id\", \"clip Id\", \"transform Id\", yuiRenderBounds(1, 1, 1, 1), \"semantic Role\", \"content\")\nbool result = instance.AddCommand(argument_command)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedownerfragment\"\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":"8c0920d1cc179c176a86d7cf8fe0e8b681dd66d568cd85e1187badeaa974f805","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-10","title":"yuiRetainedOwnerFragment.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Validation issue.\nyuiRetainedOwnerFragment instance = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedownerfragment\"\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":"f9df38fded6d3c0e95201c5def5661efe85de93818dfa22c64b6d5749778e74a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CommandEquivalent-11","title":"yuiRetainedOwnerFragment.CommandEquivalent","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Command equivalent.\nyuiRetainedOwnerFragment instance = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nyuiRetainedOwnerFragment argument_candidate = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nbool result = instance.CommandEquivalent(argument_candidate)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedownerfragment\"\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":"f1183d99d8a85bee5ad93b0755d23e11686cb9d5293f3196871146dcfb45e215","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CompositeCompatible-12","title":"yuiRetainedOwnerFragment.CompositeCompatible","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Composite compatible.\nyuiRetainedOwnerFragment instance = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nyuiRetainedOwnerFragment argument_candidate = yuiRetainedOwnerFragment(\"owner Id\", 1, 1, yuiRenderBounds(1, 1, 1, 1), yuiRenderBounds(1, 1, 1, 1), yuiFragmentDependencySignature(\"layout Key\", \"paint Key\", \"resource Key\", \"motion Key\", \"composite Key\", \"example\"), \"example\")\nbool result = instance.CompositeCompatible(argument_candidate)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuiretainedownerfragment\"\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":"1159ce168b48ec176674bbde0633041fa747e41ccabe92bdf0a45e0580983afe","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["ownerId","generation","zOrder","layoutBounds","inkBounds","dependencies","commands","source","yuiRetainedOwnerFragment","AddCommand","ValidationIssue","CommandEquivalent","CompositeCompatible"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiRetainedOwnerFragment","json":"https://demonhunterlabs.com/reference/items/ui--yuiRetainedOwnerFragment.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiRetainedOwnerFragment.md"}
