intellij-randomness / com.fwdekker.randomness.string / StringSettingsComponent

StringSettingsComponent

class StringSettingsComponent : SettingsComponent<StringSettings>

Component for settings of random string generation.

See Also

StringSettings

StringSettingsAction

SymbolSetTable

Constructors

<init>

StringSettingsComponent(settings: StringSettings = default)

Component for settings of random string generation.

Properties

rootPane

val rootPane: JPanel

The panel containing the settings.

Functions

doValidate

fun doValidate(): ValidationInfo?

Validates all input fields.

isModified

fun isModified(settings: StringSettings): Boolean

Returns true if this component contains unsaved changes.

loadSettings

fun loadSettings(settings: StringSettings): Unit

Loads settings.

saveSettings

fun saveSettings(settings: StringSettings): Unit

Saves settings to settings.

Inherited Functions

isModified

fun isModified(): 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.