| com.jgraph.editor.JGraphEditorAction com.jgraph.pad.action.JGraphpadFileAction com.jgraph.jgxplugin.JGraphpadJGXAction
JGraphpadJGXAction | public class JGraphpadJGXAction extends JGraphpadFileAction (Code) | | JGX import for reading older JGraphpad files.
|
Inner Class :public static class DelayedAttributeID | |
Inner Class :public static class ConnectionID | |
Inner Class :public class AttributeCollection | |
Inner Class :public static class AllActions implements Bundle | |
Method Summary | |
public void | actionPerformed(ActionEvent event) Executes the action based on the action name. | public void | applySettings(Map s, JGraph graph) | public Map | augmentAttrs(Map attrs) | public DefaultGraphCell | createCell(JGraph graph, Object type, Object userObject) | public Map | createDefaultAttributes() Returns an attributeMap for the specified position and color. | public Map | decodeMap(Node node, boolean useKnownKeys, boolean URLdecodeValues) | public Map | decodeUserObjects(Node node) | public Object | decodeValue(Class key, String value) | public void | doImportJGX(JGraph graph, boolean urlDialog) | public String | getFileExtension() | public int | getID(Object object) | public JComponent | getReadAccessory() | public Hashtable | getReadProperties(JComponent accessory) | public int | getUserObjectID(Object object) | public Map | parseAttrs(Node node) | public DefaultGraphCell | parseCell(JGraph graph, Node node, Hashtable cells, ConnectionSet cs) | public DefaultGraphCell[] | parseChildren(JGraph graph, Node node, Hashtable cells, ConnectionSet cs) | public void | read(InputStream in, JGraph graph) | final public static String[] | tokenize(String s, String token) |
NAME_IMPORTJGX | final public static String NAME_IMPORTJGX(Code) | | |
TYPE_RECTTYPE_TEXTTYPE_ELLIPSETYPE_DIAMONDTYPE_TRIANGLETYPE_ROUNDRECTTYPE_SWIMLANETYPE_IMAGETYPE_PORTTYPE_EDGE | final public static String TYPE_RECTTYPE_TEXTTYPE_ELLIPSETYPE_DIAMONDTYPE_TRIANGLETYPE_ROUNDRECTTYPE_SWIMLANETYPE_IMAGETYPE_PORTTYPE_EDGE(Code) | | |
attrCol | protected AttributeCollection attrCol(Code) | | |
connectionSetIDs | protected static List connectionSetIDs(Code) | | |
delayedAttributes | protected static List delayedAttributes(Code) | | |
userObjectMap | protected Map userObjectMap(Code) | | |
JGraphpadJGXAction | protected JGraphpadJGXAction(JGraphEditor editor)(Code) | | Constructs a new Batik action for the specified editor.
|
actionPerformed | public void actionPerformed(ActionEvent event)(Code) | | Executes the action based on the action name.
Parameters: event - The object that describes the event. |
applySettings | public void applySettings(Map s, JGraph graph)(Code) | | |
createCell | public DefaultGraphCell createCell(JGraph graph, Object type, Object userObject)(Code) | | |
createDefaultAttributes | public Map createDefaultAttributes()(Code) | | Returns an attributeMap for the specified position and color.
|
decodeMap | public Map decodeMap(Node node, boolean useKnownKeys, boolean URLdecodeValues)(Code) | | |
doImportJGX | public void doImportJGX(JGraph graph, boolean urlDialog) throws Exception(Code) | | |
getFileExtension | public String getFileExtension()(Code) | | returns pad_xml
|
getUserObjectID | public int getUserObjectID(Object object)(Code) | | |
parseCell | public DefaultGraphCell parseCell(JGraph graph, Node node, Hashtable cells, ConnectionSet cs)(Code) | | |
parseChildren | public DefaultGraphCell[] parseChildren(JGraph graph, Node node, Hashtable cells, ConnectionSet cs)(Code) | | |
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)
|
|
|