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, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
protected 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 TableModel
getColumnName
in class AbstractTableModel
AbstractTableModel.getColumnName(int)
Copyright © 2013 InProTopia Corporation. All Rights Reserved.