com.lowagie.rups.view.itext
public class XRefTable extends JTable implements JTableAutoModelInterface, Observer
Field Summary | |
---|---|
protected PdfReaderController | controller The renderer that will render an object when selected in the table. |
protected IndirectObjectFactory | objects The factory that can produce all the indirect objects. |
static long | serialVersionUID A serial version UID. |
Constructor Summary | |
---|---|
XRefTable(PdfReaderController controller) Creates a JTable visualizing xref table. |
Method Summary | |
---|---|
int | getColumnCount() |
String | getColumnName(int columnIndex) |
protected PdfObject | getObjectByRow(int rowIndex)
Gets the object that is shown in a row. |
protected String | getObjectDescriptionByRow(int rowIndex)
Gets the object that is shown in a row. |
protected int | getObjectReferenceByRow(int rowIndex)
Gets the reference number of an indirect object
based on the row index. |
int | getRowCount() |
Object | getValueAt(int rowIndex, int columnIndex) |
void | selectRowByReference(int ref)
Selects a row containing information about an indirect object. |
void | update(Observable observable, Object obj) |
void | valueChanged(ListSelectionEvent evt) |
See Also: javax.swing.JTable#getColumnCount()
See Also: javax.swing.JTable#getColumnName(int)
Parameters: rowIndex the row number containing the object
Returns: a PDF object
Parameters: rowIndex the row number containing the object
Returns: a PDF object
Parameters: rowIndex a row number
Returns: a reference number
See Also: javax.swing.JTable#getRowCount()
See Also: javax.swing.JTable#getValueAt(int, int)
Parameters: ref the reference number of the indirect object
See Also: java.util.Observer#update(java.util.Observable, java.lang.Object)
See Also: javax.swing.JTable#valueChanged(javax.swing.event.ListSelectionEvent)