Class Add3D
java.lang.Object
org.openpdf.toolbox.AbstractTool
org.openpdf.toolbox.plugins.Add3D
- All Implemented Interfaces:
ActionListener, EventListener
This tool lets you add a embedded u3d 3d annotation to the first page of a document. Look for sample files at
http://u3d.svn.sourceforge.net/viewvc/u3d/trunk/Source/Samples/Data/
- Since:
- 2.1.1 (imported from itexttoolbox project)
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) FileArgumentstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class AbstractTool
arguments, internalFrame, MENU_EXECUTE, MENU_EXECUTE_PRINT, MENU_EXECUTE_PRINT_SILENT, MENU_EXECUTE_SHOW, menuoptions, versionsarray -
Constructor Summary
ConstructorsConstructorDescriptionAdd3D()This tool lets you add a embedded u3d 3d annotation to the first page of a document. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidprotected voidCreates the internal frame.voidexecute()Executes the tool (in most cases this generates a PDF file).protected FileGets the PDF file that should be generated (or null if the output isn't a PDF file).static voidThis methods helps you running this tool as a standalone application.voidIndicates that the value of an argument has changed.Methods inherited from class AbstractTool
actionPerformed, addVersion, getArguments, getInternalFrame, getMenubar, getUsage, getValue, setArguments, setInternalFrame, setMainArguments, setMenubar
-
Field Details
-
PDF_NAME_3D
- See Also:
-
PDF_NAME_3DD
- See Also:
-
PDF_NAME_3DV
- See Also:
-
PDF_NAME_3DVIEW
- See Also:
-
PDF_NAME_C2W
- See Also:
-
PDF_NAME_IN
- See Also:
-
PDF_NAME_MS
- See Also:
-
PDF_NAME_U3D
- See Also:
-
PDF_NAME_XN
- See Also:
-
destfile
FileArgument destfile
-
-
Constructor Details
-
Add3D
public Add3D()This tool lets you add a embedded u3d 3d annotation to the first page of a document.
-
-
Method Details
-
AddButton
-
main
This methods helps you running this tool as a standalone application.- Parameters:
args- the srcfile and destfile
-
createFrame
protected void createFrame()Creates the internal frame.- Specified by:
createFramein classAbstractTool
-
execute
public void execute()Executes the tool (in most cases this generates a PDF file).- Specified by:
executein classAbstractTool
-
getDestPathPDF
Gets the PDF file that should be generated (or null if the output isn't a PDF file).- Specified by:
getDestPathPDFin classAbstractTool- Returns:
- the PDF file that should be generated
- Throws:
InstantiationException- on error
-
valueHasChanged
Indicates that the value of an argument has changed.- Specified by:
valueHasChangedin classAbstractTool- Parameters:
arg- the argument that has changed
-