toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.async
/
ObservableProperty
Observable
Property
class
ObservableProperty
<
T
>
(
initial
:
T
)
Members
Constructors
Observable
Property
Link copied to clipboard
constructor
(
initial
:
T
)
Types
Companion
Link copied to clipboard
object
Companion
Properties
observer
Count
Link copied to clipboard
val
observerCount
:
Int
value
Link copied to clipboard
var
value
:
T
Functions
bind
Link copied to clipboard
fun
bind
(
prop
:
KMutableProperty0
<
T
>
)
clear
Link copied to clipboard
fun
clear
(
)
get
Value
Link copied to clipboard
operator
fun
getValue
(
any
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
invoke
Link copied to clipboard
operator
fun
invoke
(
value
:
T
)
operator
fun
invoke
(
handler
:
(
T
)
->
Unit
)
:
ObservableProperty
<
T
>
observe
Link copied to clipboard
fun
observe
(
handler
:
(
T
)
->
Unit
)
:
ObservableProperty
<
T
>
observe
Start
Link copied to clipboard
fun
observeStart
(
handler
:
(
T
)
->
Unit
)
:
ObservableProperty
<
T
>
set
Value
Link copied to clipboard
operator
fun
setValue
(
any
:
Any
?
,
property
:
KProperty
<
*
>
,
value
:
T
)
update
Link copied to clipboard
fun
update
(
value
:
T
)