|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object javax.swing.table.AbstractTableModel com.lowagie.rups.view.models.DictionaryTableModel
public class DictionaryTableModel
A TableModel in case we want to show a PDF dictionary in a JTable.
Field Summary | |
---|---|
protected PdfDictionary |
dictionary
The PDF dictionary. |
protected java.util.ArrayList<PdfName> |
keys
An ArrayList with the dictionary keys. |
Fields inherited from class javax.swing.table.AbstractTableModel |
---|
listenerList |
Constructor Summary | |
---|---|
DictionaryTableModel(PdfDictionary dictionary)
Creates the TableModel. |
Method Summary | |
---|---|
int |
getColumnCount()
|
java.lang.String |
getColumnName(int columnIndex)
|
int |
getRowCount()
|
java.lang.Object |
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected PdfDictionary dictionary
protected java.util.ArrayList<PdfName> keys
Constructor Detail |
---|
public DictionaryTableModel(PdfDictionary dictionary)
dictionary
- the dictionary we want to showMethod Detail |
---|
public 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)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |