com.lowagie.rups.view.itext

Class PdfObjectPanel

public class PdfObjectPanel extends JPanel implements Observer

Field Summary
protected CardLayoutlayout
The layout that will show the info about the PDF object that is being analyzed.
static longserialVersionUID
a serial version id.
JTabletable
Table with dictionary entries.
JTextAreatext
The text pane with the info about a PDF object in the bottom panel.
static StringTABLE
Name of a panel in the CardLayout.
static StringTEXT
Name of a panel in the CardLayout.
Constructor Summary
PdfObjectPanel()
Creates a PDF object panel.
Method Summary
voidclear()
Clear the object panel.
voidrender(PdfObject object)
Shows a PdfObject as text or in a table.
voidupdate(Observable observable, Object obj)

Field Detail

layout

protected CardLayout layout
The layout that will show the info about the PDF object that is being analyzed.

serialVersionUID

private static final long serialVersionUID
a serial version id.

table

JTable table
Table with dictionary entries.

text

JTextArea text
The text pane with the info about a PDF object in the bottom panel.

TABLE

private static final String TABLE
Name of a panel in the CardLayout.

TEXT

private static final String TEXT
Name of a panel in the CardLayout.

Constructor Detail

PdfObjectPanel

public PdfObjectPanel()
Creates a PDF object panel.

Method Detail

clear

public void clear()
Clear the object panel.

render

public void render(PdfObject object)
Shows a PdfObject as text or in a table.

Parameters: object the object that needs to be shown.

update

public void update(Observable observable, Object obj)

See Also: java.util.Observer#update(java.util.Observable, java.lang.Object)