{"id":"frontend.yui--yuiAuthoredApplicationLayoutPlan","name":"yuiAuthoredApplicationLayoutPlan","owner":"yeho","package":"frontend.yui","kind":"thing","signature":"external thing yuiAuthoredApplicationLayoutPlan","description":"A yui authored application layout plan record carrying x, y, width, height, applicationShell, and related state.","context":"Turn YUI models into a working frontend and its rendering/input adapters.","parameters":[],"returns":"void","members":[{"name":"x","kind":"field","type":"int","description":"Stores x as int.","signature":"int x","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"y","kind":"field","type":"int","description":"Stores y as int.","signature":"int y","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"width","kind":"field","type":"int","description":"Stores width as int.","signature":"int width","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"height","kind":"field","type":"int","description":"Stores height as int.","signature":"int height","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"applicationShell","kind":"field","type":"bool","description":"Stores application shell as bool.","signature":"bool applicationShell","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"cardX","kind":"field","type":"int","description":"Stores card x as int.","signature":"int cardX","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"cardY","kind":"field","type":"int","description":"Stores card y as int.","signature":"int cardY","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"cardWidth","kind":"field","type":"int","description":"Stores card width as int.","signature":"int cardWidth","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"cardHeight","kind":"field","type":"int","description":"Stores card height as int.","signature":"int cardHeight","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"headerHeight","kind":"field","type":"int","description":"Stores header height as int.","signature":"int headerHeight","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"bottomPad","kind":"field","type":"int","description":"Stores bottom pad as int.","signature":"int bottomPad","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"contentRect","kind":"field","type":"yuiLayoutRect","description":"Stores content rect as yuiLayoutRect.","signature":"yuiLayoutRect contentRect","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"rootId","kind":"field","type":"text","description":"Stores root id as text.","signature":"text rootId","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"items","kind":"field","type":"list of yuiLayoutItem","description":"Stores items as list of yuiLayoutItem.","signature":"list of yuiLayoutItem items","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"measured","kind":"field","type":"list of yuiMeasuredLayout","description":"Stores measured as list of yuiMeasuredLayout.","signature":"list of yuiMeasuredLayout measured","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"placements","kind":"field","type":"list of yuiArrangedLayout","description":"Stores placements as list of yuiArrangedLayout.","signature":"list of yuiArrangedLayout placements","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","frontend.yui"],"updated":"2026-09-09"},{"name":"yuiAuthoredApplicationLayoutPlan","kind":"constructor","parameters":[{"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":"applicationShell","type":"bool","description":"Application shell."},{"name":"cardX","type":"int","description":"Card x."},{"name":"cardY","type":"int","description":"Card y."},{"name":"cardWidth","type":"int","description":"Card width."},{"name":"cardHeight","type":"int","description":"Card height."},{"name":"headerHeight","type":"int","description":"Header height."},{"name":"bottomPad","type":"int","description":"Bottom pad."},{"name":"contentRect","type":"yuiLayoutRect","description":"Content rect."},{"name":"rootId","type":"text","description":"Root id."},{"name":"items","type":"list of yuiLayoutItem","description":"Items."},{"name":"measured","type":"list of yuiMeasuredLayout","description":"Measured."},{"name":"placements","type":"list of yuiArrangedLayout","description":"Placements."},{"name":"diagnostic","type":"text","description":"Diagnostic."}],"returns":"void","signature":"yuiAuthoredApplicationLayoutPlan(int x, int y, int width, int height, bool applicationShell, int cardX, int cardY, int cardWidth, int cardHeight, int headerHeight, int bottomPad, yuiLayoutRect contentRect, text rootId, list of yuiLayoutItem items, list of yuiMeasuredLayout measured, list of yuiArrangedLayout placements, text diagnostic)","description":"Yui authored application layout plan.","tags":["thing","constructor","frontend.yui"],"updated":"2026-09-09"},{"name":"PlacementIndex","kind":"method","parameters":[{"name":"nodeId","type":"text","description":"Node id."}],"returns":"int","signature":"PlacementIndex(text nodeId) returns int","description":"Placement index.","tags":["thing","method","frontend.yui"],"exampleId":"method-PlacementIndex-18","updated":"2026-09-09"},{"name":"RenderReport","kind":"method","parameters":[],"returns":"text","signature":"RenderReport() returns text","description":"Render report.","tags":["thing","method","frontend.yui"],"exampleId":"method-RenderReport-19","updated":"2026-09-09"}],"tags":["cpu","frontend","frontend.yui","method","source-example","thing","yeho","yui"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/frontend/yui/authoring-application_layout.yh","line":6,"sha256":"f072bd9699b5e9f282a2f022c64562992a99dd789f5cdf0bd4492fe41b2bc59b"},"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 yuiAuthoredApplicationLayoutPlan","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using frontend.yui\n\n// Turn YUI models into a working frontend and its rendering/input adapters.\nyuiAuthoredApplicationLayoutPlan sample = yuiAuthoredApplicationLayoutPlan(1, 1, 1, 1, true, 1, 1, 1, 1, 1, 1, yuiLayoutRect(1, 1, 1, 1), \"root Id\", [], [], [], \"diagnostic\")\nConsole.Log(Text.From(sample.x))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuiauthoredapplicationlayoutplan\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"38b3d32e54a495f842e505fee1fd325c8a842e0853ff23aa381a62a27462a7d8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-PlacementIndex-18","title":"yuiAuthoredApplicationLayoutPlan.PlacementIndex","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Placement index.\nyuiAuthoredApplicationLayoutPlan instance = yuiAuthoredApplicationLayoutPlan(1, 1, 1, 1, true, 1, 1, 1, 1, 1, 1, yuiLayoutRect(1, 1, 1, 1), \"root Id\", [], [], [], \"diagnostic\")\ntext argument_nodeId = \"argument node Id\"\nint result = instance.PlacementIndex(argument_nodeId)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuiauthoredapplicationlayoutplan\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"3681ad4ecec51636ca3e5ddd3258b4a4439b30db00f886815e5f31ec6d209b2e","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-RenderReport-19","title":"yuiAuthoredApplicationLayoutPlan.RenderReport","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using frontend.yui\n\n// Render report.\nyuiAuthoredApplicationLayoutPlan instance = yuiAuthoredApplicationLayoutPlan(1, 1, 1, 1, true, 1, 1, 1, 1, 1, 1, yuiLayoutRect(1, 1, 1, 1), \"root Id\", [], [], [], \"diagnostic\")\ntext result = instance.RenderReport()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.frontend_yui__yuiauthoredapplicationlayoutplan\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"frontend.yui\"\nversion = \"0.2.0\"\npath = \"../../../yeho/packages/frontend/yui\"\n\n[[dependencies]]\npackage = \"graphics.canvas\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/canvas\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\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 = \"input.text\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/input/text\"\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":"68b7f3af6e362582c3dad81de0195d11943677ac485e05bade8e6c6b9e36de73","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["x","y","width","height","applicationShell","cardX","cardY","cardWidth","cardHeight","headerHeight","bottomPad","contentRect","rootId","items","measured","placements","diagnostic","yuiAuthoredApplicationLayoutPlan","PlacementIndex","RenderReport"],"url":"https://demonhunterlabs.com/academy/api?item=frontend.yui--yuiAuthoredApplicationLayoutPlan","json":"https://demonhunterlabs.com/reference/items/frontend.yui--yuiAuthoredApplicationLayoutPlan.json","markdown":"https://demonhunterlabs.com/reference/text/frontend.yui--yuiAuthoredApplicationLayoutPlan.md"}
