toggle menu
doodle
0.10.3
common
switch theme
search in API
controls
/
io.nacular.doodle.controls.tree
/
MutableNodeBuilder
Mutable
Node
Builder
class
MutableNodeBuilder
<
T
>
(
var
value
:
T
,
val
children
:
MutableList
<
MutableNodeBuilder
<
T
>
>
=
mutableListOf()
)
(
source
)
Members
Constructors
Mutable
Node
Builder
Link copied to clipboard
constructor
(
value
:
T
,
children
:
MutableList
<
MutableNodeBuilder
<
T
>
>
=
mutableListOf()
)
Properties
children
Link copied to clipboard
val
children
:
MutableList
<
MutableNodeBuilder
<
T
>
>
value
Link copied to clipboard
var
value
:
T
Functions
mutable
Tree
Node
Link copied to clipboard
fun
mutableTreeNode
(
)
:
MutableTreeNode
<
T
>
node
Link copied to clipboard
fun
node
(
value
:
T
,
block
:
MutableNodeBuilder
<
T
>
.
(
)
->
Unit
=
{}
)
:
MutableNodeBuilder
<
T
>