ca.odell.glazedlists.swt
Class EventKTableModel
java.lang.Object
ca.odell.glazedlists.swt.DefaultEventKTableModel
ca.odell.glazedlists.swt.EventKTableModel
- All Implemented Interfaces:
- ListEventListener, de.kupzog.ktable.KTableModel, EventListener
Deprecated. Use 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).
public class EventKTableModel
- extends DefaultEventKTableModel
A 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.
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).
- Author:
- Jesse Wilson, Holger Brands
|
Method Summary |
void |
dispose()
Deprecated. Releases the resources consumed by this EventKTableModel so that it
may eventually be garbage collected. |
| Methods inherited from class ca.odell.glazedlists.swt.DefaultEventKTableModel |
belongsToCell, getCellEditor, getCellRenderer, getColumnCount, getColumnWidth, getContentAt, getFixedHeaderColumnCount, getFixedHeaderRowCount, getFixedSelectableColumnCount, getFixedSelectableRowCount, getRowCount, getRowHeight, getRowHeightMinimum, getTooltipAt, isColumnResizable, isRowResizable, listChanged, setColumnWidth, setContentAt, setRowHeight |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventKTableModel
public 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.
- Parameters:
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.
dispose
public void dispose()
- Deprecated.
- Releases the resources consumed by this
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.
- Overrides:
dispose in class DefaultEventKTableModel
Glazed Lists, Copyright © 2003 publicobject.com, O'Dell Engineering.
Documentation build by hbrands at 2015-02-16 14:02