lib
lib
/
com.github.mnemotechnician.mkui.delegates
/
SettingDelegate
Setting
Delegate
open
class
SettingDelegate
<
T
>
(
var
prefix
:
String
,
val
default
:
T
)
Delegates to a setting.
Constructors
Functions
Properties
See also
Inheritors
See also
setting
Constructors
Setting
Delegate
Link copied to clipboard
fun
<
T
>
SettingDelegate
(
prefix
:
String
,
default
:
T
)
Functions
get
Value
Link copied to clipboard
open
operator
fun
getValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
)
:
T
set
Value
Link copied to clipboard
open
operator
fun
setValue
(
thisRef
:
Any
?
,
property
:
KProperty
<
*
>
,
value
:
T
)
Properties
default
Link copied to clipboard
val
default
:
T
prefix
Link copied to clipboard
var
prefix
:
String
Inheritors
LazyNameSettingDelegate
Link copied to clipboard