Package com.lowagie.rups.view.models
Class DictionaryTableModel
java.lang.Object
javax.swing.table.AbstractTableModel
com.lowagie.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 PdfDictionary
The PDF dictionary.An ArrayList with the dictionary keys.private static final long
A serial version UID.Fields inherited from class javax.swing.table.AbstractTableModel
listenerList
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getColumnName
(int columnIndex) int
getValueAt
(int rowIndex, int columnIndex) Methods inherited from class javax.swing.table.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
An ArrayList with the 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:
getColumnName
in interfaceTableModel
- Overrides:
getColumnName
in classAbstractTableModel
- See Also:
-