Package com.lowagie.toolbox.plugins
Class Add3D
java.lang.Object
com.lowagie.toolbox.AbstractTool
com.lowagie.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) FileArgument
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
static final String
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
ConstructorsConstructorDescriptionAdd3D()
This tool lets you add a embedded u3d 3d annotation to the first page of a document. -
Method Summary
Modifier and TypeMethodDescriptionstatic void
protected void
Creates the internal frame.void
execute()
Executes the tool (in most cases this generates a PDF file).protected File
Gets the PDF file that should be generated (or null if the output isn't a PDF file).static void
This methods helps you running this tool as a standalone application.void
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
-
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:
createFrame
in classAbstractTool
-
execute
public void execute()Executes the tool (in most cases this generates a PDF file).- Specified by:
execute
in classAbstractTool
-
getDestPathPDF
Gets the PDF file that should be generated (or null if the output isn't a PDF file).- Specified by:
getDestPathPDF
in 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:
valueHasChanged
in classAbstractTool
- Parameters:
arg
- the argument that has changed
-