Package org.ka2ddo.yaac.pluginapi
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 Summary
Modifier and TypeMethodDescriptionvoid
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).void
columnListChanged
(ExtraColumnProvider provider, GuiContentType guiContentType) This method is called by an ExtraColumnProvider when its set of columns changes.
-
Method Details
-
columnListChanged
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 changeguiContentType
- 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 changeguiContentType
- the GuiContentType of the set of extra columnsextraColumnIndex
- zero-based index of extra column from this provider that changedrowData
- SupportsExtraData object for the modified row, or null for all rows
-