toggle menu
doodle
0.10.4
common
switch theme
search in API
controls
/
io.nacular.doodle.controls
/
ListSelectionManager
List
Selection
Manager
class
ListSelectionManager
(
selectionModel
:
SelectionModel
<
Int
>
?
,
numRows
:
(
)
->
Int
)
:
Selectable
<
Int
>
(
source
)
Members
Constructors
List
Selection
Manager
Link copied to clipboard
constructor
(
selectionModel
:
SelectionModel
<
Int
>
?
,
numRows
:
(
)
->
Int
)
Properties
first
Selectable
Link copied to clipboard
open
override
val
firstSelectable
:
Int
first
Selection
Link copied to clipboard
open
override
val
firstSelection
:
Int
?
last
Selectable
Link copied to clipboard
open
override
val
lastSelectable
:
Int
last
Selection
Link copied to clipboard
open
override
val
lastSelection
:
Int
?
selection
Link copied to clipboard
open
override
val
selection
:
Set
<
Int
>
selection
Anchor
Link copied to clipboard
open
override
val
selectionAnchor
:
Int
?
Functions
add
Selection
Link copied to clipboard
open
override
fun
addSelection
(
items
:
Set
<
Int
>
)
clear
Selection
Link copied to clipboard
open
override
fun
clearSelection
(
)
next
Link copied to clipboard
open
override
fun
next
(
after
:
Int
)
:
Int
?
previous
Link copied to clipboard
open
override
fun
previous
(
before
:
Int
)
:
Int
?
remove
Selection
Link copied to clipboard
open
override
fun
removeSelection
(
items
:
Set
<
Int
>
)
select
All
Link copied to clipboard
open
override
fun
selectAll
(
)
selected
Link copied to clipboard
open
override
fun
selected
(
item
:
Int
)
:
Boolean
set
Selection
Link copied to clipboard
open
override
fun
setSelection
(
items
:
Set
<
Int
>
)
toggle
Selection
Link copied to clipboard
open
override
fun
toggleSelection
(
items
:
Set
<
Int
>
)