class SettableProperty<T> : Property<T>

Mutable property usable as property delegate.

Constructors

<init>

constructor(property: Property<T>)

Parameters

Name Description
property: Property<T>

<init>

constructor(value: T, isDefault: Boolean)

Mutable property usable as property delegate.

Parameters

Name Description
value: T

actual value of the property

isDefault: Boolean

true, if value constitutes a default value and is set to false, when value is overwritten

Methods

setValue

operator fun setValue(thisRef: Any?, property: KProperty<*>, value: T)

Set method for property delegation.

Parameters

Name Description
thisRef: Any?
property: KProperty<*>
value: T

ReturnValue

Name Description
Unit