intellij-randomness / com.fwdekker.randomness.integer / IntegerSettingsConfigurable

IntegerSettingsConfigurable

class IntegerSettingsConfigurable : SettingsConfigurable<IntegerSettings, IntegerScheme>

The configurable for integer settings.

See Also

IntegerSettingsAction

Constructors

<init>

IntegerSettingsConfigurable(component: IntegerSettingsComponent = IntegerSettingsComponent())

The configurable for integer settings.

Properties

component

val component: IntegerSettingsComponent

The user interface for changing the settings.

Functions

getDisplayName

fun getDisplayName(): String

Returns the name of the configurable as displayed in the settings window.

Inherited Functions

apply

open fun apply(): Unit

Saves the changes in the settings component to the default settings object.

createComponent

open fun createComponent(): JComponent?

Returns the root pane of the settings component.

isModified

open fun isModified(): Boolean

Returns true if the settings were modified since they were loaded or they are invalid.

reset

open fun reset(): Unit

Discards unsaved changes in the settings component.