Interface ConfigurableColumnTableModel

All Superinterfaces:
TableModel
All Known Subinterfaces:
DynamicColumnTableModel<ROW_TYPE>
All Known Implementing Classes:
AddressArrayTableModel, AddressBasedTableModel, AddressPreviewTableModel, AddressSetTableModel, AlignedObjectBasedPreviewTableModel, AnyObjectTableModel, CustomLoadingAddressTableModel, DbSmallTableModel, EmptyThreadedTableModel, FunctionXrefsTableModel, GDynamicColumnTableModel, GhidraProgramTableModel, IncomingReferencesTableModel, MemoryMatchTableModel, ProgramLocationPreviewTableModel, ProjectDataTableModel, ReferencesFromTableModel, SetEquateTableModel, TableChooserTableModel, ThemeColorTableModel, ThemeFontTableModel, ThemeIconTableModel, ThreadedTableModel, ThreadedTableModelStub

public interface ConfigurableColumnTableModel extends TableModel
A model that provides access to table columns that are "configurable," whether by way of Settings object, or by the implementations and how they were written (like supplying custom renderers and such).
  • Method Details

    • getColumnSettings

      Settings getColumnSettings(int index)
      Returns settings for the specified column index
      Parameters:
      index - column index
      Returns:
      column settings.
    • getColumnSettingsDefinitions

      SettingsDefinition[] getColumnSettingsDefinitions(int index)
      Returns settings definitions for the specified column index
      Parameters:
      index - column index
      Returns:
      column settings definitions.
    • setAllColumnSettings

      void setAllColumnSettings(Settings[] settings)
      Allows for the bulk setting of Settings. This prevents excessive event notification when all settings need to be changed.
      Parameters:
      settings - An array of Settings that contains Settings for each column where the index of the Settings in the array is the index of the column in the model
    • getMaxLines

      int getMaxLines(int index)
      Gets the maximum number of text display lines needed for any given cell within the specified column
      Parameters:
      index - column field index
      Returns:
      maximum number of lines needed for specified column
    • getRenderer

      TableCellRenderer getRenderer(int columnIndex)
      Returns the table cell renderer for the given column
      Parameters:
      columnIndex - the index of the column
      Returns:
      the renderer
    • getHeaderRenderer

      TableCellRenderer getHeaderRenderer(int columnIndex)
      Returns the header cell renderer for the given column
      Parameters:
      columnIndex - the index of the column
      Returns:
      the renderer