Class DictionaryTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
org.openpdf.rups.view.models.DictionaryTableModel
- All Implemented Interfaces:
Serializable, TableModel
A TableModel in case we want to show a PDF dictionary in a JTable.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected PdfDictionaryThe PDF dictionary.An ArrayList with the dictionary keys.private static final longA serial version UID.Fields inherited from class AbstractTableModel
listenerList -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColumnName(int columnIndex) intgetValueAt(int rowIndex, int columnIndex) Methods inherited from class AbstractTableModel
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDA serial version UID.- See Also:
-
dictionary
The PDF dictionary. -
keys
-
-
Constructor Details
-
DictionaryTableModel
Creates the TableModel.- Parameters:
dictionary- the dictionary we want to show
-
-
Method Details
-
getColumnCount
public int getColumnCount()- See Also:
-
getRowCount
public int getRowCount()- See Also:
-
getValueAt
- See Also:
-
getColumnName
- Specified by:
getColumnNamein interfaceTableModel- Overrides:
getColumnNamein classAbstractTableModel- See Also:
-