IntSetting

abstract class IntSetting : Setting

Represents an integer setting with a current value and a valid range.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
Link copied to clipboard
abstract fun getMax(): Int
Gets the maximal possible value of the setting.
Link copied to clipboard
abstract fun getMin(): Int
Gets the minimal possible value of the setting.
Link copied to clipboard
abstract fun getValue(): Int
Gets the current value.
Link copied to clipboard
abstract fun isUpdating(): Boolean

Tells whether the setting is updating.

Link copied to clipboard
abstract fun setValue(value: Int)
Sets the current setting value.