Class SetEquateTableModel
- All Implemented Interfaces:
ConfigurableColumnTableModel, DynamicColumnTableModel<SetEquateDialog.EquateRowObject>, RowObjectTableModel<SetEquateDialog.EquateRowObject>, SelectionStorage<SetEquateDialog.EquateRowObject>, SortedTableModel, VariableColumnTableModel, Serializable, EventListener, ChangeListener, TableModel
public class SetEquateTableModel
extends GDynamicColumnTableModel<SetEquateDialog.EquateRowObject, Program>
- See Also:
-
Field Summary
Fields inherited from class GDynamicColumnTableModel
columnSettings, serviceProvider, tableColumnsFields inherited from class AbstractSortedTableModel
hasEverSortedFields inherited from class AbstractGTableModel
isDisposed, WIDTH_UNDEFINEDFields inherited from class AbstractTableModel
listenerListFields inherited from interface SortedTableModel
ASCENDING_ORDER, DESCENDING_ORDER -
Constructor Summary
ConstructorsConstructorDescriptionSetEquateTableModel(ServiceProvider serviceProvider, List<SetEquateDialog.EquateRowObject> data, Program program) -
Method Summary
Modifier and TypeMethodDescriptionReturns the table's context for the data.Implementors should return the current data of the model.getName()Returns the name of this modelMethods inherited from class GDynamicColumnTableModel
addTableColumn, addTableColumn, addTableColumns, addTableColumns, createSortComparator, createSortComparatorForColumn, dispose, disposeDynamicColumnData, getColumn, getColumnClass, getColumnCount, getColumnDescription, getColumnDisplayName, getColumnIndex, getColumnIndex, getColumnName, getColumnSettings, getColumnSettingsDefinitions, getColumnValueForRow, getDefaultColumnCount, getHeaderRenderer, getMaxLines, getPreferredColumnWidth, getRenderer, getTableColumnDescriptor, getUniqueIdentifier, isDefaultColumn, isSortable, isVisibleByDefault, loadDiscoveredTableColumns, reloadColumns, removeTableColumn, removeTableColumns, setAllColumnSettings, stateChangedMethods inherited from class AbstractSortedTableModel
addSortListener, cleanupTableSortState, createSortingContext, fireTableChanged, getIndexForRowObject, getIndexForRowObject, getPendingSortState, getPrimarySortColumnIndex, getRowIndex, getRowObject, getTableSortState, getValueAt, initializeSorting, isSorted, isSortPending, notifyModelSorted, reSort, setDefaultTableSortState, setTableSortState, sort, sortCompletedMethods inherited from class AbstractGTableModel
getLastSelectedObjects, getRowCount, isDisposed, refresh, setLastSelectedObjectsMethods inherited from class AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RowObjectTableModel
fireTableDataChanged, getRowIndex, getRowObjectMethods inherited from interface TableModel
addTableModelListener, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
-
Constructor Details
-
SetEquateTableModel
public SetEquateTableModel(ServiceProvider serviceProvider, List<SetEquateDialog.EquateRowObject> data, Program program)
-
-
Method Details
-
getName
Description copied from interface:RowObjectTableModelReturns the name of this model- Returns:
- the name of this model
-
getModelData
Description copied from interface:RowObjectTableModelImplementors should return the current data of the model. For models that support filtering, this will be the filtered version of the data. Furthermore, the data should be the underlying data and not a copy, as this method will potentially sort the given data.For those subclasses using an array, you may use the
Arraysclass to create a list backed by the array (Arrays.asList(Object...)).- Returns:
- the model data.
-
createTableColumnDescriptor
- Specified by:
createTableColumnDescriptorin classGDynamicColumnTableModel<SetEquateDialog.EquateRowObject, Program>
-
getDataSource
Description copied from class:GDynamicColumnTableModelReturns the table's context for the data.- Specified by:
getDataSourcein classGDynamicColumnTableModel<SetEquateDialog.EquateRowObject, Program>- Returns:
- the table's context for the data.
-