WordSettings

data class WordSettings(var schemes: MutableList<WordScheme> = DEFAULT_SCHEMES, var currentSchemeName: String = DEFAULT_CURRENT_SCHEME_NAME) : Settings<WordSettings, WordScheme>

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

See also

Constructors

Link copied to clipboard
fun WordSettings(schemes: MutableList<WordScheme> = 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(): WordSettings

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

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

Returns this.

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

Copies the fields of state to this.

Link copied to clipboard
open fun noStateLoaded()

Properties

Link copied to clipboard
open var currentScheme: WordScheme

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<WordScheme>

the schemes that the user can choose from

Sources

Link copied to clipboard