Readonly Integer Property
open class ReadonlyIntegerProperty(initialValue: Int = 0) : ReadonlyProperty<Int>
Content copied to clipboard
An ReadonlyIntegerProperty.
Parameters
initial Value
Initial Value. Default: 0.
Constructors
Link copied to clipboard
Creates a ReadonlyIntegerProperty with given initial value.
Functions
Link copied to clipboard
Adds a listener silently.
Link copied to clipboard
fun addListenerAndInvoke(initialValue: Int, listener: (Int, Int) -> Unit)
Content copied to clipboard
Adds a listener and calls ValueObserver.update on this new listener with given initial value.
Link copied to clipboard
Removes all listeners.
Link copied to clipboard
Notifies all listeners with current value.
Link copied to clipboard
Removes a listener.