ui · thing ·
yuiIconArtworkCatalog
A yui icon artwork catalog record carrying artwork, diagnostic.
Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.
external thing yuiIconArtworkCatalogStatus: source-declared
Fields and methods (10)
list of yuiIconArtwork artwork- Stores artwork as list of yuiIconArtwork.
text diagnostic- Stores diagnostic as text.
yuiIconArtworkCatalog()- Yui icon artwork catalog.
IndexOf(text semanticName) returns int- Index of. Complete example
Register(yuiIconArtwork entry) returns bool- Register. Complete example
Has(text semanticName) returns bool- Has. Complete example
Resolve(text semanticName) returns yuiIconArtwork- Resolve. Complete example
Names() returns list of text- Names. Complete example
ValidationIssue() returns text- Validation issue. Complete example
Signature() returns text- Signature. Complete example
Use yuiIconArtworkCatalog
A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.
cpu · source-example · type checked
using ui
// Build YUI's reusable control, layout, interaction, text, accessibility, and retained-rendering models.
yuiIconArtworkCatalog sample = yuiIconArtworkCatalog()
Console.Log(Text.From(sample.diagnostic))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiiconartworkcatalog"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiIconArtworkCatalog.IndexOf
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Index of.
yuiIconArtworkCatalog instance = yuiIconArtworkCatalog()
text argument_semanticName = "argument semantic Name"
int result = instance.IndexOf(argument_semanticName)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiiconartworkcatalog"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiIconArtworkCatalog.Register
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Register.
yuiIconArtworkCatalog instance = yuiIconArtworkCatalog()
yuiIconArtwork argument_entry = yuiIconArtwork("semantic Name", "body", "drawing", true, "default Tint Role", "example")
bool result = instance.Register(argument_entry)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiiconartworkcatalog"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiIconArtworkCatalog.Has
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Has.
yuiIconArtworkCatalog instance = yuiIconArtworkCatalog()
text argument_semanticName = "argument semantic Name"
bool result = instance.Has(argument_semanticName)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiiconartworkcatalog"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiIconArtworkCatalog.Resolve
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Resolve.
yuiIconArtworkCatalog instance = yuiIconArtworkCatalog()
text argument_semanticName = "argument semantic Name"
yuiIconArtwork result = instance.Resolve(argument_semanticName)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiiconartworkcatalog"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiIconArtworkCatalog.Names
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Names.
yuiIconArtworkCatalog instance = yuiIconArtworkCatalog()
list of text result = instance.Names()
Console.Log(Text.From(result.count))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiiconartworkcatalog"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiIconArtworkCatalog.ValidationIssue
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Validation issue.
yuiIconArtworkCatalog instance = yuiIconArtworkCatalog()
text result = instance.ValidationIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiiconartworkcatalog"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
yuiIconArtworkCatalog.Signature
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using ui
// Signature.
yuiIconArtworkCatalog instance = yuiIconArtworkCatalog()
text result = instance.Signature()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.ui__yuiiconartworkcatalog"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"
[app]
kind = "headless"
[[dependencies]]
package = "graphics.image"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image"
[[dependencies]]
package = "graphics.text"
version = "0.1.0"
path = "../../../yeho/packages/graphics/text"
[[dependencies]]
package = "host.ui_services"
version = "0.1.0"
path = "../../../yeho/packages/host/ui_services"
[[dependencies]]
package = "ui"
version = "0.2.0"
path = "../../../yeho/packages/ui"
Notes and source
Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.
yeho/packages/ui/media-icons.yh:89