intellij-randomness / com.fwdekker.randomness.array / ArraySettingsComponent

ArraySettingsComponent

class ArraySettingsComponent : SettingsComponent<ArraySettings>

Component for settings of random array generation.

See Also

ArraySettings

ArraySettingsAction

Constructors

<init>

ArraySettingsComponent(settings: ArraySettings = default)

Component for settings of random array generation.

Properties

rootPane

val rootPane: JPanel

The panel containing the settings.

Functions

doValidate

fun doValidate(): ValidationInfo?

Validates all input fields.

loadSettings

fun loadSettings(settings: ArraySettings): Unit

Loads settings.

saveSettings

fun saveSettings(settings: ArraySettings): 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.