Interface TableColumnInitializer


public interface TableColumnInitializer
Add on interface for DynamicTableColumn classes inside a SearchLocationTableModel that let them control aspects of the matching TableColumn.
  • Method Details

    • initializeTableColumns

      static void initializeTableColumns(GTable table, GDynamicColumnTableModel<?,?> model)
      Best called during DialogComponentProvider.dialogShown(docking.Tool) or ComponentProvider.componentShown()
      Parameters:
      table - table component
      model - table model
    • initializeTableColumn

      void initializeTableColumn(TableColumn col, FontMetrics fm, int padding)
      Called to allow the initializer to modify the specified TableColumn
      Parameters:
      col - TableColumn
      fm - FontMetrics used by the table header gui component
      padding - padding to use in the column