Selector Setting
class SelectorSetting<T : Options, Enum<T>>(name: String, val default: T, val options: Array<out T>, visibility: Visibility = Visibility.VISIBLE, description: String? = null) : Setting<T>
A setting which allows for a selection out of a given set of options.
In most cases it is more convenient to use the factory function which acts as a constructor which omits the options parameter.
Author
Aton
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
open operator override fun provideDelegate(thisRef: Module, property: KProperty<*>): ReadWriteProperty<Module, T>
This operator provides the Delegate to the Setting.
Properties
Link copied to clipboard
Returns whether this setting should be visible based on visibilityDependency. Is true by default. Use withDependency to change this behavior.