StringSettings

data class StringSettings(var schemes: MutableList<StringScheme> = DEFAULT_SCHEMES, var currentSchemeName: String = DEFAULT_CURRENT_SCHEME_NAME) : Settings<StringSettings, StringScheme> (source)

The user-configurable collection of schemes applicable to generating strings.

See also

Constructors

Link copied to clipboard
fun StringSettings(schemes: MutableList<StringScheme> = DEFAULT_SCHEMES, currentSchemeName: String = DEFAULT_CURRENT_SCHEME_NAME)

Types

Link copied to clipboard
object Companion

Holds constants.

Functions

Link copied to clipboard
open override fun deepCopy(): StringSettings

Returns a deep copy of the settings and the contained schemes.

Link copied to clipboard
open override fun getState(): StringSettings

Returns this.

Link copied to clipboard
Link copied to clipboard
open override fun loadState(state: StringSettings)

Copies the fields of state to this.

Link copied to clipboard
open fun noStateLoaded()

Properties

Link copied to clipboard

The instance of the scheme that is currently active.

Link copied to clipboard
open override var currentSchemeName: String

the scheme that is currently active

Link copied to clipboard
open override var schemes: MutableList<StringScheme>

the schemes that the user can choose from