| com.jgraph.editor.JGraphEditorAction com.jgraph.pad.action.JGraphpadFileAction com.jgraph.pdfplugin.JGraphpadPDFAction
JGraphpadPDFAction | public class JGraphpadPDFAction extends JGraphpadFileAction (Code) | | Implements all actions that require EPSGraphics in the classpath.
|
Inner Class :public static class AllActions implements Bundle | |
Field Summary | |
final public static String | NAME_SAVEPDF Specifies the name for the savePDF action. |
Method Summary | |
public void | actionPerformed(ActionEvent e) Executes the action based on the action name. | public void | doSavePDF(JGraph graph, int inset, String filename) Saves the specified graph as an EPS vector graphics file. |
NAME_SAVEPDF | final public static String NAME_SAVEPDF(Code) | | Specifies the name for the savePDF action.
|
JGraphpadPDFAction | public JGraphpadPDFAction(String name, JGraphEditor editor)(Code) | | Constructs a new Batik action for the specified name.
|
actionPerformed | public void actionPerformed(ActionEvent e)(Code) | | Executes the action based on the action name.
Parameters: e - The object that describes the event. |
doSavePDF | public void doSavePDF(JGraph graph, int inset, String filename) throws IOException, DocumentException(Code) | | Saves the specified graph as an EPS vector graphics file.
Parameters: graph - The graph to write as an EPS file. Parameters: inset - The inset to use for the EPS graphics. Parameters: filename - The filename to write the EPS. throws: DocumentException - |
Methods inherited from com.jgraph.pad.action.JGraphpadFileAction | public void actionPerformed(ActionEvent event)(Code)(Java Doc) public static String convert(OutputStream data, String mime)(Code)(Java Doc) protected void doCloseAll() throws IOException(Code)(Java Doc) protected void doCloseFile(JGraphEditorFile file, boolean remove) throws IOException(Code)(Java Doc) protected void doExit() throws IOException(Code)(Java Doc) protected void doImportCSV(GraphLayoutCache cache, String filename) throws IOException(Code)(Java Doc) protected void doNewDiagram(JGraphEditorFile file)(Code)(Java Doc) protected void doNewDocument()(Code)(Java Doc) protected void doNewLibrary()(Code)(Java Doc) protected void doOpenFile(String filename) throws MalformedURLException, IOException(Code)(Java Doc) protected void doPageSetup(JGraphEditorDiagramPane diagramPane)(Code)(Java Doc) protected void doPrintDiagramPane(JGraphEditorDiagramPane diagramPane) throws PrinterException(Code)(Java Doc) protected void doRemoveDiagram(JGraphEditorDiagram diagram)(Code)(Java Doc) protected void doRenameDiagram(JGraphEditorDiagram diagram)(Code)(Java Doc) public void doSave(String filename, byte[] data) throws Exception(Code)(Java Doc) protected void doSaveAll() throws IOException(Code)(Java Doc) protected void doSaveFile(JGraphEditorFile file, boolean forceFilenameDialog, boolean urlDialog) throws IOException(Code)(Java Doc) protected void doSaveImage(JGraphEditorDiagramPane diagramPane, int inset, String filename) throws IOException(Code)(Java Doc) public static Object getCellForKey(GraphModel model, Object prototype, Hashtable map, String key, int cols, int w, int h, int offset, boolean image)(Code)(Java Doc) protected int getFileCount(boolean countLibraries)(Code)(Java Doc) protected int getFileCount(Object root, boolean countLibraries)(Code)(Java Doc) public static JGraphEditorFile getPermanentFocusOwnerFile()(Code)(Java Doc) public static JGraphpadLibraryPane getPermanentFocusOwnerLibraryPane()(Code)(Java Doc) public static void importCSVFile(GraphLayoutCache cache, InputStream fstream, String delim, Object vertexPrototype, Object edgePrototype, String defaultEdgeLabel) throws IOException(Code)(Java Doc) protected boolean isLibrary(JGraphEditorFile file)(Code)(Java Doc) public static String makeMimeForm(String fileName, String type, String path, String content, String comment, String sep)(Code)(Java Doc) public static boolean post(URL url, String path, String mime, OutputStream data) throws IOException(Code)(Java Doc) public static boolean post(URL url, String path, String mime, String data) throws IOException(Code)(Java Doc) public static boolean postPlain(URL url, String path, OutputStream data) throws IOException(Code)(Java Doc)
|
|
|