{"id":"ui--yuiFocusEntry","name":"yuiFocusEntry","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiFocusEntry","description":"A yui focus entry record carrying nodeId, scopeId, tabOrder, x, y, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"nodeId","kind":"field","type":"text","description":"Stores node id as text.","signature":"text nodeId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"scopeId","kind":"field","type":"text","description":"Stores scope id as text.","signature":"text scopeId","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"tabOrder","kind":"field","type":"int","description":"Stores tab order as int.","signature":"int tabOrder","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"x","kind":"field","type":"int","description":"Stores x as int.","signature":"int x","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"y","kind":"field","type":"int","description":"Stores y as int.","signature":"int y","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"width","kind":"field","type":"int","description":"Stores width as int.","signature":"int width","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"height","kind":"field","type":"int","description":"Stores height as int.","signature":"int height","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"focusable","kind":"field","type":"bool","description":"Stores focusable as bool.","signature":"bool focusable","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiFocusEntry","kind":"constructor","parameters":[{"name":"nodeId","type":"text","description":"Node id."},{"name":"scopeId","type":"text","description":"Scope id."},{"name":"tabOrder","type":"int","description":"Tab order."},{"name":"x","type":"int","description":"X."},{"name":"y","type":"int","description":"Y."},{"name":"width","type":"int","description":"Width."},{"name":"height","type":"int","description":"Height."},{"name":"focusable","type":"bool","description":"Focusable."}],"returns":"void","signature":"yuiFocusEntry(text nodeId, text scopeId, int tabOrder, int x, int y, int width, int height, bool focusable)","description":"Yui focus entry.","tags":["thing","constructor","ui"],"updated":"2026-09-09"},{"name":"CenterX","kind":"method","parameters":[],"returns":"int","signature":"CenterX() returns int","description":"Center x.","tags":["thing","method","ui"],"exampleId":"method-CenterX-9","updated":"2026-09-09"},{"name":"CenterY","kind":"method","parameters":[],"returns":"int","signature":"CenterY() returns int","description":"Center y.","tags":["thing","method","ui"],"exampleId":"method-CenterY-10","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/interaction-focus.yh","line":2,"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 yuiFocusEntry","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.\nyuiFocusEntry sample = yuiFocusEntry(\"node Id\", \"scope Id\", 1, 1, 1, 1, 1, true)\nConsole.Log(Text.From(sample.nodeId))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusentry\"\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":"fb9b5d8bf1eff559db15620bc057db577c8798508b81668860e328b5de52db63","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CenterX-9","title":"yuiFocusEntry.CenterX","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Center x.\nyuiFocusEntry instance = yuiFocusEntry(\"node Id\", \"scope Id\", 1, 1, 1, 1, 1, true)\nint result = instance.CenterX()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusentry\"\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":"225c347647e28f1a92c7fd01b8d2f7c3b33cf7f564d083970376fc5b68c06bf9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CenterY-10","title":"yuiFocusEntry.CenterY","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using ui\n\n// Center y.\nyuiFocusEntry instance = yuiFocusEntry(\"node Id\", \"scope Id\", 1, 1, 1, 1, 1, true)\nint result = instance.CenterY()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusentry\"\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":"5a18837433560385e7d00a342b706372689329ea06b04cd2023256af00fb1ede","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-11","title":"yuiFocusEntry.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.\nyuiFocusEntry instance = yuiFocusEntry(\"node Id\", \"scope Id\", 1, 1, 1, 1, 1, true)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuifocusentry\"\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":"bbf541c235a3765779ef375a40d9eff7f36c4946c934cf5076e65ee416e5c806","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["nodeId","scopeId","tabOrder","x","y","width","height","focusable","yuiFocusEntry","CenterX","CenterY","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiFocusEntry","json":"https://demonhunterlabs.com/reference/items/ui--yuiFocusEntry.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiFocusEntry.md"}
