abstract class SettingsComponent<S : Settings<S>> : SettingsManager<S>
Superclass for settings components.
Subclasses MUST call loadSettings
in their constructor.
settings
- the settings to manage
Parameters
SettingsComponent(settings: S)
Superclass for settings components. |
abstract fun doValidate(): ValidationInfo?
Validates all input fields. |
|
abstract fun getRootPane(): JPanel?
Returns the panel containing the settings. |
|
fun isModified(): Boolean
Returns true if this component contains unsaved changes. |
|
open fun loadSettings(): Unit
Loads the default settings object. |
|
fun reset(): Unit
Discards unsaved changes. |
|
open fun saveSettings(): Unit
Saves settings to the default settings object. |
abstract fun loadSettings(settings: S): Unit
Loads |
|
abstract fun saveSettings(settings: S): Unit
Saves settings to |
class ArraySettingsComponent : SettingsComponent<ArraySettings!>
Component for settings of random array generation. |
|
class DecimalSettingsComponent : SettingsComponent<DecimalSettings!>
Component for settings of random decimal generation. |
|
class IntegerSettingsComponent : SettingsComponent<IntegerSettings!>
Component for settings of random integer generation. |
|
class StringSettingsComponent : SettingsComponent<StringSettings!>
Component for settings of random string generation. |
|
class UuidSettingsComponent : SettingsComponent<UuidSettings!>
Component for settings of random UUID generation. |
|
class WordSettingsComponent : SettingsComponent<WordSettings!>
Component for settings of random word generation. |