abstract class SettingsDialog<S : Settings<*>> : DialogWrapper, SettingsManager<S>
Superclass for settings dialogs.
Subclasses MUST call init
and loadSettings
in their constructor.
settings
- the settings to manage
Parameters
SettingsDialog(settings: S)
Superclass for settings dialogs. |
open fun doOKAction(): Unit
Saves the settings and closes the dialog when the OK button is pressed. |
|
abstract fun doValidate(): ValidationInfo?
Validates all input fields. |
|
open fun getDimensionServiceKey(): String
Returns the key used to persist dialog dimensions. |
|
open fun loadSettings(): Unit
Loads the default settings object. |
|
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 ArraySettingsDialog : SettingsDialog<ArraySettings!>
Dialog for settings of random array generation. |
|
class DecimalSettingsDialog : SettingsDialog<DecimalSettings!>
Dialog for settings of random decimal generation. |
|
class IntegerSettingsDialog : SettingsDialog<IntegerSettings!>
Dialog for settings of random integer generation. |
|
class StringSettingsDialog : SettingsDialog<StringSettings!>
Dialog for settings of random string generation. |
|
class UuidSettingsDialog : SettingsDialog<UuidSettings!>
Dialog for settings of random UUID generation. |
|
class WordSettingsDialog : SettingsDialog<WordSettings!>
Dialog for settings of random word generation. |