Java Doc for JGraphpadPane.java in  » Graphic-Library » jgraphpad » com » jgraph » pad » factory » 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.pad.factory 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   com.jgraph.pad.factory.JGraphpadPane

JGraphpadPane
public class JGraphpadPane extends JPanel (Code)
Main application panel consisting of a menubar and toolbar, two tabbed panes, one on the left and one on the bottom, a desktop pane in the center, and a status bar.

Inner Class :protected static class DocumentTracker extends JGraphpadTreeModelAdapter
Inner Class :public static class FactoryMethod extends JGraphEditorFactoryMethod
Inner Class :public static class LeftTabFactoryMethod extends JGraphEditorFactoryMethod
Inner Class :public static class BottomTabFactoryMethod extends JGraphEditorFactoryMethod

Field Summary
public static  StringKEY_DESKTOPPANE
     Defines the key used to identify the navigator split divider location.
public static  StringKEY_LEFTSPLIT
     Defines the key used to identify the left split divider location.
public static  StringKEY_NAVIGATORSPLIT
     Defines the key used to identify the right split divider location.
public static  StringKEY_RIGHTSPLIT
     Defines the key used to identify the right split divider location.
public static  StringNODENAME_DESKTOPPOPUPMENU
     Nodename to be used for the desktop popup menu configuration.
public static  StringNODENAME_INTERNALFRAMEPOPUPMENU
     Nodename to be used for the desktop popup menu configuration.
protected  JDesktopPanedesktopPane
     Holds the desktop pane.
protected  JGraphEditoreditor
     References the enclosing editor.
protected  MapinternalFrames
     Maps from diagrams to internal frames.

Constructor Summary
public  JGraphpadPane(JGraphEditor editor)
     Constructs a new editor pane for the specified enclosing editor.

Method Summary
public  voidaddDiagram(JGraphEditorDiagram diagram)
     Creates a diagram pane using JGraphEditorFactory.createDiagramPane(JGraphEditorDiagram) , configures it using JGraphpadPane.configureDiagramPane(JGraphEditorDiagramPane,JGraphEditorDiagram) and adds it the the tabbed pane of the internal frame for the parent file.
public  voidaddFile(JGraphEditorFile file)
     Adds an internal frame for the specified file to the desktop pane.
public  voidaddLibrary(JGraphpadLibrary library)
     Adds the specified library to the library pane.
protected  voidconfigureDiagramPane(JGraphEditorDiagramPane diagramPane, JGraphEditorDiagram diagram)
     Configures the newly created diagram pane to reflect the properties of the specified diagram.
protected  JTabbedPanegetDiagramContainer(JInternalFrame frame)
    
protected  StringgetFileTitle(JGraphEditorFile file)
     Hook for subclassers to return the internal frame title for a file.
public  JInternalFramegetInternalFrame(Object file)
    
public  voidremoveDiagram(JGraphEditorFile previousParent, JGraphEditorDiagram diagram)
     Removes the diagram pane for the specified diagram from the tabbed pane in the previous parent's internal frame.
public  voidremoveFile(JGraphEditorFile file)
     Removes the internal frame for the specified file from the desktop pane.
public static  voidsetProperty(Map objects, String property, Object value)
     Utility method to set the property of an object using reflection.
public  voidupdateDiagramTitle(JGraphEditorDiagram diagram)
     Updates the tab title for the specified diagram in the tabbed pane of the parent's internal frame.
public  voidupdateFileTitle(JGraphEditorFile file)
     Updates the internal frame title for the specified file.

Field Detail
KEY_DESKTOPPANE
public static String KEY_DESKTOPPANE(Code)
Defines the key used to identify the navigator split divider location.



KEY_LEFTSPLIT
public static String KEY_LEFTSPLIT(Code)
Defines the key used to identify the left split divider location.



KEY_NAVIGATORSPLIT
public static String KEY_NAVIGATORSPLIT(Code)
Defines the key used to identify the right split divider location. setting.



KEY_RIGHTSPLIT
public static String KEY_RIGHTSPLIT(Code)
Defines the key used to identify the right split divider location. setting.



NODENAME_DESKTOPPOPUPMENU
public static String NODENAME_DESKTOPPOPUPMENU(Code)
Nodename to be used for the desktop popup menu configuration.



NODENAME_INTERNALFRAMEPOPUPMENU
public static String NODENAME_INTERNALFRAMEPOPUPMENU(Code)
Nodename to be used for the desktop popup menu configuration.



desktopPane
protected JDesktopPane desktopPane(Code)
Holds the desktop pane.



editor
protected JGraphEditor editor(Code)
References the enclosing editor.



internalFrames
protected Map internalFrames(Code)
Maps from diagrams to internal frames.




Constructor Detail
JGraphpadPane
public JGraphpadPane(JGraphEditor editor)(Code)
Constructs a new editor pane for the specified enclosing editor.
Parameters:
  editor - The editor that contains the pane.




Method Detail
addDiagram
public void addDiagram(JGraphEditorDiagram diagram)(Code)
Creates a diagram pane using JGraphEditorFactory.createDiagramPane(JGraphEditorDiagram) , configures it using JGraphpadPane.configureDiagramPane(JGraphEditorDiagramPane,JGraphEditorDiagram) and adds it the the tabbed pane of the internal frame for the parent file. The JGraphEditorDiagram.getName method is used to set the tab's title.
Parameters:
  diagram - The diagram to be added.



addFile
public void addFile(JGraphEditorFile file)(Code)
Adds an internal frame for the specified file to the desktop pane. The JGraphpadPane.getFileTitle(JGraphEditorFile) method is used to determine the title for the internal frame.
Parameters:
  file - The file to be added.



addLibrary
public void addLibrary(JGraphpadLibrary library)(Code)
Adds the specified library to the library pane.
Parameters:
  library - The library to be added.



configureDiagramPane
protected void configureDiagramPane(JGraphEditorDiagramPane diagramPane, JGraphEditorDiagram diagram)(Code)
Configures the newly created diagram pane to reflect the properties of the specified diagram. This also installs a listener to keep the properties of the diagram up-to-date with the graph for the next creation after persistence.
Parameters:
  diagramPane - The diagram pane to be configured.
Parameters:
  diagram - The diagram to be configured.



getDiagramContainer
protected JTabbedPane getDiagramContainer(JInternalFrame frame)(Code)



getFileTitle
protected String getFileTitle(JGraphEditorFile file)(Code)
Hook for subclassers to return the internal frame title for a file. This implementation returns String.valueOf(file) appending an asterisk (*) if JGraphEditorFile.isModified returns true.
Parameters:
  file - The file to return the title for. Return the title for file.



getInternalFrame
public JInternalFrame getInternalFrame(Object file)(Code)



removeDiagram
public void removeDiagram(JGraphEditorFile previousParent, JGraphEditorDiagram diagram)(Code)
Removes the diagram pane for the specified diagram from the tabbed pane in the previous parent's internal frame.
Parameters:
  previousParent - The previous parent file of the removed diagram.
Parameters:
  diagram - The diagram to be removed.



removeFile
public void removeFile(JGraphEditorFile file)(Code)
Removes the internal frame for the specified file from the desktop pane.
Parameters:
  file - The file to be removed.



setProperty
public static void setProperty(Map objects, String property, Object value)(Code)
Utility method to set the property of an object using reflection.
Parameters:
  objects - Maps from prefixes to objects.
Parameters:
  property - The name of the property to be changed.
Parameters:
  value - The value of the property to be set.



updateDiagramTitle
public void updateDiagramTitle(JGraphEditorDiagram diagram)(Code)
Updates the tab title for the specified diagram in the tabbed pane of the parent's internal frame. The JGraphEditorDiagram.getName method is used to set the tab's title.
Parameters:
  diagram - The diagram who's tab should be updated.



updateFileTitle
public void updateFileTitle(JGraphEditorFile file)(Code)
Updates the internal frame title for the specified file. The JGraphpadPane.getFileTitle(JGraphEditorFile) method is used to determine the title for the internal frame.
Parameters:
  file - The file who's internal frame should be updated.



Methods inherited from javax.swing.JPanel
public AccessibleContext getAccessibleContext()(Code)(Java Doc)
public PanelUI getUI()(Code)(Java Doc)
public String getUIClassID()(Code)(Java Doc)
protected String paramString()(Code)(Java Doc)
public void setUI(PanelUI ui)(Code)(Java Doc)
public void updateUI()(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.