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

DictionaryTable

class DictionaryTable : ActivityTableModelEditor<Dictionary>

An editable table for selecting and editing Dictionaries.

See Also

WordSettingsComponent

Constructors

<init>

DictionaryTable()

An editable table for selecting and editing Dictionaries.

Inherited Properties

activeData

var activeData: Collection<T>

All data of which the checkbox is currently checked.

data

var data: Collection<T>

All data currently in the table.

Functions

createElement

fun createElement(): EditableDictionary

Creates a new placeholder Dictionary instance.

Inherited Functions

addChangeListener

fun addChangeListener(listener: () -> Unit): Unit

Adds a listener that is called whenever this table is updated.

createComponent

open fun createComponent(): JPanel

Creates a new JPanel with the table and the corresponding buttons.

Companion Object Properties

DICTIONARY_CAST_EXCEPTION

const val DICTIONARY_CAST_EXCEPTION: String

The error message that is displayed if an unknown dictionary implementation is used.