DecimalSettings

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

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

See also

Constructors

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

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

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

Returns this.

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

Copies the fields of state to this.

Link copied to clipboard
open fun noStateLoaded()

Properties

Link copied to clipboard
open var currentScheme: DecimalScheme

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

the schemes that the user can choose from

Sources

Link copied to clipboard