A2uiComponentCollection

sealed interface A2uiComponentCollection : List


An immutable, indexed collection of A2uiComponents registered within an A2uiCatalog.

Provides list-based access that enables iterator-free iteration using indices, as well as lookup by component name using the index operator.

Summary

Public functions

operator A2uiComponent?
get(name: String)

Retrieves an A2uiComponent implementation by its unique type name.

Inherited properties

From kotlin.collections.List

Public functions

get

Added in 1.0.0-alpha01
operator fun get(name: String): A2uiComponent?

Retrieves an A2uiComponent implementation by its unique type name.

Parameters
name: String

The unique type name of the component (e.g., "Text", "Button").

Returns
A2uiComponent?

The A2uiComponent implementation, or null if no component with name is registered in this collection.