com.lowagie.tools.plugins
Class ImageXRefViewer

java.lang.Object
  extended by com.lowagie.tools.plugins.AbstractTool
      extended by com.lowagie.tools.plugins.ImageXRefViewer
All Implemented Interfaces:
ToolMenuItems, java.awt.event.ActionListener, java.util.EventListener

public class ImageXRefViewer
extends AbstractTool

Allows you to inspect the Image XObjects inside a PDF file.


Nested Class Summary
(package private)  class ImageXRefViewer.ViewXRefImages_jSpinner1_propertyChangeAdapter
           
 
Field Summary
(package private)  java.awt.BorderLayout borderLayout1
           
(package private)  java.awt.BorderLayout borderLayout2
           
(package private)  java.awt.BorderLayout borderLayout3
           
(package private)  java.awt.CardLayout cardLayout1
           
(package private)  javax.swing.JLabel jLabel1
           
(package private)  javax.swing.JPanel jPanel1
           
(package private)  javax.swing.JPanel jPanel2
           
(package private)  javax.swing.JPanel jPanel3
           
(package private)  javax.swing.JScrollPane jScrollPane1
           
(package private)  javax.swing.JSpinner jSpinner1
           
(package private)  int picturenumber
           
(package private)  javax.swing.SpinnerModel spinnerModel1
           
 
Fields inherited from class com.lowagie.tools.plugins.AbstractTool
arguments, internalFrame, MENU_EXECUTE, MENU_EXECUTE_PRINT, MENU_EXECUTE_PRINT_SILENT, MENU_EXECUTE_SHOW, menuoptions, versionsarray
 
Fields inherited from interface com.lowagie.tools.ToolMenuItems
ABOUT, ARGUMENTS, CLOSE, EXECUTE, EXECUTEPRINT, EXECUTEPRINTSILENT, EXECUTESHOW, FILE, HELP, TOOL, TOOLS, USAGE, VERSION
 
Constructor Summary
ImageXRefViewer()
          Creates a ViewImageXObjects object.
 
Method Summary
protected  void createFrame()
          Creates the internal frame.
 void execute()
          Executes the tool (in most cases this generates a PDF file).
protected  java.io.File getDestPathPDF()
          Gets the PDF file that should be generated (or null if the output isn't a PDF file).
 void jSpinner_propertyChange(javax.swing.event.ChangeEvent evt)
          Reflects the change event in the JSpinner object.
static void main(java.lang.String[] args)
          Shows the images that are added to the PDF as Image XObjects.
 void valueHasChanged(ToolArgument arg)
          Indicates that the value of an argument has changed.
 
Methods inherited from class com.lowagie.tools.plugins.AbstractTool
actionPerformed, addVersion, getArgs, getArguments, getInternalFrame, getMenubar, getUsage, getValue, setArguments, setArguments, setInternalFrame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

jPanel1

javax.swing.JPanel jPanel1

borderLayout1

java.awt.BorderLayout borderLayout1

jLabel1

javax.swing.JLabel jLabel1

picturenumber

int picturenumber

jPanel2

javax.swing.JPanel jPanel2

borderLayout2

java.awt.BorderLayout borderLayout2

cardLayout1

java.awt.CardLayout cardLayout1

jPanel3

javax.swing.JPanel jPanel3

jSpinner1

javax.swing.JSpinner jSpinner1

borderLayout3

java.awt.BorderLayout borderLayout3

spinnerModel1

javax.swing.SpinnerModel spinnerModel1

jScrollPane1

javax.swing.JScrollPane jScrollPane1
Constructor Detail

ImageXRefViewer

public ImageXRefViewer()
Creates a ViewImageXObjects object.

Method Detail

getDestPathPDF

protected java.io.File getDestPathPDF()
                               throws java.lang.InstantiationException
Description copied from class: AbstractTool
Gets the PDF file that should be generated (or null if the output isn't a PDF file).

Specified by:
getDestPathPDF in class AbstractTool
Returns:
the PDF file that should be generated
Throws:
java.lang.InstantiationException
See Also:
AbstractTool.getDestPathPDF()

createFrame

protected void createFrame()
Description copied from class: AbstractTool
Creates the internal frame.

Specified by:
createFrame in class AbstractTool
See Also:
AbstractTool.createFrame()

valueHasChanged

public void valueHasChanged(ToolArgument arg)
Description copied from class: AbstractTool
Indicates that the value of an argument has changed.

Specified by:
valueHasChanged in class AbstractTool
Parameters:
arg - the argument that has changed
See Also:
AbstractTool.valueHasChanged(com.lowagie.tools.arguments.ToolArgument)

jSpinner_propertyChange

public void jSpinner_propertyChange(javax.swing.event.ChangeEvent evt)
Reflects the change event in the JSpinner object.

Parameters:
evt -

main

public static void main(java.lang.String[] args)
Shows the images that are added to the PDF as Image XObjects.

Parameters:
args -

execute

public void execute()
Description copied from class: AbstractTool
Executes the tool (in most cases this generates a PDF file).

Specified by:
execute in class AbstractTool
See Also:
AbstractTool.execute()