toggle menu
doodle
0.10.3
common
switch theme
search in API
controls
/
io.nacular.doodle.controls.tree
/
TreeLike
Tree
Like
interface
TreeLike
:
Selectable
<
Path
<
Int
>
>
(
source
)
Inheritors
TreeTable
Tree
Members
Properties
content
Direction
Link copied to clipboard
abstract
val
contentDirection
:
ContentDirection
focus
Changed
Link copied to clipboard
abstract
val
focusChanged
:
PropertyObservers
<
View
,
Boolean
>
has
Focus
Link copied to clipboard
abstract
val
hasFocus
:
Boolean
num
Rows
Link copied to clipboard
abstract
val
numRows
:
Int
root
Visible
Link copied to clipboard
abstract
val
rootVisible
:
Boolean
Inherited properties
first
Selectable
Link copied to clipboard
open
val
firstSelectable
:
Path
<
Int
>
?
first
Selection
Link copied to clipboard
abstract
val
firstSelection
:
Path
<
Int
>
?
last
Selectable
Link copied to clipboard
open
val
lastSelectable
:
Path
<
Int
>
?
last
Selection
Link copied to clipboard
abstract
val
lastSelection
:
Path
<
Int
>
?
selection
Link copied to clipboard
abstract
val
selection
:
Set
<
Path
<
Int
>
>
selection
Anchor
Link copied to clipboard
abstract
val
selectionAnchor
:
Path
<
Int
>
?
Functions
add
Selection
Link copied to clipboard
open
fun
addSelection
(
rows
:
Set
<
Int
>
,
jvmWorkaround
:
Int
=
0
)
collapse
Link copied to clipboard
abstract
fun
collapse
(
path
:
Path
<
Int
>
)
collapse
All
Link copied to clipboard
abstract
fun
collapseAll
(
)
expand
Link copied to clipboard
abstract
fun
expand
(
path
:
Path
<
Int
>
)
expand
All
Link copied to clipboard
abstract
fun
expandAll
(
)
expanded
Link copied to clipboard
abstract
fun
expanded
(
path
:
Path
<
Int
>
)
:
Boolean
is
Leaf
Link copied to clipboard
abstract
fun
isLeaf
(
path
:
Path
<
Int
>
)
:
Boolean
path
From
Row
Link copied to clipboard
abstract
fun
pathFromRow
(
index
:
Int
)
:
Path
<
Int
>
?
remove
Selection
Link copied to clipboard
open
fun
removeSelection
(
rows
:
Set
<
Int
>
,
jvmWorkaround
:
Int
=
0
)
row
From
Path
Link copied to clipboard
abstract
fun
rowFromPath
(
path
:
Path
<
Int
>
)
:
Int
?
selected
Link copied to clipboard
open
fun
selected
(
row
:
Int
)
:
Boolean
set
Selection
Link copied to clipboard
open
fun
setSelection
(
rows
:
Set
<
Int
>
,
jvmWorkaround
:
Int
=
0
)
toggle
Selection
Link copied to clipboard
open
fun
toggleSelection
(
rows
:
Set
<
Int
>
,
jvmWorkaround
:
Int
=
0
)
visible
Link copied to clipboard
abstract
fun
visible
(
path
:
Path
<
Int
>
)
:
Boolean
abstract
fun
visible
(
row
:
Int
)
:
Boolean
Inherited functions
add
Selection
Link copied to clipboard
abstract
fun
addSelection
(
items
:
Set
<
Path
<
Int
>
>
)
clear
Selection
Link copied to clipboard
abstract
fun
clearSelection
(
)
next
Link copied to clipboard
abstract
fun
next
(
after
:
Path
<
Int
>
)
:
Path
<
Int
>
?
previous
Link copied to clipboard
abstract
fun
previous
(
before
:
Path
<
Int
>
)
:
Path
<
Int
>
?
remove
Selection
Link copied to clipboard
abstract
fun
removeSelection
(
items
:
Set
<
Path
<
Int
>
>
)
select
All
Link copied to clipboard
abstract
fun
selectAll
(
)
selected
Link copied to clipboard
abstract
fun
selected
(
item
:
Path
<
Int
>
)
:
Boolean
set
Selection
Link copied to clipboard
abstract
fun
setSelection
(
items
:
Set
<
Path
<
Int
>
>
)
toggle
Selection
Link copied to clipboard
abstract
fun
toggleSelection
(
items
:
Set
<
Path
<
Int
>
>
)