DictionaryTable

class DictionaryTable : ActivityTableModelEditor<DictionaryReference>

An editable table for selecting and editing Dictionaries.

See also

Constructors

DictionaryTable
Link copied to clipboard
fun DictionaryTable()

Types

Companion
Link copied to clipboard
object Companion
Holds constants.

Functions

addChangeListener
Link copied to clipboard
fun addChangeListener(listener: () -> Unit)
Adds a listener that is called whenever this table is updated.
apply
Link copied to clipboard
@NotNull()
open fun apply(): @NotNull() MutableList<EditableDatum<DictionaryReference>>
areSelectedItemsRemovable
Link copied to clipboard
fun areSelectedItemsRemovable(@NotNull() p0: @NotNull() ListSelectionModel): Boolean
canCreateElement
Link copied to clipboard
open override fun canCreateElement(): Boolean
createComponent
Link copied to clipboard
override fun createComponent(): JPanel
Creates a new JPanel with the table and the corresponding buttons.
createElement
Link copied to clipboard
open override fun createElement(): EditableDatum<DictionaryReference>
Creates a new placeholder Dictionary instance.
disableUpDownActions
Link copied to clipboard
@NotNull()
open fun disableUpDownActions(): @NotNull() TableModelEditor<EditableDatum<DictionaryReference>>
doValidate
Link copied to clipboard
fun doValidate(): ValidationInfo?
Returns null if a unique, non-empty selection of valid dictionaries has been made, or a ValidationInfo object explaining which input should be changed.
enabled
Link copied to clipboard
@NotNull()
open fun enabled(p0: Boolean): @NotNull() TableModelEditor<EditableDatum<DictionaryReference>>
getItems
Link copied to clipboard
@NotNull()
open override fun getItems(): @NotNull() MutableList<EditableDatum<DictionaryReference>>
getModel
Link copied to clipboard
@NotNull()
open fun getModel(): @NotNull() ListTableModel<EditableDatum<DictionaryReference>>
getMutable
Link copied to clipboard
@NotNull()
fun getMutable(@NotNull() p0: @NotNull() EditableDatum<DictionaryReference>): @NotNull() EditableDatum<DictionaryReference>
isEditable
Link copied to clipboard
open fun isEditable(@NotNull() p0: @NotNull() EditableDatum<DictionaryReference>): Boolean
isModified
Link copied to clipboard
fun isModified(): Boolean
modelListener
Link copied to clipboard
open fun modelListener(@NotNull() p0: @NotNull() TableModelEditor.DataChangedListener<EditableDatum<DictionaryReference>>): TableModelEditor<EditableDatum<DictionaryReference>>
processModifiedItems
Link copied to clipboard
open fun processModifiedItems(@NotNull() p0: @NotNull() BiPredicate<in EditableDatum<DictionaryReference>, in EditableDatum<DictionaryReference>>)
reset
Link copied to clipboard
open override fun reset(@NotNull() p0: @NotNull() MutableList<out EditableDatum<DictionaryReference>>)
selectItem
Link copied to clipboard
open fun selectItem(@NotNull() p0: @NotNull() EditableDatum<DictionaryReference>)
setShowGrid
Link copied to clipboard
open fun setShowGrid(p0: Boolean)
silentlyReplaceItem
Link copied to clipboard
open fun silentlyReplaceItem(@NotNull() p0: @NotNull() EditableDatum<DictionaryReference>, @NotNull() p1: @NotNull() EditableDatum<DictionaryReference>, p2: Int)

Properties

activeData
Link copied to clipboard
var activeData: Collection<DictionaryReference>
All data of which the checkbox is currently checked.
data
Link copied to clipboard
var data: Collection<DictionaryReference>
All data currently in the table.
helper
Link copied to clipboard
val helper: CollectionModelEditor.ModelHelper<EditableDatum<DictionaryReference>, CollectionItemEditor<EditableDatum<DictionaryReference>>>
itemEditor
Link copied to clipboard
val itemEditor: CollectionItemEditor<EditableDatum<DictionaryReference>>
panel
Link copied to clipboard
val panel: JPanel
The panel in which the table editor is present.

Sources

jvm source
Link copied to clipboard