toggle menu
doodle
0.10.3
common
switch theme
search in API
controls
/
io.nacular.doodle.controls
/
SingleItemSelectionModel
Single
Item
Selection
Model
class
SingleItemSelectionModel
<
T
>
:
MultiSelectionModel
<
T
>
(
source
)
Members
Members & Extensions
Constructors
Single
Item
Selection
Model
Link copied to clipboard
constructor
(
)
Inherited properties
anchor
Link copied to clipboard
open
override
val
anchor
:
T
?
changed
Link copied to clipboard
open
override
val
changed
:
SetObservers
<
SelectionModel
<
T
>
,
T
>
first
Link copied to clipboard
open
override
val
first
:
T
?
is
Empty
Link copied to clipboard
open
override
val
isEmpty
:
Boolean
last
Link copied to clipboard
open
override
val
last
:
T
?
observable
Set
Link copied to clipboard
protected
val
observableSet
:
ObservableSet
<
T
>
size
Link copied to clipboard
open
override
val
size
:
Int
Functions
add
Link copied to clipboard
open
override
fun
add
(
item
:
T
)
:
Boolean
add
All
Link copied to clipboard
open
override
fun
addAll
(
items
:
Collection
<
T
>
)
:
Boolean
replace
All
Link copied to clipboard
open
override
fun
replaceAll
(
items
:
Collection
<
T
>
)
:
Boolean
toggle
Link copied to clipboard
open
override
fun
toggle
(
items
:
Collection
<
T
>
)
:
Boolean
Inherited functions
clear
Link copied to clipboard
open
override
fun
clear
(
)
contains
Link copied to clipboard
open
override
fun
contains
(
item
:
T
)
:
Boolean
contains
All
Link copied to clipboard
open
override
fun
containsAll
(
items
:
Collection
<
T
>
)
:
Boolean
iterator
Link copied to clipboard
open
operator override
fun
iterator
(
)
:
MutableIterator
<
T
>
map
Link copied to clipboard
fun
<
T
:
Any
,
R
:
Any
>
SelectionModel
<
T
>
.
map
(
mapper
:
(
T
)
->
R
?
,
unmapper
:
(
R
)
->
T
?
)
:
SelectionModel
<
R
>
remove
Link copied to clipboard
open
override
fun
remove
(
item
:
T
)
:
Boolean
remove
All
Link copied to clipboard
open
override
fun
removeAll
(
items
:
Collection
<
T
>
)
:
Boolean
retain
All
Link copied to clipboard
open
override
fun
retainAll
(
items
:
Collection
<
T
>
)
:
Boolean