removeAll

fun removeAll(collection: Collection<T>): Boolean

Removes all ComponentViews contained in collection from this Pane.

Return

true if the Pane was altered by the call, false otherwise.

Parameters

collection

The ComponentViews to remove.


fun removeAll(predicate: (T) -> Boolean): Boolean

Removes all ComponentViews matching the predicate from this Pane.

Return

true if the Pane was altered by the call, false otherwise.

Parameters

predicate

The predicate to evaluate.