Class DeviceNTableModel

  • All Implemented Interfaces:
    java.io.Serializable, javax.swing.table.TableModel

    public class DeviceNTableModel
    extends javax.swing.table.AbstractTableModel
    This the table model for showing DeviceN color space which extends AbstractTableModel.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String[] COLUMNNAMES  
      private DeviceNColorant[] data  
      • Fields inherited from class javax.swing.table.AbstractTableModel

        listenerList
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<?> getColumnClass​(int columnIndex)  
      int getColumnCount()  
      java.lang.String getColumnName​(int column)  
      int getRowCount()  
      java.lang.Object getValueAt​(int row, int column)  
      • Methods inherited from class javax.swing.table.AbstractTableModel

        addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COLUMNNAMES

        private static final java.lang.String[] COLUMNNAMES
    • Constructor Detail

      • DeviceNTableModel

        public DeviceNTableModel​(DeviceNColorant[] colorants)
        Constructor
        Parameters:
        colorants - array of DeviceNColorant
    • Method Detail

      • getRowCount

        public int getRowCount()
      • getColumnCount

        public int getColumnCount()
      • getValueAt

        public java.lang.Object getValueAt​(int row,
                                           int column)
      • getColumnName

        public java.lang.String getColumnName​(int column)
        Specified by:
        getColumnName in interface javax.swing.table.TableModel
        Overrides:
        getColumnName in class javax.swing.table.AbstractTableModel
      • getColumnClass

        public java.lang.Class<?> getColumnClass​(int columnIndex)
        Specified by:
        getColumnClass in interface javax.swing.table.TableModel
        Overrides:
        getColumnClass in class javax.swing.table.AbstractTableModel