Package com.fwdekker.randomness.word
Insertion of random words.
Types
Link copied to clipboard
A Dictionary
of which the underlying file is a resource in the JAR.
Link copied to clipboard
A collection of words that may become inaccessible at any moment in time.
Link copied to clipboard
data class DictionaryReference(val isBundled: Boolean, var filename: String) : Dictionary
Content copied to clipboard
References a dictionary by its properties.
Link copied to clipboard
An editable table for selecting and editing Dictionaries.
Link copied to clipboard
class InvalidDictionaryException(message: String? = null, cause: Throwable? = null) : Exception
Content copied to clipboard
Thrown when a Dictionary is found to be invalid and cannot be used in the intended way.
Link copied to clipboard
A Dictionary
of which the underlying file is a regular file.
Link copied to clipboard
All actions related to inserting words.
Link copied to clipboard
class WordInsertAction(scheme: () -> WordScheme = { WordSettings.default.currentScheme }) : DataInsertAction
Content copied to clipboard
Inserts random words.
Link copied to clipboard
data class WordScheme( var myName: String = DEFAULT_NAME, var minLength: Int = DEFAULT_MIN_LENGTH, var maxLength: Int = DEFAULT_MAX_LENGTH, var enclosure: String = DEFAULT_ENCLOSURE, var capitalization: CapitalizationMode = DEFAULT_CAPITALIZATION, var bundledDictionaryFiles: MutableSet<String> = DEFAULT_BUNDLED_DICTIONARY_FILES.toMutableSet(), var activeBundledDictionaryFiles: MutableSet<String> = DEFAULT_ACTIVE_BUNDLED_DICTIONARY_FILES.toMutableSet(), var userDictionaryFiles: MutableSet<String> = DEFAULT_USER_DICTIONARY_FILES.toMutableSet(), var activeUserDictionaryFiles: MutableSet<String> = DEFAULT_ACTIVE_USER_DICTIONARY_FILES.toMutableSet()) : Scheme<WordScheme>
Content copied to clipboard
Contains settings for generating random words.
Link copied to clipboard
data class WordSettings(var schemes: MutableList<WordScheme> = DEFAULT_SCHEMES, var currentSchemeName: String = DEFAULT_CURRENT_SCHEME_NAME) : Settings<WordSettings, WordScheme>
Content copied to clipboard
The user-configurable collection of schemes applicable to generating words.
Link copied to clipboard
Controller for random string generation settings.
Link copied to clipboard
class WordSettingsComponent(settings: WordSettings = default) : SettingsComponent<WordSettings, WordScheme>
Content copied to clipboard
Component for settings of random word generation.
Link copied to clipboard
class WordSettingsConfigurable(component: WordSettingsComponent = WordSettingsComponent()) : SettingsConfigurable<WordSettings, WordScheme>
Content copied to clipboard
The configurable for word settings.