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 Details

    • getColumn

      DynamicTableColumn<ROW_TYPE,?,?> getColumn(int index)
      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

      int getColumnIndex(DynamicTableColumn<ROW_TYPE,?,?> column)
      Returns the model index for the given column
      Parameters:
      column - the column
      Returns:
      the model index
    • getPreferenceKey

      default String 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 GTableColumnModel manages 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