Java Doc for JGraphpadJGXAction.java in  » Graphic-Library » jgraphpad » com » jgraph » jgxplugin » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Graphic Library » jgraphpad » com.jgraph.jgxplugin 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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

Field Summary
final public static  StringEMPTY
    
final public static  StringNAME_IMPORTJGX
    
final public static  StringPARENT
    
final public static  StringTYPE_RECTTYPE_TEXTTYPE_ELLIPSETYPE_DIAMONDTYPE_TRIANGLETYPE_ROUNDRECTTYPE_SWIMLANETYPE_IMAGETYPE_PORTTYPE_EDGE
    
protected  AttributeCollectionattrCol
    
protected static  Mapattrs
    
protected  MapcellMap
    
protected static  Mapcells
    
protected static  ListconnectionSetIDs
    
protected static  ListdelayedAttributes
    
protected  Class[]keyTypes
    
protected  String[]knownKeys
    
protected static  Mapobjs
    
protected  MapuserObjectMap
    

Constructor Summary
protected  JGraphpadJGXAction(JGraphEditor editor)
     Constructs a new Batik action for the specified editor.

Method Summary
public  voidactionPerformed(ActionEvent event)
     Executes the action based on the action name.
public  voidapplySettings(Map s, JGraph graph)
    
public  MapaugmentAttrs(Map attrs)
    
public  DefaultGraphCellcreateCell(JGraph graph, Object type, Object userObject)
    
public  MapcreateDefaultAttributes()
     Returns an attributeMap for the specified position and color.
public  MapdecodeMap(Node node, boolean useKnownKeys, boolean URLdecodeValues)
    
public  MapdecodeUserObjects(Node node)
    
public  ObjectdecodeValue(Class key, String value)
    
public  voiddoImportJGX(JGraph graph, boolean urlDialog)
    
public  StringgetFileExtension()
    
public  intgetID(Object object)
    
public  JComponentgetReadAccessory()
    
public  HashtablegetReadProperties(JComponent accessory)
    
public  intgetUserObjectID(Object object)
    
public  MapparseAttrs(Node node)
    
public  DefaultGraphCellparseCell(JGraph graph, Node node, Hashtable cells, ConnectionSet cs)
    
public  DefaultGraphCell[]parseChildren(JGraph graph, Node node, Hashtable cells, ConnectionSet cs)
    
public  voidread(InputStream in, JGraph graph)
    
final public static  String[]tokenize(String s, String token)
    

Field Detail
EMPTY
final public static String EMPTY(Code)



NAME_IMPORTJGX
final public static String NAME_IMPORTJGX(Code)



PARENT
final public static String PARENT(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)



attrs
protected static Map attrs(Code)



cellMap
protected Map cellMap(Code)



cells
protected static Map cells(Code)



connectionSetIDs
protected static List connectionSetIDs(Code)



delayedAttributes
protected static List delayedAttributes(Code)



keyTypes
protected Class[] keyTypes(Code)



knownKeys
protected String[] knownKeys(Code)



objs
protected static Map objs(Code)



userObjectMap
protected Map userObjectMap(Code)




Constructor Detail
JGraphpadJGXAction
protected JGraphpadJGXAction(JGraphEditor editor)(Code)
Constructs a new Batik action for the specified editor.




Method Detail
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)



augmentAttrs
public Map augmentAttrs(Map attrs)(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)



decodeUserObjects
public Map decodeUserObjects(Node node)(Code)



decodeValue
public Object decodeValue(Class key, String value)(Code)



doImportJGX
public void doImportJGX(JGraph graph, boolean urlDialog) throws Exception(Code)



getFileExtension
public String getFileExtension()(Code)
returns pad_xml



getID
public int getID(Object object)(Code)



getReadAccessory
public JComponent getReadAccessory()(Code)
Returns null



getReadProperties
public Hashtable getReadProperties(JComponent accessory)(Code)
Returns null



getUserObjectID
public int getUserObjectID(Object object)(Code)



parseAttrs
public Map parseAttrs(Node node)(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)



read
public void read(InputStream in, JGraph graph) throws Exception(Code)



tokenize
final public static String[] tokenize(String s, String token)(Code)



Fields inherited from com.jgraph.pad.action.JGraphpadFileAction
final public static String KEY_EDGEPROTOTYPE(Code)(Java Doc)
final public static String KEY_MAINWINDOW(Code)(Java Doc)
final public static String KEY_RECENTFILES(Code)(Java Doc)
final public static String KEY_VERTEXPROTOTYPE(Code)(Java Doc)
public static int MAX_RECENTFILES(Code)(Java Doc)
final public static String MIME_PLAINTEXTMIME_HTML(Code)(Java Doc)
final public static String NAME_CLOSE(Code)(Java Doc)
final public static String NAME_CLOSEALL(Code)(Java Doc)
final public static String NAME_DOWNLOAD(Code)(Java Doc)
final public static String NAME_EXIT(Code)(Java Doc)
final public static String NAME_IMPORTCSV(Code)(Java Doc)
final public static String NAME_NEWDIAGRAM(Code)(Java Doc)
final public static String NAME_NEWDOCUMENT(Code)(Java Doc)
final public static String NAME_NEWLIBRARY(Code)(Java Doc)
final public static String NAME_OPEN(Code)(Java Doc)
final public static String NAME_PAGESETUP(Code)(Java Doc)
final public static String NAME_PRINT(Code)(Java Doc)
final public static String NAME_REMOVEDIAGRAM(Code)(Java Doc)
final public static String NAME_RENAMEDIAGRAM(Code)(Java Doc)
final public static String NAME_SAVE(Code)(Java Doc)
final public static String NAME_SAVEALL(Code)(Java Doc)
final public static String NAME_SAVEAS(Code)(Java Doc)
final public static String NAME_SAVEIMAGE(Code)(Java Doc)
final public static String NAME_UPLOADAS(Code)(Java Doc)
protected static JGraphpadDialogs dlgs(Code)(Java Doc)
protected JGraphEditor editor(Code)(Java Doc)
protected File lastDirectory(Code)(Java Doc)

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)

Fields inherited from com.jgraph.editor.JGraphEditorAction
final public static String PROPERTY_ISSELECTED(Code)(Java Doc)
final public static String PROPERTY_ISVISIBLE(Code)(Java Doc)
protected boolean isToggleAction(Code)(Java Doc)

Methods inherited from com.jgraph.editor.JGraphEditorAction
public static Frame getActiveFrame()(Code)(Java Doc)
public static Frame getFrame(ActionEvent event)(Code)(Java Doc)
public static JGraphpadPane getJGraphpadPane()(Code)(Java Doc)
public static JGraphpadPane getJGraphpadPane(JFrame frame)(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public static JGraph getParentGraph(Component component)(Code)(Java Doc)
public static Component getPermanentFocusOwner()(Code)(Java Doc)
public static JGraphEditorDiagram getPermanentFocusOwnerDiagram()(Code)(Java Doc)
public static JGraphEditorDiagramPane getPermanentFocusOwnerDiagramPane()(Code)(Java Doc)
public static JGraph getPermanentFocusOwnerGraph()(Code)(Java Doc)
public static Component getPermanentFocusOwnerOrParent()(Code)(Java Doc)
public static String getString(String key)(Code)(Java Doc)
public boolean isSelected()(Code)(Java Doc)
public boolean isToggleAction()(Code)(Java Doc)
public boolean isVisible()(Code)(Java Doc)
public void setEnabled(boolean newValue)(Code)(Java Doc)
public void setSelected(boolean selected)(Code)(Java Doc)
public void setToggleAction(boolean isToggleAction)(Code)(Java Doc)
public void setVisible(boolean visible)(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.