Interface DynamicColumnTableModel<ROW_TYPE>
- Type Parameters:
ROW_TYPE- the row type of the underlying table model
- All Superinterfaces:
ConfigurableColumnTableModel, RowObjectTableModel<ROW_TYPE>, TableModel
- All Known Implementing Classes:
AddressArrayTableModel, AddressBasedTableModel, AddressPreviewTableModel, AddressSetTableModel, AlignedObjectBasedPreviewTableModel, AnyObjectTableModel, BSimApplyResultsTableModel, BSimExecutablesSummaryModel, BSimMatchResultsModel, BSimOverviewModel, BSimServerTableModel, CustomLoadingAddressTableModel, DbSmallTableModel, DefaultEnumeratedColumnProgramTableModel, DefaultEnumeratedColumnTableModel, EmptyThreadedTableModel, FunctionXrefsTableModel, GDynamicColumnTableModel, GhidraProgramTableModel, GTreeTableModel, IncomingReferencesTableModel, MemoryMatchTableModel, ProgramLocationPreviewTableModel, ProjectDataTableModel, QuickFixTableModel, ReferencesFromTableModel, RowWrappedEnumeratedColumnTableModel, SetEquateTableModel, TableChooserTableModel, ThemeColorTableModel, ThemeFontTableModel, ThemeIconTableModel, ThreadedEnumeratedColumnTableModel, ThreadedTableModel, ThreadedTableModelStub, UserAccessTableModel
public interface DynamicColumnTableModel<ROW_TYPE>
extends ConfigurableColumnTableModel, RowObjectTableModel<ROW_TYPE>
Marks this model as one that is column-based, using
DynamicTableColumns.-
Method Summary
Modifier and TypeMethodDescriptiongetColumn(int index) Returns the column for the given model indexintgetColumnIndex(DynamicTableColumn<ROW_TYPE, ?, ?> column) Returns the model index for the given columndefault StringAllows table models to create their own preference key.Methods inherited from interface ConfigurableColumnTableModel
getColumnSettings, getColumnSettingsDefinitions, getEditor, getHeaderRenderer, getMaxLines, getRenderer, setAllColumnSettingsMethods inherited from interface RowObjectTableModel
fireTableDataChanged, getColumnValueForRow, getModelData, getName, getRowIndex, getRowObjectMethods inherited from interface TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
-
Method Details
-
getColumn
Returns the column for the given model index- Parameters:
index- the model index of the column (this can differ from the view index)- Returns:
- the column
-
getColumnIndex
Returns the model index for the given column- Parameters:
column- the column- Returns:
- the model index
-
getPreferenceKey
Allows table models to create their own preference key.The preference key is used to save the column state of this configurable model. All models that share a preference key will share the same visible column state. The
GTableColumnModelmanages this state for the framework. The column model will ask the table for its preference key, which will ask the model when not key has been set on the table. In the case that no key is set in the table or the model, a key will be created based on the classname and default columns.- Returns:
- the preference key; the default value is null
-