Interface ExtraColumnProviderChangeListener

All Known Implementing Classes:
LocalObjectTableModel, StationListTableModel

public interface ExtraColumnProviderChangeListener
This interface specifies an object that wants to be informed when an ExtraColumnProvider modifies its list of custom columns in real-time.
Author:
Andrew Pavlin, KA2DDO
  • Method Details

    • columnListChanged

      void columnListChanged(ExtraColumnProvider provider, GuiContentType guiContentType)
      This method is called by an ExtraColumnProvider when its set of columns changes. Note this does not mean the values of individual rows for the column, but when the presence/absence, data type, or column name of any column provided by this provider is modified. Typically, this event would cause a table model data structure change on tables using these columns.
      Parameters:
      provider - the ExtraColumnProvider reporting the change
      guiContentType - the GuiContentType of the set of modified extra columns
    • cellValueChanged

      void cellValueChanged(ExtraColumnProvider provider, GuiContentType guiContentType, int extraColumnIndex, SupportsExtraData rowData)
      This method is cslled by an ExtraColumnProvider when the value in a cell of an extra column changes (corresponding to a TableModelEvent.UPDATE on the displaying table's model). Allows ExtraColumnProvider instances to have dynamically changing values.
      Parameters:
      provider - the ExtraColumnProvider reporting the change
      guiContentType - the GuiContentType of the set of extra columns
      extraColumnIndex - zero-based index of extra column from this provider that changed
      rowData - SupportsExtraData object for the modified row, or null for all rows