Interface ConfigurableColumnTableModel
- All Superinterfaces:
TableModel
- All Known Subinterfaces:
DynamicColumnTableModel<ROW_TYPE>
- 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
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 Summary
Modifier and TypeMethodDescriptiongetColumnSettings(int index) Returns settings for the specified column index.getColumnSettingsDefinitions(int index) Returns settings definitions for the specified column index.getEditor(int columnIndex) Returns the table cell editor for the given column.getHeaderRenderer(int columnIndex) Returns the header cell renderer for the given column.intgetMaxLines(int index) Returns the maximum number of text display lines needed for any given cell within the specified column.getRenderer(int columnIndex) Returns the table cell renderer for the given column.voidsetAllColumnSettings(Settings[] settings) Allows for the bulk setting of Settings.Methods inherited from interface TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
-
Method Details
-
getColumnSettings
Returns settings for the specified column index.- Parameters:
index- column index- Returns:
- settings for the specified column index
-
getColumnSettingsDefinitions
Returns settings definitions for the specified column index.- Parameters:
index- column index- Returns:
- settings definitions for the specified column index
-
setAllColumnSettings
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) Returns the maximum number of text display lines needed for any given cell within the specified column.- Parameters:
index- column field index- Returns:
- the maximum number of text display lines needed for any given cell within the specified column
-
getRenderer
Returns the table cell renderer for the given column.A null value indicates this column uses the default cell renderer.
- Parameters:
columnIndex- the index of the column- Returns:
- the table cell renderer for the given column
-
getEditor
Returns the table cell editor for the given column.A null value indicates this column uses the default cell editor.
- Parameters:
columnIndex- the index of the column- Returns:
- the table cell editor for the given column
-
getHeaderRenderer
Returns the header cell renderer for the given column.A null value indicates this column uses the default header renderer.
- Parameters:
columnIndex- the index of the column- Returns:
- the header cell renderer for the given column
-