public class DictionaryTableModel
extends javax.swing.table.AbstractTableModel
Modifier and Type | Field and Description |
---|---|
protected PdfDictionary |
dictionary
The PDF dictionary.
|
protected java.util.ArrayList<PdfName> |
keys
An ArrayList with the dictionary keys.
|
private static long |
serialVersionUID
A serial version UID.
|
Constructor and Description |
---|
DictionaryTableModel(PdfDictionary dictionary)
Creates the TableModel.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumnCount() |
java.lang.String |
getColumnName(int columnIndex) |
int |
getRowCount() |
java.lang.Object |
getValueAt(int rowIndex,
int columnIndex) |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getColumnClass, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
private static final long serialVersionUID
protected PdfDictionary dictionary
protected java.util.ArrayList<PdfName> keys
public DictionaryTableModel(PdfDictionary dictionary)
dictionary
- the dictionary we want to showpublic int getColumnCount()
TableModel.getColumnCount()
public int getRowCount()
TableModel.getRowCount()
public java.lang.Object getValueAt(int rowIndex, int columnIndex)
TableModel.getValueAt(int, int)
public java.lang.String getColumnName(int columnIndex)
getColumnName
in interface javax.swing.table.TableModel
getColumnName
in class javax.swing.table.AbstractTableModel
AbstractTableModel.getColumnName(int)