toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.view
/
ContainerCollection
Container
Collection
class
ContainerCollection
:
MutableCollection
<
View
>
,
List
<
View
>
Allows to safely interact with the children of a
container
instance.
Members
Members & Extensions
Properties
container
Link copied to clipboard
val
container
:
Container
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
add
Link copied to clipboard
open
override
fun
add
(
element
:
View
)
:
Boolean
add
All
Link copied to clipboard
open
override
fun
addAll
(
elements
:
Collection
<
View
>
)
:
Boolean
clear
Link copied to clipboard
open
override
fun
clear
(
)
composed
Or
Null
Link copied to clipboard
fun
List
<
Filter
?
>
.
composedOrNull
(
)
:
Filter
?
contains
Link copied to clipboard
open
operator override
fun
contains
(
element
:
View
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
elements
:
Collection
<
View
>
)
:
Boolean
get
Link copied to clipboard
open
operator override
fun
get
(
index
:
Int
)
:
View
index
Of
Link copied to clipboard
open
override
fun
indexOf
(
element
:
View
)
:
Int
is
Empty
Link copied to clipboard
open
override
fun
isEmpty
(
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
MutableIterator
<
View
>
last
Index
Of
Link copied to clipboard
open
override
fun
lastIndexOf
(
element
:
View
)
:
Int
list
Iterator
Link copied to clipboard
open
override
fun
listIterator
(
)
:
ListIterator
<
View
>
open
override
fun
listIterator
(
index
:
Int
)
:
ListIterator
<
View
>
remove
Link copied to clipboard
open
override
fun
remove
(
element
:
View
)
:
Boolean
remove
All
Link copied to clipboard
open
override
fun
removeAll
(
elements
:
Collection
<
View
>
)
:
Boolean
retain
All
Link copied to clipboard
open
override
fun
retainAll
(
elements
:
Collection
<
View
>
)
:
Boolean
sub
List
Link copied to clipboard
open
override
fun
subList
(
fromIndex
:
Int
,
toIndex
:
Int
)
:
List
<
View
>