WordSettings

data class WordSettings(schemes: MutableList<WordScheme>, currentSchemeName: String) : Settings<WordSettings, WordScheme>

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

See also

Constructors

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

Types

Companion
Link copied to clipboard
object Companion
Holds constants.

Functions

deepCopy
Link copied to clipboard
open override fun deepCopy(): WordSettings
Returns a deep copy of the settings and the contained schemes.
getState
Link copied to clipboard
open override fun getState(): WordSettings
Returns this.
initializeComponent
Link copied to clipboard
open fun initializeComponent()
loadState
Link copied to clipboard
open override fun loadState(state: WordSettings)
Copies the fields of state to this.
noStateLoaded
Link copied to clipboard
open fun noStateLoaded()

Properties

currentScheme
Link copied to clipboard
open var currentScheme: WordScheme
The instance of the scheme that is currently active.
currentSchemeName
Link copied to clipboard
open override var currentSchemeName: String
the scheme that is currently active
schemes
Link copied to clipboard
open override var schemes: MutableList<WordScheme>
the schemes that the user can choose from

Sources

jvm source
Link copied to clipboard