toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge
/
korlibs.korge.ui
/
UIEditableNumberProps
UIEditable
Number
Props
class
UIEditableNumberProps
(
prop
:
UIProperty
<
Double
>
,
val
min
:
Double
=
0.0
,
val
max
:
Double
=
1.0
,
val
decimals
:
Int
=
2
,
val
clamped
:
Boolean
=
true
)
:
UIObservableProperty
<
Double
>
Members
Constructors
UIEditable
Number
Props
Link copied to clipboard
constructor
(
prop
:
UIProperty
<
Double
>
,
min
:
Double
=
0.0
,
max
:
Double
=
1.0
,
decimals
:
Int
=
2
,
clamped
:
Boolean
=
true
)
Properties
clamped
Link copied to clipboard
val
clamped
:
Boolean
=
true
decimals
Link copied to clipboard
val
decimals
:
Int
=
2
get
Display
Value
Link copied to clipboard
var
getDisplayValue
:
(
)
->
Double
initial
Value
Link copied to clipboard
val
initialValue
:
Double
max
Link copied to clipboard
val
max
:
Double
=
1.0
min
Link copied to clipboard
val
min
:
Double
=
0.0
on
Changed
Link copied to clipboard
val
onChanged
:
Signal2
<
UIObservableProperty
<
Double
>
,
Double
>
prop
Link copied to clipboard
val
prop
:
UIProperty
<
Double
>
value
Link copied to clipboard
var
value
:
Double
Functions
set
Value
Link copied to clipboard
fun
setValue
(
value
:
Double
,
notify
:
Boolean
=
true
)