SettingsConfigurable

abstract class SettingsConfigurable<S : Settings<S, T>, T : Scheme<T>> : Configurable

A configurable to change settings of type S.

Allows the settings to be displayed in IntelliJ's settings window.

Parameters

S

the type of settings the configurable changes.

Constructors

SettingsConfigurable
Link copied to clipboard
fun SettingsConfigurable()
the type of settings the configurable changes.

Functions

apply
Link copied to clipboard
open override fun apply()
Saves the changes in the settings component to the default settings object.
cancel
Link copied to clipboard
open fun cancel()
createComponent
Link copied to clipboard
open override fun createComponent(): JComponent?
Returns the root pane of the settings component.
disposeUIResources
Link copied to clipboard
open fun disposeUIResources()
getDisplayName
Link copied to clipboard
abstract override fun getDisplayName(): String
Returns the name of the configurable as displayed in the settings window.
getHelpTopic
Link copied to clipboard
@Nullable()
@NonNls()
@Contract(pure = true)
open fun getHelpTopic(): @Nullable() @NonNls() String?
getPreferredFocusedComponent
Link copied to clipboard
open fun getPreferredFocusedComponent(): JComponent
isModified
Link copied to clipboard
open override fun isModified(): Boolean
Returns true if the settings were modified since they were loaded or they are invalid.
open fun <T : Any> isModified(@NotNull() p0: @NotNull() ComboBox<T>, p1: T): Boolean
open fun isModified(@NotNull() p0: @NotNull() JTextField, @NotNull() p1: @NotNull() String): Boolean
open fun isModified(@NotNull() p0: @NotNull() JToggleButton, p1: Boolean): Boolean
open fun isModified(@NotNull() p0: @NotNull() JTextField, p1: Int, @NotNull() p2: @NotNull() UINumericRange): Boolean
reset
Link copied to clipboard
open override fun reset()
Discards unsaved changes in the settings component.

Inheritors

ArraySettingsConfigurable
Link copied to clipboard
DecimalSettingsConfigurable
Link copied to clipboard
IntegerSettingsConfigurable
Link copied to clipboard
StringSettingsConfigurable
Link copied to clipboard
UuidSettingsConfigurable
Link copied to clipboard
WordSettingsConfigurable
Link copied to clipboard

Sources

jvm source
Link copied to clipboard