String Setting
class StringSetting(name: String, val default: String = "", val length: Int = 30, visibility: Visibility = Visibility.VISIBLE, description: String? = null) : Setting<String>
Provides a Setting which stores a String.
This Setting is represented by a text field in the gui.
Author
Aton
Constructors
Link copied to clipboard
fun StringSetting(name: String, default: String = "", length: Int = 30, visibility: Visibility = Visibility.VISIBLE, description: String? = null)
Functions
Link copied to clipboard
open operator override fun provideDelegate(thisRef: Module, property: KProperty<*>): ReadWriteProperty<Module, String>
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.