Class DeviceNTableModel
- java.lang.Object
-
- javax.swing.table.AbstractTableModel
-
- org.apache.pdfbox.debugger.colorpane.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
-
Constructor Summary
Constructors Constructor Description DeviceNTableModel(DeviceNColorant[] colorants)
Constructor
-
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
-
-
-
-
Field Detail
-
COLUMNNAMES
private static final java.lang.String[] COLUMNNAMES
-
data
private final DeviceNColorant[] data
-
-
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 interfacejavax.swing.table.TableModel
- Overrides:
getColumnName
in classjavax.swing.table.AbstractTableModel
-
getColumnClass
public java.lang.Class<?> getColumnClass(int columnIndex)
- Specified by:
getColumnClass
in interfacejavax.swing.table.TableModel
- Overrides:
getColumnClass
in classjavax.swing.table.AbstractTableModel
-
-