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>>
Content copied to clipboard
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 = {})
Content copied to clipboard
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
fun areSelectedItemsRemovable(@NotNull p0: @NotNull ListSelectionModel): Boolean
Content 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
@NotNull
Content copied to clipboard
Link copied to clipboard
@NotNull
Content copied to clipboard
Link copied to clipboard
@NotNull
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
@NotNull
Content 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>>
Content copied to clipboard
Link copied to clipboard
open fun processModifiedItems(@NotNull p0: @NotNull BiPredicate<in EditableDatum<T>, in EditableDatum<T>>)
Content copied to clipboard
Link copied to clipboard
open override fun reset(@NotNull p0: @NotNull MutableList<out EditableDatum<T>>)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun silentlyReplaceItem( @NotNull p0: @NotNull EditableDatum<T>, @NotNull p1: @NotNull EditableDatum<T>, p2: Int)
Content copied to clipboard
Properties
Link copied to clipboard
val helper: CollectionModelEditor.ModelHelper<EditableDatum<T>, CollectionItemEditor<EditableDatum<T>>>
Content copied to clipboard