Package docking.widgets.table
Interface DynamicTableColumn<ROW_TYPE,COLUMN_TYPE,DATA_SOURCE>
- 
- Type Parameters:
- ROW_TYPE- The row object class supported by this column
- COLUMN_TYPE- The column object class supported by this column
- DATA_SOURCE- The object class type that will be passed to see- getValue(ROW_TYPE, Settings, DATA_SOURCE, ServiceProvider)
 - All Known Subinterfaces:
- ProgramBasedDynamicTableColumn<ROW_TYPE,COLUMN_TYPE>,- ProgramLocationTableColumn<ROW_TYPE,COLUMN_TYPE>
 - All Known Implementing Classes:
- AbstractDynamicTableColumn,- AbstractDynamicTableColumnStub,- AbstractProgramBasedDynamicTableColumn,- AbstractProgramLocationTableColumn,- AbstractReferenceBytesTableColumn,- AbstractReferencePreviewTableColumn,- AddressSizeProjectDataColumn,- AddressTableColumn,- AddressTableDataTableColumn,- AddressTableLengthTableColumn,- ByteCountProgramLocationBasedTableColumn,- BytesTableColumn,- CodeUnitTableColumn,- ColumnDisplayDynamicTableColumnAdapter,- CompilerProjectDataColumn,- CreatedWithProjectDataColumn,- CreationDateProjectDataColumn,- DomainFileSizeProjectDataColumn,- DynamicTableColumnExtensionPoint,- EndianProjectDataColumn,- EOLCommentTableColumn,- ExecutablePathProjectDataColumn,- FormatProjectDataColumn,- FunctionBodySizeTableColumn,- FunctionCallingConventionTableColumn,- FunctionNameTableColumn,- FunctionParameterCountTableColumn,- FunctionPurgeTableColumn,- FunctionSignatureTableColumn,- FunctionTagTableColumn,- LabelTableColumn,- LanguageProjectDataColumn,- MappedProgramLocationTableColumn,- MappedTableColumn,- Md5ProjectDataColumn,- MemorySectionProgramLocationBasedTableColumn,- MemoryTypeProgramLocationBasedTableColumn,- NamespaceTableColumn,- OffcutReferenceCountToAddressTableColumn,- PreviewTableColumn,- ProcessorProjectDataColumn,- ProgramBasedDynamicTableColumnExtensionPoint,- ProgramLocationTableColumnExtensionPoint,- ProgramMappedTableColumn,- ProjectDataColumn,- ReferenceCountToAddressTableColumn,- ReferenceFromAddressTableColumn,- ReferenceFromBytesTableColumn,- ReferenceFromFunctionTableColumn,- ReferenceFromLabelTableColumn,- ReferenceFromPreviewTableColumn,- ReferenceToAddressTableColumn,- ReferenceToBytesTableColumn,- ReferenceToPreviewTableColumn,- ReferenceTypeTableColumn,- SourceTypeTableColumn,- SymbolTypeTableColumn
 
 public interface DynamicTableColumn<ROW_TYPE,COLUMN_TYPE,DATA_SOURCE>The root interface for defining columns forGDynamicColumnTableModels. The class allows you to create objects for tables that know how to give a column value for a given row.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Class<COLUMN_TYPE>getColumnClass()Determines the class of object that is associated with this field (column).java.lang.StringgetColumnDescription()Returns a description of this column.java.lang.StringgetColumnDisplayName(Settings settings)Determines the column heading that will be displayed.java.lang.StringgetColumnName()Determines the unique column heading that may be used to identify a column instance.intgetColumnPreferredWidth()Returns the preferred width for this column.GColumnRenderer<COLUMN_TYPE>getColumnRenderer()Returns the optional cell renderer for this column; null if no renderer is used.java.util.Comparator<COLUMN_TYPE>getComparator()If implemented, will return a comparator that knows how to sort values for this column.intgetMaxLines(Settings settings)Gets the maximum number of text display lines needed for any given cell with the specified settings.SettingsDefinition[]getSettingsDefinitions()Returns a list of settings definitions for this field.java.lang.Class<ROW_TYPE>getSupportedRowType()Returns the single class type of the data that this table field can use to generate columnar data.java.lang.StringgetUniqueIdentifier()Returns a value that is unique for this table column.COLUMN_TYPEgetValue(ROW_TYPE rowObject, Settings settings, DATA_SOURCE data, ServiceProvider serviceProvider)Creates an object that is appropriate for this field (table column) and for the object that is associated with this row of the table.
 
- 
- 
- 
Method Detail- 
getColumnNamejava.lang.String getColumnName() Determines the unique column heading that may be used to identify a column instance. This name must be non-changing and is used to save/restore state information.- Returns:
- the field instance name.
 
 - 
getColumnClassjava.lang.Class<COLUMN_TYPE> getColumnClass() Determines the class of object that is associated with this field (column).- Returns:
- the column class
 
 - 
getColumnPreferredWidthint getColumnPreferredWidth() Returns the preferred width for this column. Column should either return a valid positive preferred size or -1.- Returns:
- the preferred width for this column.
 
 - 
getSupportedRowTypejava.lang.Class<ROW_TYPE> getSupportedRowType() Returns the single class type of the data that this table field can use to generate columnar data.- Returns:
- the single class type of the data that this table field can use to generate columnar data.
 
 - 
getValueCOLUMN_TYPE getValue(ROW_TYPE rowObject, Settings settings, DATA_SOURCE data, ServiceProvider serviceProvider) throws java.lang.IllegalArgumentException Creates an object that is appropriate for this field (table column) and for the object that is associated with this row of the table.- Parameters:
- rowObject- the object associated with the row in the table.
- settings- field settings
- data- the expected data object, as defined by the DATA_SOURCE type
- serviceProvider- the- ServiceProviderassociated with the table.
- Returns:
- the object for the model to display in the table cell.
- Throws:
- java.lang.IllegalArgumentException- if the rowObject is not one supported by this class.
 
 - 
getColumnRendererGColumnRenderer<COLUMN_TYPE> getColumnRenderer() Returns the optional cell renderer for this column; null if no renderer is used.This method allows columns to define custom rendering. The interface returned here ensures that the text used for filtering matches what the users sees (via the GColumnRenderer.getFilterString(Object, Settings)method).Note: some types should not make use of the aforementioned filter string. These types include the Numberwrapper types,DateandEnums. (This is because the filtering system works naturally with these types.) SeeGColumnRenderer.- Returns:
- the renderer
 
 - 
getSettingsDefinitionsSettingsDefinition[] getSettingsDefinitions() Returns a list of settings definitions for this field.- Returns:
- list of settings definitions for this field.
 
 - 
getMaxLinesint getMaxLines(Settings settings) Gets the maximum number of text display lines needed for any given cell with the specified settings.- Parameters:
- settings- field settings
- Returns:
- maximum number of lines needed
 
 - 
getColumnDisplayNamejava.lang.String getColumnDisplayName(Settings settings) Determines the column heading that will be displayed.- Parameters:
- settings-
- Returns:
- the field name to display as the column heading.
 
 - 
getColumnDescriptionjava.lang.String getColumnDescription() Returns a description of this column. This may be used as a tooltip for the column header- Returns:
- a description of this column. This may be used as a tooltip for the column header.
 
 - 
getUniqueIdentifierjava.lang.String getUniqueIdentifier() Returns a value that is unique for this table column. This is different than getting the display name, which may be shared by different columns.- Returns:
- the identifier
 
 - 
getComparatorjava.util.Comparator<COLUMN_TYPE> getComparator() If implemented, will return a comparator that knows how to sort values for this column. Implementors should returnnullif they do not wish to provider a comparator- Returns:
- the comparator
 
 
- 
 
-