{"id":"ui--yuiCoreControlStateStyle","name":"yuiCoreControlStateStyle","owner":"yeho","package":"ui","kind":"thing","signature":"external thing yuiCoreControlStateStyle","description":"A yui core control state style record carrying state, fillRole, borderRole, contentRole, iconRole, and related state.","context":"Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.","parameters":[],"returns":"void","members":[{"name":"state","kind":"field","type":"text","description":"Stores state as text.","signature":"text state","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"fillRole","kind":"field","type":"text","description":"Stores fill role as text.","signature":"text fillRole","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"borderRole","kind":"field","type":"text","description":"Stores border role as text.","signature":"text borderRole","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"contentRole","kind":"field","type":"text","description":"Stores content role as text.","signature":"text contentRole","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"iconRole","kind":"field","type":"text","description":"Stores icon role as text.","signature":"text iconRole","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"nonColorCue","kind":"field","type":"text","description":"Stores non color cue as text.","signature":"text nonColorCue","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"motionRole","kind":"field","type":"text","description":"Stores motion role as text.","signature":"text motionRole","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"opacityPercent","kind":"field","type":"int","description":"Stores opacity percent as int.","signature":"int opacityPercent","tags":["thing","field","ui"],"updated":"2026-09-09"},{"name":"yuiCoreControlStateStyle","kind":"constructor","parameters":[{"name":"state","type":"text","description":"State."},{"name":"fillRole","type":"text","description":"Fill role."},{"name":"borderRole","type":"text","description":"Border role."},{"name":"contentRole","type":"text","description":"Content role."},{"name":"iconRole","type":"text","description":"Icon role."},{"name":"nonColorCue","type":"text","description":"Non color cue."},{"name":"motionRole","type":"text","description":"Motion role."},{"name":"opacityPercent","type":"int","description":"Opacity percent."}],"returns":"void","signature":"yuiCoreControlStateStyle(text state, text fillRole, text borderRole, text contentRole, text iconRole, text nonColorCue, text motionRole, int opacityPercent)","description":"Yui core control state style.","tags":["thing","constructor","ui"],"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-9","updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","ui"],"exampleId":"method-Describe-10","updated":"2026-09-09"}],"tags":["cpu","method","source-example","thing","ui","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/ui/controls-00-definitions.yh","line":2,"sha256":"fa1e7bb5a6ce717390a9aa5dfab81a5a651d0ff4db12cd5c3b79c09ec3d26b60"},"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 yuiCoreControlStateStyle","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.\nyuiCoreControlStateStyle sample = yuiCoreControlStateStyle(\"state\", \"fill Role\", \"border Role\", \"content Role\", \"icon Role\", \"non Color Cue\", \"motion Role\", 1)\nConsole.Log(Text.From(sample.state))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicorecontrolstatestyle\"\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":"7126e0273ec19b34d33653711cde6fb1322f3d9dd19d865cc45c5b6a8417eda9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-9","title":"yuiCoreControlStateStyle.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.\nyuiCoreControlStateStyle instance = yuiCoreControlStateStyle(\"state\", \"fill Role\", \"border Role\", \"content Role\", \"icon Role\", \"non Color Cue\", \"motion Role\", 1)\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicorecontrolstatestyle\"\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":"0cac2c3f9f97160cf6494dfc61fec9e8f11d82228782a9946096d6c72d156329","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-10","title":"yuiCoreControlStateStyle.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.\nyuiCoreControlStateStyle instance = yuiCoreControlStateStyle(\"state\", \"fill Role\", \"border Role\", \"content Role\", \"icon Role\", \"non Color Cue\", \"motion Role\", 1)\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.ui__yuicorecontrolstatestyle\"\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":"7638b202a1d31a54ed3034ed2c1cb2c3f14a97a800044598e215c04d8ca1d3a9","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["state","fillRole","borderRole","contentRole","iconRole","nonColorCue","motionRole","opacityPercent","yuiCoreControlStateStyle","ValidationIssue","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=ui--yuiCoreControlStateStyle","json":"https://demonhunterlabs.com/reference/items/ui--yuiCoreControlStateStyle.json","markdown":"https://demonhunterlabs.com/reference/text/ui--yuiCoreControlStateStyle.md"}
