NameableBuilder

sealed interface NameableBuilder

A builder for something that can have a Component as a name.

Inheritors

Functions

Link copied to clipboard
open fun localizedName(localizedName: String)

Sets the localization key.

Link copied to clipboard
abstract fun name(name: Component)

Sets the name.

Link copied to clipboard
abstract fun style(style: Style)
open fun style(color: TextColor)
open fun style(decoration: TextDecoration)
open fun style(vararg decorations: TextDecoration)
open fun style(color: TextColor, vararg decorations: TextDecoration)

Sets the style of the name.