public class ImageXRefViewer extends AbstractTool
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
ImageXRefViewer.SpinnerListener |
| Modifier and Type | Field and Description |
|---|---|
(package private) javax.swing.JPanel |
image_panel
The panel that will show the images.
|
(package private) javax.swing.JSpinner |
jSpinner
The spinner that will allow you to select an image.
|
(package private) java.awt.CardLayout |
layout
The layout with the images.
|
(package private) int |
total_number_of_pictures
The total number of pictures inside the PDF.
|
arguments, internalFrame, MENU_EXECUTE, MENU_EXECUTE_PRINT, MENU_EXECUTE_PRINT_SILENT, MENU_EXECUTE_SHOW, menuoptions, versionsarray| Constructor and Description |
|---|
ImageXRefViewer()
Creates a ViewImageXObjects object.
|
| Modifier and Type | Method and Description |
|---|---|
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).
|
static void |
main(java.lang.String[] args)
Shows the images that are in the PDF as Image XObjects.
|
void |
propertyChange(javax.swing.event.ChangeEvent evt)
Reflects the change event in the JSpinner object.
|
void |
valueHasChanged(AbstractArgument arg)
Indicates that the value of an argument has changed.
|
actionPerformed, addVersion, getArguments, getInternalFrame, getMenubar, getUsage, getValue, setArguments, setInternalFrame, setMainArguments, setMenubarint total_number_of_pictures
javax.swing.JSpinner jSpinner
javax.swing.JPanel image_panel
java.awt.CardLayout layout
protected java.io.File getDestPathPDF()
throws java.lang.InstantiationException
AbstractToolgetDestPathPDF in class AbstractTooljava.lang.InstantiationExceptionAbstractTool.getDestPathPDF()protected void createFrame()
AbstractToolcreateFrame in class AbstractToolAbstractTool.createFrame()public void valueHasChanged(AbstractArgument arg)
AbstractToolvalueHasChanged in class AbstractToolarg - StringArgumentAbstractTool.valueHasChanged(com.lowagie.toolbox.arguments.AbstractArgument)public void propertyChange(javax.swing.event.ChangeEvent evt)
evt - ChangeEventpublic static void main(java.lang.String[] args)
args - String[]public void execute()
AbstractToolexecute in class AbstractToolAbstractTool.execute()