intellij-randomness / com.fwdekker.randomness.decimal / DecimalSettingsComponent

DecimalSettingsComponent

class DecimalSettingsComponent : SettingsComponent<DecimalSettings>

Component for settings of random decimal generation.

See Also

DecimalSettings

DecimalSettingsAction

Constructors

<init>

DecimalSettingsComponent(settings: DecimalSettings = default)

Component for settings of random decimal generation.

Properties

rootPane

val rootPane: JPanel

The panel containing the settings.

Functions

doValidate

fun doValidate(): ValidationInfo?

Validates all input fields.

loadSettings

fun loadSettings(settings: DecimalSettings): Unit

Loads settings.

saveSettings

fun saveSettings(settings: DecimalSettings): Unit

Saves settings to settings.

Inherited Functions

isModified

fun isModified(): Boolean
open fun isModified(settings: S): Boolean

Returns true if this component contains unsaved changes.

loadSettings

open fun loadSettings(): Unit

Loads the default settings object.

reset

fun reset(): Unit

Discards unsaved changes.

saveSettings

open fun saveSettings(): Unit

Saves settings to the default settings object.