|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.toolbox.AbstractTool
com.lowagie.toolbox.plugins.ImageXRefViewer
public class ImageXRefViewer
Allows you to inspect the Image XObjects inside a PDF file.
Nested Class Summary | |
---|---|
(package private) class |
ImageXRefViewer.SpinnerListener
|
Field Summary | |
---|---|
(package private) JPanel |
image_panel
The panel that will show the images. |
(package private) JSpinner |
jSpinner
The spinner that will allow you to select an image. |
(package private) CardLayout |
layout
The layout with the images. |
(package private) int |
total_number_of_pictures
The total number of pictures inside the PDF. |
Fields inherited from class com.lowagie.toolbox.AbstractTool |
---|
arguments, internalFrame, MENU_EXECUTE, MENU_EXECUTE_PRINT, MENU_EXECUTE_PRINT_SILENT, MENU_EXECUTE_SHOW, menuoptions, versionsarray |
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 File |
getDestPathPDF()
Gets the PDF file that should be generated (or null if the output isn't a PDF file). |
static void |
main(String[] args)
Shows the images that are in the PDF as Image XObjects. |
void |
propertyChange(ChangeEvent evt)
Reflects the change event in the JSpinner object. |
void |
valueHasChanged(AbstractArgument arg)
Indicates that the value of an argument has changed. |
Methods inherited from class com.lowagie.toolbox.AbstractTool |
---|
actionPerformed, addVersion, getArguments, getInternalFrame, getMenubar, getUsage, getValue, setArguments, setInternalFrame, setMainArguments, setMenubar |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
int total_number_of_pictures
JSpinner jSpinner
JPanel image_panel
CardLayout layout
Constructor Detail |
---|
public ImageXRefViewer()
Method Detail |
---|
protected File getDestPathPDF() throws InstantiationException
AbstractTool
getDestPathPDF
in class AbstractTool
InstantiationException
AbstractTool.getDestPathPDF()
protected void createFrame()
AbstractTool
createFrame
in class AbstractTool
AbstractTool.createFrame()
public void valueHasChanged(AbstractArgument arg)
AbstractTool
valueHasChanged
in class AbstractTool
arg
- StringArgumentAbstractTool.valueHasChanged(com.lowagie.toolbox.arguments.AbstractArgument)
public void propertyChange(ChangeEvent evt)
evt
- ChangeEventpublic static void main(String[] args)
args
- String[]public void execute()
AbstractTool
execute
in class AbstractTool
AbstractTool.execute()
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |