toggle menu
doodle
0.10.3
common
switch theme
search in API
controls
/
io.nacular.doodle.controls
/
SelectionModel
Selection
Model
interface
SelectionModel
<
T
>
:
Iterable
<
T
>
(
source
)
Inheritors
MultiSelectionModel
FilteringSelectionModel
Members
Members & Extensions
Properties
anchor
Link copied to clipboard
abstract
val
anchor
:
T
?
changed
Link copied to clipboard
abstract
val
changed
:
SetObservers
<
SelectionModel
<
T
>
,
T
>
first
Link copied to clipboard
abstract
val
first
:
T
?
is
Empty
Link copied to clipboard
abstract
val
isEmpty
:
Boolean
last
Link copied to clipboard
abstract
val
last
:
T
?
size
Link copied to clipboard
abstract
val
size
:
Int
Functions
add
Link copied to clipboard
abstract
fun
add
(
item
:
T
)
:
Boolean
add
All
Link copied to clipboard
abstract
fun
addAll
(
items
:
Collection
<
T
>
)
:
Boolean
clear
Link copied to clipboard
abstract
fun
clear
(
)
contains
Link copied to clipboard
abstract
fun
contains
(
item
:
T
)
:
Boolean
contains
All
Link copied to clipboard
abstract
fun
containsAll
(
items
:
Collection
<
T
>
)
:
Boolean
remove
Link copied to clipboard
abstract
fun
remove
(
item
:
T
)
:
Boolean
remove
All
Link copied to clipboard
abstract
fun
removeAll
(
items
:
Collection
<
T
>
)
:
Boolean
replace
All
Link copied to clipboard
abstract
fun
replaceAll
(
items
:
Collection
<
T
>
)
:
Boolean
retain
All
Link copied to clipboard
abstract
fun
retainAll
(
items
:
Collection
<
T
>
)
:
Boolean
toggle
Link copied to clipboard
abstract
fun
toggle
(
items
:
Collection
<
T
>
)
:
Boolean
Inherited functions
iterator
Link copied to clipboard
abstract
operator
fun
iterator
(
)
:
Iterator
<
T
>
map
Link copied to clipboard
fun
<
T
:
Any
,
R
:
Any
>
SelectionModel
<
T
>
.
map
(
mapper
:
(
T
)
->
R
?
,
unmapper
:
(
R
)
->
T
?
)
:
SelectionModel
<
R
>