Interface ConfigurableColumnTableModel

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Settings getColumnSettings​(int index)
      Returns settings for the specified column index.
      SettingsDefinition[] getColumnSettingsDefinitions​(int index)
      Returns settings definitions for the specified column index.
      int getMaxLines​(int index)
      Gets the maximum number of text display lines needed for any given cell within the specified column.
      javax.swing.table.TableCellRenderer getRenderer​(int columnIndex)  
      void setAllColumnSettings​(Settings[] settings)
      Allows for the bulk setting of Settings.
      void setColumnSettings​(int index, Settings newSettings)
      A convenience method to set bulk column setting information for a group of columns at one time (this saves repeated rebuilding when settings are changing for multiple columns at once).
      • Methods inherited from interface javax.swing.table.TableModel

        addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
    • Method Detail

      • getColumnSettings

        Settings getColumnSettings​(int index)
        Returns settings for the specified column index.
        Parameters:
        index - column index
        Returns:
        column settings.
      • getColumnSettingsDefinitions

        SettingsDefinition[] getColumnSettingsDefinitions​(int index)
        Returns settings definitions for the specified column index.
        Parameters:
        index - column index
        Returns:
        column settings definitions.
      • setColumnSettings

        void setColumnSettings​(int index,
                               Settings newSettings)
        A convenience method to set bulk column setting information for a group of columns at one time (this saves repeated rebuilding when settings are changing for multiple columns at once).
        Parameters:
        index - the column index
        newSettings - A list of pair objects that contain the column index of the column to which the new settings apply and the new settings object.
      • setAllColumnSettings

        void setAllColumnSettings​(Settings[] settings)
        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.
        See Also:
        setColumnSettings(int, Settings)
      • getMaxLines

        int getMaxLines​(int index)
        Gets the maximum number of text display lines needed for any given cell within the specified column.
        Parameters:
        index - column field index
        Returns:
        maximum number of lines needed for specified column
      • getRenderer

        javax.swing.table.TableCellRenderer getRenderer​(int columnIndex)