ActivityTableModelEditor
abstract class ActivityTableModelEditor<T>(columns: Array<ColumnInfo<EditableDatum<T>, *>>, itemEditor: CollectionItemEditor<EditableDatum<T>>, emptyText: String, emptySubText: String, isCopyable: (T) -> Boolean = { true }, columnAdjuster: (List<TableColumn>) -> Unit = {}) : TableModelEditor<EditableDatum<T>> (source)
A table that associates a certain data type with a checkbox.
Parameters
T
the data type
columns
the columns of the table, excluding the activity column
itemEditor
describes what happens when a row is edited
emptyText
the text to display when the table is empty
Inheritors
Constructors
Link copied to clipboard
constructor(columns: Array<ColumnInfo<EditableDatum<T>, *>>, itemEditor: CollectionItemEditor<EditableDatum<T>>, emptyText: String, emptySubText: String, isCopyable: (T) -> Boolean = { true }, columnAdjuster: (List<TableColumn>) -> Unit = {})
Functions
Link copied to clipboard
Adds a listener that is called whenever this table is updated.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Creates a new JPanel
with the table and the corresponding buttons.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun modelListener(@NotNull p0: @NotNull TableModelEditor.DataChangedListener<EditableDatum<T>>): TableModelEditor<EditableDatum<T>>
Link copied to clipboard
open fun processModifiedItems(@NotNull p0: @NotNull BiPredicate<in EditableDatum<T>, in EditableDatum<T>>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard