{"id":"ui--yuiFocusModel","name":"yuiFocusModel","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiFocusModel","description":"A yui focus model record carrying entries, scopes, focusedNodeId, previousFocusedNodeId, activeScopeId, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"entries","kind":"field","type":"list of yuiFocusEntry","description":"Stores entries as list of yuiFocusEntry.","signature":"list of yuiFocusEntry entries","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"scopes","kind":"field","type":"list of yuiFocusScope","description":"Stores scopes as list of yuiFocusScope.","signature":"list of yuiFocusScope scopes","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"focusedNodeId","kind":"field","type":"text","description":"Stores focused node id as text.","signature":"text focusedNodeId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"previousFocusedNodeId","kind":"field","type":"text","description":"Stores previous focused node id as text.","signature":"text previousFocusedNodeId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"activeScopeId","kind":"field","type":"text","description":"Stores active scope id as text.","signature":"text activeScopeId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"focusVisible","kind":"field","type":"bool","description":"Stores focus visible as bool.","signature":"bool focusVisible","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiFocusModel","kind":"constructor","parameters":[],"returns":"void","signature":"yuiFocusModel()","description":"Yui focus model.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"EntryIndex","kind":"method","parameters":[{"name":"nodeId","type":"text","description":"Node id."}],"returns":"int","signature":"EntryIndex(text nodeId) returns int","description":"Entry index.","tags":["thing","method","ui"],"exampleId":"method-EntryIndex-8","updated":"2026-09-09"},{"name":"ScopeIndex","kind":"method","parameters":[{"name":"scopeId","type":"text","description":"Scope id."}],"returns":"int","signature":"ScopeIndex(text scopeId) returns int","description":"Scope index.","tags":["thing","method","ui"],"exampleId":"method-ScopeIndex-9","updated":"2026-09-09"},{"name":"AddEntry","kind":"method","parameters":[{"name":"entry","type":"yuiFocusEntry","description":"Entry."}],"returns":"bool","signature":"AddEntry(yuiFocusEntry entry) returns bool","description":"Add entry.","tags":["thing","method","ui"],"exampleId":"method-AddEntry-10","updated":"2026-09-09"},{"name":"AddScope","kind":"method","parameters":[{"name":"scope","type":"yuiFocusScope","description":"Scope."}],"returns":"bool","signature":"AddScope(yuiFocusScope scope) returns bool","description":"Add scope.","tags":["thing","method","ui"],"exampleId":"method-AddScope-11","updated":"2026-09-09"},{"name":"EntryAvailable","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."},{"name":"index","type":"int","description":"Index."}],"returns":"bool","signature":"EntryAvailable(yuiTree tree, int index) returns bool","description":"Entry available.","tags":["thing","method","ui"],"exampleId":"method-EntryAvailable-12","updated":"2026-09-09"},{"name":"SetFocus","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."},{"name":"nodeId","type":"text","description":"Node id."},{"name":"keyboardVisible","type":"bool","description":"Keyboard visible."}],"returns":"bool","signature":"SetFocus(yuiTree tree, text nodeId, bool keyboardVisible) returns bool","description":"Set focus.","tags":["thing","method","ui"],"exampleId":"method-SetFocus-13","updated":"2026-09-09"},{"name":"ClearFocus","kind":"method","parameters":[],"returns":"void","signature":"ClearFocus()","description":"Clear focus.","tags":["thing","method","ui"],"exampleId":"method-ClearFocus-14","updated":"2026-09-09"},{"name":"Reconcile","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."}],"returns":"void","signature":"Reconcile(yuiTree tree)","description":"Reconcile.","tags":["thing","method","ui"],"exampleId":"method-Reconcile-15","updated":"2026-09-09"},{"name":"CandidateAfter","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."},{"name":"currentIndex","type":"int","description":"Current index."},{"name":"direction","type":"int","description":"Direction."}],"returns":"int","signature":"CandidateAfter(yuiTree tree, int currentIndex, int direction) returns int","description":"Candidate after.","tags":["thing","method","ui"],"exampleId":"method-CandidateAfter-16","updated":"2026-09-09"},{"name":"BoundaryCandidate","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."},{"name":"direction","type":"int","description":"Direction."}],"returns":"int","signature":"BoundaryCandidate(yuiTree tree, int direction) returns int","description":"Boundary candidate.","tags":["thing","method","ui"],"exampleId":"method-BoundaryCandidate-17","updated":"2026-09-09"},{"name":"ActiveScopeWraps","kind":"method","parameters":[],"returns":"bool","signature":"ActiveScopeWraps() returns bool","description":"Active scope wraps.","tags":["thing","method","ui"],"exampleId":"method-ActiveScopeWraps-18","updated":"2026-09-09"},{"name":"MoveTab","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."},{"name":"direction","type":"int","description":"Direction."}],"returns":"bool","signature":"MoveTab(yuiTree tree, int direction) returns bool","description":"Move tab.","tags":["thing","method","ui"],"exampleId":"method-MoveTab-19","updated":"2026-09-09"},{"name":"DirectionCandidate","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."},{"name":"direction","type":"text","description":"Direction."}],"returns":"int","signature":"DirectionCandidate(yuiTree tree, text direction) returns int","description":"Direction candidate.","tags":["thing","method","ui"],"exampleId":"method-DirectionCandidate-20","updated":"2026-09-09"},{"name":"MoveDirection","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."},{"name":"direction","type":"text","description":"Direction."}],"returns":"bool","signature":"MoveDirection(yuiTree tree, text direction) returns bool","description":"Move direction.","tags":["thing","method","ui"],"exampleId":"method-MoveDirection-21","updated":"2026-09-09"},{"name":"EnterScope","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."},{"name":"scopeId","type":"text","description":"Scope id."}],"returns":"bool","signature":"EnterScope(yuiTree tree, text scopeId) returns bool","description":"Enter scope.","tags":["thing","method","ui"],"exampleId":"method-EnterScope-22","updated":"2026-09-09"},{"name":"LeaveScope","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."}],"returns":"bool","signature":"LeaveScope(yuiTree tree) returns bool","description":"Leave scope.","tags":["thing","method","ui"],"exampleId":"method-LeaveScope-23","updated":"2026-09-09"},{"name":"HandleEscape","kind":"method","parameters":[{"name":"tree","type":"yuiTree","description":"Tree."}],"returns":"bool","signature":"HandleEscape(yuiTree tree) returns bool","description":"Handle escape.","tags":["thing","method","ui"],"exampleId":"method-HandleEscape-24","updated":"2026-09-09"},{"name":"RenderFocusReport","kind":"method","parameters":[],"returns":"text","signature":"RenderFocusReport() returns text","description":"Render focus report.","tags":["thing","method","ui"],"exampleId":"method-RenderFocusReport-25","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/interaction-focus.yh","line":64,"sha256":"93a7821db0efcb10676701855cad400a9b00d3bbeee4cc79518df0984d173f6f"},"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 yuiFocusModel","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.\nyuiFocusModel sample = yuiFocusModel()\nConsole.Log(Text.From(sample.focusedNodeId))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"7e5467aebf9c0ac1d8528c2777aedc405dc8476196e37b246f0dad5ddde7bdac","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-EntryIndex-8","title":"yuiFocusModel.EntryIndex","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Entry index.\nyuiFocusModel instance = yuiFocusModel()\ntext argument_nodeId = \"argument node Id\"\nint result = instance.EntryIndex(argument_nodeId)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"e58be858a6123c5e6cf8b1434b994c65ba7e9c2dd844a793da8468f92877a214","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ScopeIndex-9","title":"yuiFocusModel.ScopeIndex","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Scope index.\nyuiFocusModel instance = yuiFocusModel()\ntext argument_scopeId = \"argument scope Id\"\nint result = instance.ScopeIndex(argument_scopeId)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"c20fbaefc5c9e35b9ca8f39a60593f9bbfc78019d94824c5a4cb21322b5eb683","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddEntry-10","title":"yuiFocusModel.AddEntry","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Add entry.\nyuiFocusModel instance = yuiFocusModel()\nyuiFocusEntry argument_entry = yuiFocusEntry(\"node Id\", \"scope Id\", 1, 1, 1, 1, 1, true)\nbool result = instance.AddEntry(argument_entry)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"6145c805485b18599adf0e8698adf6acc4ebc488477b2f164fd8ca9709dca89c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-AddScope-11","title":"yuiFocusModel.AddScope","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Add scope.\nyuiFocusModel instance = yuiFocusModel()\nyuiFocusScope argument_scope = yuiFocusScope(\"id\", \"root Node Id\", true, true)\nbool result = instance.AddScope(argument_scope)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"adffc6db97314034a073f71ba5854822cd3652b33671a9c1bdab79b559a9505c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-EntryAvailable-12","title":"yuiFocusModel.EntryAvailable","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Entry available.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\nint argument_index = 1\nbool result = instance.EntryAvailable(argument_tree, argument_index)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"43726b16df56684237334dd6d0f60249f3e6360b760663cc5de02bbe30af3145","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-SetFocus-13","title":"yuiFocusModel.SetFocus","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Set focus.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\ntext argument_nodeId = \"argument node Id\"\nbool argument_keyboardVisible = true\nbool result = instance.SetFocus(argument_tree, argument_nodeId, argument_keyboardVisible)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"ec042b49861b0b3e799b0dd3a2e6c5886d5f46e85860a07be9389c6f0aefb4a6","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ClearFocus-14","title":"yuiFocusModel.ClearFocus","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Clear focus.\nyuiFocusModel instance = yuiFocusModel()\ninstance.ClearFocus()\nConsole.Log(\"ClearFocus completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"c3f25577611643bfb7c2743d69adcf970f00bf66f85052a423a8727cad967458","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Reconcile-15","title":"yuiFocusModel.Reconcile","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Reconcile.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\ninstance.Reconcile(argument_tree)\nConsole.Log(\"Reconcile completed\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"d8073e9c97818f27293ea265d9e7cbdd1dace7d296d9965cba64b606940a865b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CandidateAfter-16","title":"yuiFocusModel.CandidateAfter","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Candidate after.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\nint argument_currentIndex = 1\nint argument_direction = 1\nint result = instance.CandidateAfter(argument_tree, argument_currentIndex, argument_direction)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"23d25837564dbb9c677f08dd8ea8e592be048ff373b939d67830d3a5bbd8803b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-BoundaryCandidate-17","title":"yuiFocusModel.BoundaryCandidate","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Boundary candidate.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\nint argument_direction = 1\nint result = instance.BoundaryCandidate(argument_tree, argument_direction)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"5cb1ef5fcb54bc3cafe0adacbf89cff666afa32a6c0b5eac17668d2e5f4ff4dd","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ActiveScopeWraps-18","title":"yuiFocusModel.ActiveScopeWraps","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Active scope wraps.\nyuiFocusModel instance = yuiFocusModel()\nbool result = instance.ActiveScopeWraps()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"dcf5c5a640c664f434f2d07e48937912a2ef1affa8c5ffd7a7f7ebc57b9c6ab4","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MoveTab-19","title":"yuiFocusModel.MoveTab","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Move tab.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\nint argument_direction = 1\nbool result = instance.MoveTab(argument_tree, argument_direction)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"9a7659525f32795d9e7bbe32d5b18b69b11f7d69080ad3345de535a21817a6f1","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-DirectionCandidate-20","title":"yuiFocusModel.DirectionCandidate","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Direction candidate.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\ntext argument_direction = \"argument direction\"\nint result = instance.DirectionCandidate(argument_tree, argument_direction)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"384ee4f9d6d55939d7b87fdcc3f8e4eda0a2e4d6b7f4bbbae2249b35ee4c2c24","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-MoveDirection-21","title":"yuiFocusModel.MoveDirection","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Move direction.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\ntext argument_direction = \"argument direction\"\nbool result = instance.MoveDirection(argument_tree, argument_direction)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"5639d57003e0d7e2940f8a3b06018577f324715e216b05fcbcc4ae836608c422","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-EnterScope-22","title":"yuiFocusModel.EnterScope","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Enter scope.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\ntext argument_scopeId = \"argument scope Id\"\nbool result = instance.EnterScope(argument_tree, argument_scopeId)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"15bb0054412ecbfcc5c334381485a256b2465c2c835f777b99aaabd37fbcb69e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-LeaveScope-23","title":"yuiFocusModel.LeaveScope","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Leave scope.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\nbool result = instance.LeaveScope(argument_tree)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"3a601e007f1fc3830a540f1dfbb53b9b892e49a365d4ea905df4fa3098102981","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-HandleEscape-24","title":"yuiFocusModel.HandleEscape","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Handle escape.\nyuiFocusModel instance = yuiFocusModel()\nyuiTree argument_tree = yuiTree(\"id\")\nbool result = instance.HandleEscape(argument_tree)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"444304d32bd9c9ef700665986496c3b6fdd0cd392e19e1cea2726da5e0437c8b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RenderFocusReport-25","title":"yuiFocusModel.RenderFocusReport","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Render focus report.\nyuiFocusModel instance = yuiFocusModel()\ntext result = instance.RenderFocusReport()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusmodel\"\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":"5715ac18f81b24ab0396e0bb73777b59441f16a41872c7de92f14824e1b05c59","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["entries","scopes","focusedNodeId","previousFocusedNodeId","activeScopeId","focusVisible","diagnostic","yuiFocusModel","EntryIndex","ScopeIndex","AddEntry","AddScope","EntryAvailable","SetFocus","ClearFocus","Reconcile","CandidateAfter","BoundaryCandidate","ActiveScopeWraps","MoveTab","DirectionCandidate","MoveDirection","EnterScope","LeaveScope","HandleEscape","RenderFocusReport"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiFocusModel","json":"https://demonhunterlabs.com/reference/items/ui--yuiFocusModel.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiFocusModel.md"}
