addTile

open override fun addTile(tileSchema: TileSchema, where: InsertionPosition): Result<Unit>

Inserts tileSchema as a new top-level child of the screen's own root tile.

Parameters

tileSchema

the tile to insert.

where

where among the current root children to insert it. Defaults to the end.


open override fun addTile(tileSchema: TileSchema, groupingTileId: String, where: InsertionPosition): Result<Unit>

Inserts tileSchema as a new child of the container tile identified by groupingTileId, wherever that container currently is in the tree.

Parameters

tileSchema

the tile to insert.

groupingTileId

id of the container tile to insert into.

where

where among that container's current children to insert it. Defaults to the end.