public class DictionaryTableModel extends AbstractTableModel
| Modifier and Type | Field and Description |
|---|---|
protected PdfDictionary |
dictionary
The PDF dictionary.
|
protected ArrayList<PdfName> |
keys
An ArrayList with the dictionary keys.
|
listenerList| Constructor and Description |
|---|
DictionaryTableModel(PdfDictionary dictionary)
Creates the TableModel.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getColumnCount() |
String |
getColumnName(int columnIndex) |
int |
getRowCount() |
Object |
getValueAt(int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableDataChanged, fireTableChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAtprotected PdfDictionary dictionary
public DictionaryTableModel(PdfDictionary dictionary)
dictionary - the dictionary we want to showpublic int getColumnCount()
TableModel.getColumnCount()public int getRowCount()
TableModel.getRowCount()public Object getValueAt(int rowIndex, int columnIndex)
TableModel.getValueAt(int, int)public String getColumnName(int columnIndex)
getColumnName in interface TableModelgetColumnName in class AbstractTableModelAbstractTableModel.getColumnName(int)Copyright © 2015. All rights reserved.