Package docking.widgets.table.threaded
Class ThreadedTableModelStub<ROW_OBJECT>
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- docking.widgets.table.AbstractGTableModel<T>
-
- docking.widgets.table.AbstractSortedTableModel<ROW_TYPE>
-
- docking.widgets.table.GDynamicColumnTableModel<ROW_OBJECT,DATA_SOURCE>
-
- docking.widgets.table.threaded.ThreadedTableModel<ROW_OBJECT,java.lang.Object>
-
- docking.widgets.table.threaded.ThreadedTableModelStub<ROW_OBJECT>
-
- Type Parameters:
ROW_OBJECT
- the row object class for this table model.
- All Implemented Interfaces:
ConfigurableColumnTableModel
,DynamicColumnTableModel<ROW_OBJECT>
,RowObjectFilterModel<ROW_OBJECT>
,RowObjectTableModel<ROW_OBJECT>
,SelectionStorage<ROW_OBJECT>
,SortedTableModel
,VariableColumnTableModel
,java.io.Serializable
,java.util.EventListener
,javax.swing.event.ChangeListener
,javax.swing.table.TableModel
- Direct Known Subclasses:
EmptyThreadedTableModel
public abstract class ThreadedTableModelStub<ROW_OBJECT> extends ThreadedTableModel<ROW_OBJECT,java.lang.Object>
A version ofThreadedTableModel
for clients that do not need aThreadedTableModel#DATA_SOURCE
.Note: this class will change a null value for the
ServiceProvider
parameter to a stubbed version. If your model needs a real service provider, then you can pass a non-null value.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class docking.widgets.table.threaded.ThreadedTableModel
ThreadedTableModel.IncrementalLoadJobListener
-
-
Field Summary
-
Fields inherited from class docking.widgets.table.threaded.ThreadedTableModel
allData, filteredData
-
Fields inherited from class docking.widgets.table.GDynamicColumnTableModel
columnSettings, serviceProvider, tableColumns
-
Fields inherited from class docking.widgets.table.AbstractSortedTableModel
hasEverSorted
-
Fields inherited from class docking.widgets.table.AbstractGTableModel
WIDTH_UNDEFINED
-
Fields inherited from interface docking.widgets.table.RowObjectFilterModel
SUB_FILTERING_DISABLED_PROPERTY
-
Fields inherited from interface docking.widgets.table.SortedTableModel
ASCENDING_ORDER, DESCENDING_ORDER
-
-
Constructor Summary
Constructors Constructor Description ThreadedTableModelStub(java.lang.String modelName, ServiceProvider serviceProvider)
ThreadedTableModelStub(java.lang.String modelName, ServiceProvider serviceProvider, TaskMonitor monitor)
ThreadedTableModelStub(java.lang.String modelName, ServiceProvider serviceProvider, TaskMonitor monitor, boolean loadIncrementally)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getDataSource()
Returns the table's context for the data.-
Methods inherited from class docking.widgets.table.threaded.ThreadedTableModel
addInitialLoadListener, addObject, addThreadedTableModelListener, cancelAllUpdates, clearData, createIncrementalLoadJob, createSortComparator, dispose, doFilter, doLoad, fireTableChanged, getAllData, getModelData, getModelIndex, getModelRow, getName, getRowCount, getRowObjects, getSortedColumnClass, getTableFilter, getUnfilteredData, getUnfilteredIndexForRowObject, getUnfilteredRowCount, getUnfilteredRowObjectForIndex, getValueAt, getViewIndex, getViewRow, hasFitler, initializeSorting, isBusy, isFiltered, isLoadIncrementally, reFilter, reload, removeObject, removeThreadedTableModelListener, reSort, setIncrementalTaskMonitor, setModelState, setTableFilter, sort, updateNow, updateObject
-
Methods inherited from class docking.widgets.table.GDynamicColumnTableModel
addTableColumn, addTableColumn, addTableColumns, createSortComparatorForColumn, createTableColumnDescriptor, getColumn, getColumnClass, getColumnCount, getColumnDescription, getColumnDisplayName, getColumnIndex, getColumnIndex, getColumnName, getColumnSettings, getColumnSettingsDefinitions, getColumnValueForRow, getDefaultColumnCount, getMaxLines, getPreferredColumnWidth, getRenderer, getUniqueIdentifier, isDefaultColumn, isSortable, isVisibleByDefault, loadDiscoveredTableColumns, removeTableColumn, removeTableColumns, setAllColumnSettings, setColumnSettings, stateChanged
-
Methods inherited from class docking.widgets.table.AbstractSortedTableModel
addSortListener, createSortingContext, getIndexForRowObject, getIndexForRowObject, getPendingSortState, getPrimarySortColumnIndex, getRowIndex, getRowObject, getTableSortState, isSorted, isSortPending, notifyModelSorted, setDefaultTableSortState, setTableSortState, sortCompleted
-
Methods inherited from class docking.widgets.table.AbstractGTableModel
getLastSelectedObjects, refresh, setLastSelectedObjects
-
Methods inherited from class javax.swing.table.AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface docking.widgets.table.RowObjectTableModel
fireTableDataChanged, getColumnValueForRow, getRowIndex, getRowObject
-
-
-
-
Constructor Detail
-
ThreadedTableModelStub
public ThreadedTableModelStub(java.lang.String modelName, ServiceProvider serviceProvider)
-
ThreadedTableModelStub
public ThreadedTableModelStub(java.lang.String modelName, ServiceProvider serviceProvider, TaskMonitor monitor)
-
ThreadedTableModelStub
public ThreadedTableModelStub(java.lang.String modelName, ServiceProvider serviceProvider, TaskMonitor monitor, boolean loadIncrementally)
-
-
Method Detail
-
getDataSource
public final java.lang.Object getDataSource()
Description copied from class:GDynamicColumnTableModel
Returns the table's context for the data.- Specified by:
getDataSource
in classGDynamicColumnTableModel<ROW_OBJECT,java.lang.Object>
- Returns:
- the table's context for the data.
-
-