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
Constructors
Link copied to clipboard
fun <T> ActivityTableModelEditor(columns: Array<ColumnInfo<EditableDatum<T>, *>>, itemEditor: CollectionItemEditor<EditableDatum<T>>, emptyText: String, emptySubText: String, isCopyable: (T) -> Boolean = { true }, columnAdjuster: (List<TableColumn>) -> Unit = {})
Types
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