kvision / pl.treksoft.kvision.panel / DockPanel / add

add

open fun add(child: Component, position: Side): DockPanel

Adds a component to the dock container.

Parameters

child - child component

position - position in the dock

Return
current container

open fun add(child: Component): DockPanel

Overrides SimplePanel.add

Adds given component to the current container.

Parameters

child - child component

Return
current container