Java Doc for ModelVisualiserPanel.java in  » XML-UI » xui32 » com » xoetrope » carousel » visualizer » 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 » XML UI » xui32 » com.xoetrope.carousel.visualizer 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


javax.swing.JPanel
   com.xoetrope.carousel.visualizer.ModelVisualiserPanel

ModelVisualiserPanel
public class ModelVisualiserPanel extends JPanel implements TreeSelectionListener,MouseListener(Code)
The main panel of the data model visualization.

Copyright (c) Xoetrope Ltd., 2001-2006, This software is licensed under the GNU Public License (GPL), please see license.txt for more details. If you make commercial use of this software you must purchase a commercial license from Xoetrope.

$Revision: 1.18 $


Inner Class :class NewNodeDialog extends JDialog


Constructor Summary
public  ModelVisualiserPanel(int preferredWidth, VisualiserDebuggerEngine dEngine)
    
public  ModelVisualiserPanel(int preferredWidth)
    

Method Summary
public  voidaddAttribute(String path, String attribName)
    
public  voidaddMessageNode(String message)
    
public  voidaddNode(String path, String name)
    
public  voidaddTable(String path, String name, int nrows, int ncols)
    
public  voidcenterScreen(Rectangle parentRect)
     Centre the panel on screen.
public  voidcopyAttrPathToClipboard()
    
public  voidcopyNodePathToClipboard()
    
public  booleandebugView()
    
public  voiddeleteAttribute(String path, String attribName)
    
public  voiddeleteNode(String path)
    
public  VisualiserDebuggerModelgetDebuggerModel()
    
public  ModelVisualiserTreegetModelVisualiserTree()
    
public  StringgetProjectPath()
    
public  XModelgetRootModel()
    
protected  JSplitPanegetSplitPane()
    
protected  StringgetTreePath()
    
protected  booleanisDbTableNodeSelected()
    
public  voidmouseClicked(MouseEvent me)
    
public  voidmouseEntered(MouseEvent me)
    
public  voidmouseExited(MouseEvent me)
    
public  voidmousePressed(MouseEvent me)
    
public  voidmouseReleased(MouseEvent me)
    
public  voidpropertyChange(PropertyChangeEvent evt)
    
public synchronized  voidrefresh(String selectedPath)
    
public  voidrenameNode(String path, String name)
    
public  voidsetDebuggerModel(VisualiserDebuggerModel dModel)
    
public  voidsetModelTreeListener(ModelTreeListener mtl)
    
public  voidsetNodeValue(String path, String attribName, String value)
    
public  voidsetProjectPath(String ppath)
    
public  voidsetRootModel(XModel root)
    
public  voidsetSelectedPath(String path)
    
public  voidvalueChanged(TreeSelectionEvent evt)
    


Constructor Detail
ModelVisualiserPanel
public ModelVisualiserPanel(int preferredWidth, VisualiserDebuggerEngine dEngine)(Code)



ModelVisualiserPanel
public ModelVisualiserPanel(int preferredWidth)(Code)




Method Detail
addAttribute
public void addAttribute(String path, String attribName)(Code)
Add an attribute to the model
Parameters:
  path - the selected path
Parameters:
  attribName - the new attribute name



addMessageNode
public void addMessageNode(String message)(Code)
Set a message in an empty tree
Parameters:
  message - the new message text



addNode
public void addNode(String path, String name)(Code)
Add a new node to the model
Parameters:
  path - the path of the parent node
Parameters:
  name - the name/ID of the new node



addTable
public void addTable(String path, String name, int nrows, int ncols)(Code)
Add a new table model to the model
Parameters:
  path - the path of the parent node
Parameters:
  name - the name/ID of the new node



centerScreen
public void centerScreen(Rectangle parentRect)(Code)
Centre the panel on screen.



copyAttrPathToClipboard
public void copyAttrPathToClipboard()(Code)
Copies selected attribute path to the clipboard



copyNodePathToClipboard
public void copyNodePathToClipboard()(Code)
Copies selected node path to the clipboard



debugView
public boolean debugView()(Code)



deleteAttribute
public void deleteAttribute(String path, String attribName)(Code)
Delete the selected attribute from the model



deleteNode
public void deleteNode(String path)(Code)
Deletes selected node from the model
Parameters:
  path - the path of the model node



getDebuggerModel
public VisualiserDebuggerModel getDebuggerModel()(Code)



getModelVisualiserTree
public ModelVisualiserTree getModelVisualiserTree()(Code)
Get the model tree the tree



getProjectPath
public String getProjectPath()(Code)



getRootModel
public XModel getRootModel()(Code)



getSplitPane
protected JSplitPane getSplitPane()(Code)
Get the splitpane the split pane



getTreePath
protected String getTreePath()(Code)
Get the path of the selected treenode by looping the selected path array and placing a '/' between each item the path to the selected XModel



isDbTableNodeSelected
protected boolean isDbTableNodeSelected()(Code)
Determines whether selected node is a database table node



mouseClicked
public void mouseClicked(MouseEvent me)(Code)
The mouse was clicked on this component
Parameters:
  me - the mouse event



mouseEntered
public void mouseEntered(MouseEvent me)(Code)
The mouse entered this component's area
Parameters:
  me - the mouse event



mouseExited
public void mouseExited(MouseEvent me)(Code)
The mouse exited this component's area
Parameters:
  me - the mouse event



mousePressed
public void mousePressed(MouseEvent me)(Code)
The mouse button was pressed while over this component
Parameters:
  me - the mouse event



mouseReleased
public void mouseReleased(MouseEvent me)(Code)
Responds to a mouse button release by poping up a context menu for the component
Parameters:
  me -



propertyChange
public void propertyChange(PropertyChangeEvent evt)(Code)
This method gets called when a bound property is changed



refresh
public synchronized void refresh(String selectedPath)(Code)
Refresh the model representation
Parameters:
  selectedPath - the selected path in the tree or null for no sleection



renameNode
public void renameNode(String path, String name)(Code)
Reset the node's ID
Parameters:
  path - the path of the parent node
Parameters:
  name - the name/ID of the new node



setDebuggerModel
public void setDebuggerModel(VisualiserDebuggerModel dModel)(Code)



setModelTreeListener
public void setModelTreeListener(ModelTreeListener mtl)(Code)
Set listener for the tree
Parameters:
  the - listener



setNodeValue
public void setNodeValue(String path, String attribName, String value)(Code)
Reset the node's value
Parameters:
  path - the path of the parent node
Parameters:
  name - the name/ID of the new node



setProjectPath
public void setProjectPath(String ppath)(Code)



setRootModel
public void setRootModel(XModel root)(Code)
Set the root mode node displayed by this visualizer
Parameters:
  root - the root of the node hierarchy



setSelectedPath
public void setSelectedPath(String path)(Code)
Set the selected path in the tree
Parameters:
  the - selection path



valueChanged
public void valueChanged(TreeSelectionEvent evt)(Code)
Update the table following a tree selection change



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.