ActivityTableModelEditor
abstract class ActivityTableModelEditor<T>(columns: Array<ColumnInfo<EditableDatum<T>, *>>, itemEditor: CollectionItemEditor<EditableDatum<T>>, emptyText: String, emptySubText: String, isCopyable: (T) -> Boolean, 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
emptySubText
the instruction to display when the table is empty
isCopyable
returns true
if and only if the given datum can be copied
columnAdjuster
invoked on the list of columns (including the activity column) to allow adjusting their properties
Constructors
ActivityTableModelEditor
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
the data type
Types
Functions
addChangeListener
Link copied to clipboard
apply
Link copied to clipboard
areSelectedItemsRemovable
Link copied to clipboard
fun areSelectedItemsRemovable(@NotNull() p0: @NotNull() ListSelectionModel): Boolean
Content copied to clipboard
canCreateElement
Link copied to clipboard
createComponent
Link copied to clipboard
createElement
Link copied to clipboard
disableUpDownActions
Link copied to clipboard
@NotNull()
Content copied to clipboard
enabled
Link copied to clipboard
@NotNull()
Content copied to clipboard
getItems
Link copied to clipboard
@NotNull()
Content copied to clipboard
getModel
Link copied to clipboard
@NotNull()
Content copied to clipboard
getMutable
Link copied to clipboard
@NotNull()
Content copied to clipboard
isEditable
Link copied to clipboard
isModified
Link copied to clipboard
modelListener
Link copied to clipboard
open fun modelListener(@NotNull() p0: @NotNull() TableModelEditor.DataChangedListener<EditableDatum<T>>): TableModelEditor<EditableDatum<T>>
Content copied to clipboard
processModifiedItems
Link copied to clipboard
open fun processModifiedItems(@NotNull() p0: @NotNull() BiPredicate<in EditableDatum<T>, in EditableDatum<T>>)
Content copied to clipboard
reset
Link copied to clipboard
open override fun reset(@NotNull() p0: @NotNull() MutableList<out EditableDatum<T>>)
Content copied to clipboard
selectItem
Link copied to clipboard
setShowGrid
Link copied to clipboard
silentlyReplaceItem
Link copied to clipboard
open fun silentlyReplaceItem(@NotNull() p0: @NotNull() EditableDatum<T>, @NotNull() p1: @NotNull() EditableDatum<T>, p2: Int)
Content copied to clipboard
Properties
activeData
Link copied to clipboard
helper
Link copied to clipboard
val helper: CollectionModelEditor.ModelHelper<EditableDatum<T>, CollectionItemEditor<EditableDatum<T>>>
Content copied to clipboard
itemEditor
Link copied to clipboard
Inheritors
Sources
jvm source
Link copied to clipboard