|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectca.odell.glazedlists.swt.GlazedListsKTable
public final class GlazedListsKTable
A factory for creating all sorts of objects relevant to the Glazed Lists KTable
extension.
Method Summary | |
---|---|
static DefaultEventKTableModel |
eventKTableModel(de.kupzog.ktable.KTable table,
EventList source,
TableFormat tableFormat)
Create a new DefaultEventKTableModel that uses elements from the
specified EventList as rows, and the specified TableFormat
to divide row objects across columns. |
static DefaultEventKTableModel |
eventKTableModelWithThreadProxyList(de.kupzog.ktable.KTable table,
EventList source,
TableFormat tableFormat)
Create a new DefaultEventKTableModel that uses elements from the
specified EventList as rows, and the specified TableFormat
to divide row objects across columns. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DefaultEventKTableModel eventKTableModel(de.kupzog.ktable.KTable table, EventList source, TableFormat tableFormat)
DefaultEventKTableModel
that uses elements from the
specified EventList
as rows, and the specified TableFormat
to divide row objects across columns.
The returned model is not thread-safe. Unless otherwise
noted, all methods are only safe to be called from the SWT event handler thread.
To do this programmatically, use Display.syncExec(Runnable)
and
wrap the source list (or some part of the source list's pipeline) using
GlazedListsSWT.swtThreadProxyList(EventList, Display)
.
table
- the KTable the model is created forsource
- the EventList
tableFormat
- 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 static DefaultEventKTableModel eventKTableModelWithThreadProxyList(de.kupzog.ktable.KTable table, EventList source, TableFormat tableFormat)
DefaultEventKTableModel
that uses elements from the
specified EventList
as rows, and the specified TableFormat
to divide row objects across columns.
The returned model is not thread-safe. Unless otherwise noted, all methods are only safe to be called from the SWT event handler thread.
table
- the KTable the model is created forsource
- the EventList
tableFormat
- 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |