toggle menu
korge-root
5.1.0
jvm
switch theme
search in API
korge
/
korlibs.korge.view.property
/
ObservableProperty
Observable
Property
jvm
class
ObservableProperty
<
T
>
(
val
name
:
String
,
val
internalSet
:
(
T
)
->
Unit
,
val
internalGet
:
(
)
->
T
)
Members
Members & Extensions
Constructors
Observable
Property
Link copied to clipboard
jvm
constructor
(
name
:
String
,
internalSet
:
(
T
)
->
Unit
,
internalGet
:
(
)
->
T
)
Properties
internal
Get
Link copied to clipboard
jvm
val
internalGet
:
(
)
->
T
internal
Set
Link copied to clipboard
jvm
val
internalSet
:
(
T
)
->
Unit
name
Link copied to clipboard
jvm
val
name
:
String
on
Change
Link copied to clipboard
jvm
val
onChange
:
Signal
<
T
>
value
Link copied to clipboard
jvm
var
value
:
T
Functions
force
Refresh
Link copied to clipboard
jvm
fun
forceRefresh
(
)
force
Update
Link copied to clipboard
jvm
fun
forceUpdate
(
value
:
T
)
to
Double
Link copied to clipboard
jvm
@
JvmName
(
name
=
"ObservablePropertyRatio_toDouble"
)
fun
ObservableProperty
<
Ratio
>
.
toDouble
(
)
:
ObservableProperty
<
Double
>
@
JvmName
(
name
=
"ObservablePropertyFloat_toDouble"
)
fun
ObservableProperty
<
Float
>
.
toDouble
(
)
:
ObservableProperty
<
Double
>
to
String
Link copied to clipboard
jvm
open
override
fun
toString
(
)
:
String
transform
Link copied to clipboard
jvm
fun
<
T
,
R
>
ObservableProperty
<
T
>
.
transform
(
convert
:
(
T
)
->
R
,
rconvert
:
(
R
)
->
T
)
:
ObservableProperty
<
R
>