Java Doc for J3dTreePanel.java in  » 6.0-JDK-Modules » java-3d » org » jdesktop » j3dedit » scenegrapheditor » 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 » 6.0 JDK Modules » java 3d » org.jdesktop.j3dedit.scenegrapheditor 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.jdesktop.j3dedit.treelayout.TreePanel
   org.jdesktop.j3dedit.scenegrapheditor.J3dTreePanel

J3dTreePanel
public class J3dTreePanel extends org.jdesktop.j3dedit.treelayout.TreePanel implements MouseMotionListener,MouseListener,MouseWheelListener(Code)
Specialisation of TreePanel that provides tooltips dependent on mouse location Also provides zoom functionality


Field Summary
final public static  intCIRCULAR_LAYOUT
    
final public static  intSIMPLE_LAYOUT
    

Constructor Summary
public  J3dTreePanel()
    

Method Summary
public  voidaddNotify()
    
public  floatgetCurrentZoom()
    
public  StringgetToolTipText(java.awt.event.MouseEvent evt)
    
public  voidlayoutTree()
    
public  voidmouseClicked(java.awt.event.MouseEvent evt)
    
public  voidmouseDragged(java.awt.event.MouseEvent evt)
    
public  voidmouseEntered(java.awt.event.MouseEvent p1)
    
public  voidmouseExited(java.awt.event.MouseEvent evt)
    
public  voidmouseMoved(java.awt.event.MouseEvent evt)
    
public  voidmousePressed(java.awt.event.MouseEvent p1)
    
public  voidmouseReleased(java.awt.event.MouseEvent p1)
    
public  voidmouseWheelMoved(java.awt.event.MouseWheelEvent e)
    
public  booleanselectingBehaviorTarget()
    
public  voidsetTargetBehaviorSelection(boolean selection, SGBehavior behaviorNode)
     Put the panel in the Behavior target selection mode when selection is true.
public  voidsetTreeLayout(int layout)
    
public  voidshowNode(TreeNode node)
    
public  voidtest(java.awt.event.MouseEvent evt)
    
public  voidzoomIn(Point mousePos)
    
public  voidzoomOut(Point origPos)
    
public  voidzoomReset()
    
public  voidzoomShowAll()
    

Field Detail
CIRCULAR_LAYOUT
final public static int CIRCULAR_LAYOUT(Code)



SIMPLE_LAYOUT
final public static int SIMPLE_LAYOUT(Code)




Constructor Detail
J3dTreePanel
public J3dTreePanel()(Code)




Method Detail
addNotify
public void addNotify()(Code)
This method is called by the awt when this panel is made displayable It checks if this panel is contained in a viewport



getCurrentZoom
public float getCurrentZoom()(Code)
Get the currentZoom



getToolTipText
public String getToolTipText(java.awt.event.MouseEvent evt)(Code)



layoutTree
public void layoutTree()(Code)



mouseClicked
public void mouseClicked(java.awt.event.MouseEvent evt)(Code)



mouseDragged
public void mouseDragged(java.awt.event.MouseEvent evt)(Code)



mouseEntered
public void mouseEntered(java.awt.event.MouseEvent p1)(Code)



mouseExited
public void mouseExited(java.awt.event.MouseEvent evt)(Code)



mouseMoved
public void mouseMoved(java.awt.event.MouseEvent evt)(Code)



mousePressed
public void mousePressed(java.awt.event.MouseEvent p1)(Code)



mouseReleased
public void mouseReleased(java.awt.event.MouseEvent p1)(Code)



mouseWheelMoved
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)(Code)



selectingBehaviorTarget
public boolean selectingBehaviorTarget()(Code)
Return true if we are currently selecting a behavior target



setTargetBehaviorSelection
public void setTargetBehaviorSelection(boolean selection, SGBehavior behaviorNode)(Code)
Put the panel in the Behavior target selection mode when selection is true. In this mode a rubberband line will be drawn fromt the behaviorNode to the mouse pointer. This panel is responsible for acting on the mouseMotion events, but the parent container will handle the mouseClick etc.



setTreeLayout
public void setTreeLayout(int layout)(Code)
Selected different tree layout strategies
See Also:   SIMPLE_LAYOUT
See Also:    CIRCULAR_LAYOUT



showNode
public void showNode(TreeNode node)(Code)
Scroll the view so that node is visible



test
public void test(java.awt.event.MouseEvent evt)(Code)



zoomIn
public void zoomIn(Point mousePos)(Code)



zoomOut
public void zoomOut(Point origPos)(Code)



zoomReset
public void zoomReset()(Code)



zoomShowAll
public void zoomShowAll()(Code)
Set the zoom so that the whole tree is viewable



Methods inherited from org.jdesktop.j3dedit.treelayout.TreePanel
public Dimension getPreferredSize()(Code)(Java Doc)
public double getScale()(Code)(Java Doc)
public TreeNode getTree()(Code)(Java Doc)
public TreeLayout getTreeLayout()(Code)(Java Doc)
public void layoutTree()(Code)(Java Doc)
public void paintComponent(Graphics g)(Code)(Java Doc)
public TreeNode pickNode(int x, int y)(Code)(Java Doc)
public void scrollRectToVisible(Rectangle rect)(Code)(Java Doc)
public void setScale(double scale)(Code)(Java Doc)
public void setTree(TreeNode root)(Code)(Java Doc)
public void setTreeLayout(TreeLayout treeLayout)(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.