com.lowagie.toolbox.swing

Class PdfInformationPanel

public class PdfInformationPanel extends JPanel implements PropertyChangeListener

Label for the FileChooser

Since: 2.1.1 (imported from itexttoolbox project)

Field Summary
Stringfilename
The file name of the PDF we're going to label.
JLabellabel
the label containing the metadata
JPanelpanel
the panel to witch the scrollpane will be added.
JScrollPanescrollpane
the scrollpane to scroll through the label
static longserialVersionUID
A serial version id
Constructor Summary
PdfInformationPanel()
Construct the information label (actually it's a JPanel).
Method Summary
voidcreateTextFromPDF(File file)
Reads a PDF file for retrieving its metadata.
voidpropertyChange(PropertyChangeEvent evt)

Field Detail

filename

String filename
The file name of the PDF we're going to label.

label

JLabel label
the label containing the metadata

panel

JPanel panel
the panel to witch the scrollpane will be added.

scrollpane

JScrollPane scrollpane
the scrollpane to scroll through the label

serialVersionUID

private static final long serialVersionUID
A serial version id

Constructor Detail

PdfInformationPanel

public PdfInformationPanel()
Construct the information label (actually it's a JPanel).

Method Detail

createTextFromPDF

public void createTextFromPDF(File file)
Reads a PDF file for retrieving its metadata.

Parameters: file File

propertyChange

public void propertyChange(PropertyChangeEvent evt)

Parameters: evt PropertyChangeEvent

See Also: java.beans.PropertyChangeListener#propertyChange(java.beans.PropertyChangeEvent)