|
![]() |
||||||||
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.Add3D
public class Add3D
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/
Field Summary | |
---|---|
(package private) FileArgument |
destfile
|
static String |
PDF_NAME_3D
|
static String |
PDF_NAME_3DD
|
static String |
PDF_NAME_3DV
|
static String |
PDF_NAME_3DVIEW
|
static String |
PDF_NAME_C2W
|
static String |
PDF_NAME_IN
|
static String |
PDF_NAME_MS
|
static String |
PDF_NAME_U3D
|
static String |
PDF_NAME_XN
|
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 | |
---|---|
Add3D()
This tool lets you add a embedded u3d 3d annotation to the first page of a document. |
Method Summary | |
---|---|
static void |
AddButton(float x,
float y,
String fname,
String js,
String image,
PdfWriter wr)
|
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)
This methods helps you running this tool as a standalone application. |
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 |
---|
FileArgument destfile
public static final String PDF_NAME_3D
public static final String PDF_NAME_3DD
public static final String PDF_NAME_3DV
public static final String PDF_NAME_3DVIEW
public static final String PDF_NAME_C2W
public static final String PDF_NAME_IN
public static final String PDF_NAME_MS
public static final String PDF_NAME_U3D
public static final String PDF_NAME_XN
Constructor Detail |
---|
public Add3D()
Method Detail |
---|
protected void createFrame()
createFrame
in class AbstractTool
public void execute()
execute
in class AbstractTool
public static void AddButton(float x, float y, String fname, String js, String image, PdfWriter wr)
protected File getDestPathPDF() throws InstantiationException
getDestPathPDF
in class AbstractTool
InstantiationException
public void valueHasChanged(AbstractArgument arg)
valueHasChanged
in class AbstractTool
arg
- the argument that has changedpublic static void main(String[] args)
args
- the srcfile and destfile
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |