@UiToolingDataApi
sealed class Group

Known direct subclasses
CallGroup

A group that represents the invocation of a component

NodeGroup

A group that represents an emitted node


A group in the slot table. Represents either a call or an emitted node.

Summary

Protected constructors

Group(
    key: Any?,
    name: String?,
    location: SourceLocation?,
    identity: Any?,
    box: IntRect,
    data: Collection<Any?>,
    children: Collection<Group>,
    isInline: Boolean
)

Public properties

IntRect

The bounding layout box for the group.

Collection<Group>

The child groups of this group

Collection<Any?>

Any data that was stored in the slot table for the group

Any?

An optional value that identifies a Group independently of movement caused by recompositions.

Boolean

True if the group is for an inline function call

Any?

The key is the key generated for the group

SourceLocation?

The source location that produce the group if it can be determined

open List<ModifierInfo>

Modifier information for the Group, or empty list if there isn't any.

String?

The name of the function called, if provided

open List<ParameterInformation>

Parameter information for Groups that represent calls

Extension properties

String?

The source position of the group extracted from the key, if one exists for the group.

Protected constructors

Group

protected Group(
    key: Any?,
    name: String?,
    location: SourceLocation?,
    identity: Any?,
    box: IntRect,
    data: Collection<Any?>,
    children: Collection<Group>,
    isInline: Boolean
)

Public properties

box

Added in 1.0.0
val box: IntRect

The bounding layout box for the group.

children

Added in 1.0.0
val children: Collection<Group>

The child groups of this group

data

Added in 1.0.0
val data: Collection<Any?>

Any data that was stored in the slot table for the group

identity

Added in 1.2.0
val identity: Any?

An optional value that identifies a Group independently of movement caused by recompositions.

isInline

Added in 1.4.0
val isInline: Boolean

True if the group is for an inline function call

key

Added in 1.0.0
val key: Any?

The key is the key generated for the group

location

Added in 1.0.0
val location: SourceLocation?

The source location that produce the group if it can be determined

modifierInfo

Added in 1.0.0
open val modifierInfo: List<ModifierInfo>

Modifier information for the Group, or empty list if there isn't any.

name

Added in 1.0.0
val name: String?

The name of the function called, if provided

parameters

Added in 1.0.0
open val parameters: List<ParameterInformation>

Parameter information for Groups that represent calls

Extension properties

Group.position

@UiToolingDataApi
val Group.position: String?

The source position of the group extracted from the key, if one exists for the group.