Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (22 sloc) 731 Bytes
package org.hexworks.zircon.api.component
* A [Container] is a [Component] which can contain other components.
* Those components will be bounded by this container.
* You can add other [Container]s to a container but you can't add
* components to a [Component].
interface Container : ComponentContainer, Component {
* The immediate child [Component]s of this [Container].
val children: Iterable<Component>
* All descendant [Component]s of this [Container].
val descendants: Iterable<Component>
* Removes all [Component]s from this [Container].
* @return true if at least one component was removed
fun detachAllComponents(): Boolean
You can’t perform that action at this time.