Group

interface Group<T : Component> : ComponentProperties

A Group is a logical grouping of Components. It can be used to change their properties together even if the underlying Components are not part of the same tree (eg: they are siblings, or either in completely different component trees). Note that the Components in this Group can still be changed individually: the Group won't enforce consistency between Group elements.

Functions

addComponent
Link copied to clipboard
common
abstract fun addComponent(component: T): AttachedComponent
Adds a child Component to this ComponentContainer.
open fun addComponent(builder: Builder<T>): AttachedComponent
Builds a Component using the given component Builder and adds it to this ComponentContainer.
addComponents
Link copied to clipboard
common
abstract fun addComponents(vararg components: T): List<AttachedComponent>
Adds the given Components to this ComponentContainer.
open fun addComponents(vararg components: Builder<T>): List<AttachedComponent>
Adds the given Components to this ComponentContainer.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
toString
Link copied to clipboard
common
open fun toString(): String

Properties

disabledProperty
Link copied to clipboard
common
abstract override val disabledProperty: Property<Boolean>
hiddenProperty
Link copied to clipboard
common
abstract override val hiddenProperty: Property<Boolean>
isDisabled
Link copied to clipboard
common
abstract override var isDisabled: Boolean
isHidden
Link copied to clipboard
common
abstract override var isHidden: Boolean
theme
Link copied to clipboard
common
abstract override var theme: ColorTheme
The (mutable) ColorTheme.
themeProperty
Link copied to clipboard
common
abstract override val themeProperty: Property<ColorTheme>
A Property that wraps the theme and offers data binding and observability features.
tileset
Link copied to clipboard
common
abstract override var tileset: TilesetResource
The (mutable) tileset value.
tilesetProperty
Link copied to clipboard
common
abstract val tilesetProperty: Property<TilesetResource>
A Property that wraps the tileset and offers data binding and observability features.

Inheritors

RadioButtonGroup
Link copied to clipboard
InternalGroup
Link copied to clipboard

Sources

(source)
Link copied to clipboard