toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.ui
/
UITreeViewList
UITree
View
List
class
UITreeViewList
<
T
>
(
val
nodes
:
List
<
UITreeViewNode
<
T
>
>
=
listOf()
,
val
height
:
Double
=
20.0
,
val
genView
:
(
T
)
->
View
=
{ UIText("$it") }
)
:
UITreeViewProvider
<
UITreeViewNode
<
T
>
>
Members
Members & Extensions
Constructors
UITree
View
List
Link copied to clipboard
constructor
(
nodes
:
List
<
UITreeViewNode
<
T
>
>
=
listOf()
,
height
:
Double
=
20.0
,
genView
:
(
T
)
->
View
=
{ UIText("$it") }
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
gen
View
Link copied to clipboard
val
genView
:
(
T
)
->
View
height
Link copied to clipboard
open
override
val
height
:
Double
=
20.0
nodes
Link copied to clipboard
val
nodes
:
List
<
UITreeViewNode
<
T
>
>
Functions
get
Child
At
Link copied to clipboard
open
override
fun
getChildAt
(
node
:
UITreeViewNode
<
T
>
?
,
index
:
Int
)
:
UITreeViewNode
<
T
>
get
Children
List
Link copied to clipboard
fun
<
T
>
UITreeViewProvider
<
T
>
.
getChildrenList
(
node
:
T
?
)
:
List
<
T
>
get
Num
Children
Link copied to clipboard
open
override
fun
getNumChildren
(
node
:
UITreeViewNode
<
T
>
?
)
:
Int
get
View
For
Node
Link copied to clipboard
open
override
fun
getViewForNode
(
node
:
UITreeViewNode
<
T
>
)
:
View