DefaultEventKTableModel instead. This class will be removed in the GL
2.0 release. The wrapping of the source list with an SWT-EDT safe list has been
determined to be undesirable (it is better for the user to provide their own SWT-EDT
safe list).@Deprecated public class EventKTableModel extends DefaultEventKTableModel
KTableModel that displays an EventList. Each element of the
EventList corresponds to a row in the KTableModel. The columns
of the table must be specified using a TableFormat.
| Extension: KTable | |
| This Glazed Lists extension requires the third party library KTable. | |
| Tested Version: | 2.1.2 |
| Home page: | http://ktable.sourceforge.net/ |
| License: | Eclipse Public License |
The EventKTableModel class is not thread-safe. Unless otherwise
noted, all methods are only safe to be called from the SWT event dispatch thread.
To do this programmatically, use Display.asyncExec(Runnable).
source| Constructor and Description |
|---|
EventKTableModel(de.kupzog.ktable.KTable table,
EventList source,
TableFormat tableFormat)
Deprecated.
Create a new
EventKTableModel that uses elements from the
specified EventList as rows, and the specified TableFormat
to divide row objects across columns. |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Deprecated.
Releases the resources consumed by this
EventKTableModel so that it
may eventually be garbage collected. |
belongsToCell, getCellEditor, getCellRenderer, getColumnCount, getColumnWidth, getContentAt, getFixedHeaderColumnCount, getFixedHeaderRowCount, getFixedSelectableColumnCount, getFixedSelectableRowCount, getRowCount, getRowHeight, getRowHeightMinimum, getTooltipAt, isColumnResizable, isRowResizable, listChanged, setColumnWidth, setContentAt, setRowHeightpublic EventKTableModel(de.kupzog.ktable.KTable table,
EventList source,
TableFormat tableFormat)
EventKTableModel that uses elements from the
specified EventList as rows, and the specified TableFormat
to divide row objects across columns.table - the KTable the model is created forsource - the EventListtableFormat - provides logic to divide row objects across columns.
If the value implements the KTableFormat interface, those
methods will be used to provide further details such as cell renderers,
cell editors and row heights.public void dispose()
EventKTableModel so that it
may eventually be garbage collected.
A EventKTableModel will be garbage collected without a call to
dispose(), but not before its source EventList is garbage
collected. By calling dispose(), you allow the EventKTableModel
to be garbage collected before its source EventList. This is
necessary for situations where a EventKTableModel is short-lived but
its source EventList is long-lived.
Warning: It is an error
to call any method on a EventKTableModel after it has been disposed.
dispose in class DefaultEventKTableModelGlazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by swimmesberger at Wed Feb 13 09:45:20 CET 2019