DecimalSettings

data class DecimalSettings(schemes: MutableList<DecimalScheme>, currentSchemeName: String) : Settings<DecimalSettings, DecimalScheme>

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

See also

Constructors

DecimalSettings
Link copied to clipboard
fun DecimalSettings(schemes: MutableList<DecimalScheme> = 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(): DecimalSettings
Returns a deep copy of the settings and the contained schemes.
getState
Link copied to clipboard
open override fun getState(): DecimalSettings
Returns this.
initializeComponent
Link copied to clipboard
open fun initializeComponent()
loadState
Link copied to clipboard
open override fun loadState(state: DecimalSettings)
Copies the fields of state to this.
noStateLoaded
Link copied to clipboard
open fun noStateLoaded()

Properties

currentScheme
Link copied to clipboard
open var currentScheme: DecimalScheme
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<DecimalScheme>
the schemes that the user can choose from

Sources

jvm source
Link copied to clipboard