intellij-randomness / com.fwdekker.randomness.word / WordSettings

WordSettings

class WordSettings : Settings<WordSettings>

Contains settings for generating random words.

See Also

WordInsertAction

WordSettingsAction

WordSettingsDialog

Constructors

<init>

WordSettings()

Contains settings for generating random words.

Properties

activeBundledDictionaries

var activeBundledDictionaries: Set<BundledDictionary>

A mutable view of the filenames of the files in activeBundledDictionaryFiles.

activeBundledDictionaryFiles

var activeBundledDictionaryFiles: MutableSet<String>

The list of bundled dictionary files that are currently active.

activeUserDictionaries

var activeUserDictionaries: Set<UserDictionary>

A mutable view of the filenames of the files in activeUserDictionaryFiles.

activeUserDictionaryFiles

var activeUserDictionaryFiles: MutableSet<String>

The list of user dictionary files that are currently active.

bundledDictionaries

var bundledDictionaries: Set<BundledDictionary>

A mutable view of the filenames of the files in bundledDictionaryFiles.

bundledDictionaryFiles

var bundledDictionaryFiles: MutableSet<String>

The list of all dictionary files provided by the plugin.

capitalization

var capitalization: CapitalizationMode

The way in which the generated word should be capitalized.

enclosure

var enclosure: String

The string that encloses the generated word on both sides.

maxLength

var maxLength: Int

The maximum length of the generated word, inclusive.

minLength

var minLength: Int

The minimum length of the generated word, inclusive.

userDictionaries

var userDictionaries: Set<UserDictionary>

A mutable view of the filenames of the files in userDictionaryFiles.

userDictionaryFiles

var userDictionaryFiles: MutableSet<String>

The list of all dictionary files registered by the user.

Functions

getState

fun getState(): WordSettings

Returns this.

loadState

fun loadState(state: WordSettings): Unit

Copies the fields of state to this.

Companion Object Properties

default

val default: WordSettings

The persistent WordSettings instance.

DEFAULT_CAPITALIZATION

val DEFAULT_CAPITALIZATION: CapitalizationMode

The default value of the capitalization field.

DEFAULT_ENCLOSURE

const val DEFAULT_ENCLOSURE: String

The default value of the enclosure field.

DEFAULT_MAX_LENGTH

const val DEFAULT_MAX_LENGTH: Int

The default value of the maxLength field.

DEFAULT_MIN_LENGTH

const val DEFAULT_MIN_LENGTH: Int

The default value of the minLength field.