Java Doc for PageFlowScene.java in  » IDE-Netbeans » web.core » org » netbeans » modules » web » jsf » navigation » graph » 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 » IDE Netbeans » web.core » org.netbeans.modules.web.jsf.navigation.graph 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.modules.web.jsf.navigation.graph.PageFlowScene

PageFlowScene
public class PageFlowScene extends GraphPinScene (Code)
This class represents a GraphPinScene for the Navigation Editor which is soon to be the Page Flow Editor. Nodes are represented by a Page, Edges by a Link, and components by a Pin. Graphics were taken from the VMDGraphScene designed by David Kaspar for mobility pack. The visualization is done by: VMDNodeWidget for nodes, VMDPinWidget for pins, ConnectionWidget fro edges.

The scene has 4 layers: background, main, connection, upper.

The scene has following actions: zoom, panning, rectangular selection.
author:
   Joelle Lam


Inner Class :final public class PageNodeEditAction implements EditProvider
Inner Class :final public class CaseNodeTextFieldInplaceEditor implements TextFieldInplaceEditor
Inner Class :final public class PageNodeTextFieldInplaceEditor implements TextFieldInplaceEditor
Inner Class :static class SceneTestAccessor


Constructor Summary
public  PageFlowScene(PageFlowView view)
     Creates a VMD graph scene.

Method Summary
protected  voidattachEdgeSourceAnchor(NavigationCaseEdge edge, Pin oldSourcePin, Pin sourcePin)
     Attaches an anchor of a source pin an edge.
protected  voidattachEdgeTargetAnchor(NavigationCaseEdge edge, Pin oldTargetPin, Pin targetPin)
     Attaches an anchor of a target pin an edge.
protected  WidgetattachEdgeWidget(NavigationCaseEdge edge)
     Implements attaching a widget to an edge.
protected  WidgetattachNodeWidget(Page page)
     Implements attaching a widget to a node.
protected  WidgetattachPinWidget(Page pageNode, Pin pinNode)
     Implements attaching a widget to a pin.
public  voidcreateMalFormedWidget()
     To show a mal formed page.
public  voiddestoryPageFlowScene()
    
protected  voiddetachNodeWidget(Page node, Widget widget)
    
public  LayerWidgetgetConnectionLayer()
    
public  PingetDefaultPin(Page pageNode)
    
public  PageFlowViewgetPageFlowView()
    
public  PopupMenuProvidergetPopupMenuProvider()
    
public  RectanglegetVisibleRect()
    
public  voidremoveMalFormedWidget()
     Removed the mal formed notes on the screen.
public  voidrenameEdgeWidget(NavigationCaseEdge edge, String newName, String oldName)
    
final public  voidupdateNodeWidgetActions(Page page)
    


Constructor Detail
PageFlowScene
public PageFlowScene(PageFlowView view)(Code)
Creates a VMD graph scene.
Parameters:
  pageFlowView - or TopComponent/container.




Method Detail
attachEdgeSourceAnchor
protected void attachEdgeSourceAnchor(NavigationCaseEdge edge, Pin oldSourcePin, Pin sourcePin)(Code)
Attaches an anchor of a source pin an edge. The anchor is a ProxyAnchor that switches between the anchor attached to the pin widget directly and the anchor attached to the pin node widget based on the minimize-state of the node.
Parameters:
  edge - the edge
Parameters:
  oldSourcePin - the old source pin
Parameters:
  sourcePin - the new source pin



attachEdgeTargetAnchor
protected void attachEdgeTargetAnchor(NavigationCaseEdge edge, Pin oldTargetPin, Pin targetPin)(Code)
Attaches an anchor of a target pin an edge. The anchor is a ProxyAnchor that switches between the anchor attached to the pin widget directly and the anchor attached to the pin node widget based on the minimize-state of the node.
Parameters:
  edge - the edge
Parameters:
  oldTargetPin - the old target pin
Parameters:
  targetPin - the new target pin



attachEdgeWidget
protected Widget attachEdgeWidget(NavigationCaseEdge edge)(Code)
Implements attaching a widget to an edge. the widget is ConnectionWidget and has object-hover, select and move-control-point actions.
Parameters:
  edge - the widget attached to the edge



attachNodeWidget
protected Widget attachNodeWidget(Page page)(Code)
Implements attaching a widget to a node. The widget is VMDNodeWidget and has object-hover, select, popup-menu and move actions.
Parameters:
  node - the node the widget attached to the node, will return null if



attachPinWidget
protected Widget attachPinWidget(Page pageNode, Pin pinNode)(Code)
Implements attaching a widget to a pin. The widget is VMDPinWidget and has object-hover and select action. The the node id ends with "#default" then the pin is the default pin of a node and therefore it is non-visual.
Parameters:
  node - the node
Parameters:
  pinNode - the widget attached to the pin, null, if it is a default pin



createMalFormedWidget
public void createMalFormedWidget()(Code)
To show a mal formed page.



destoryPageFlowScene
public void destoryPageFlowScene()(Code)



detachNodeWidget
protected void detachNodeWidget(Page node, Widget widget)(Code)



getConnectionLayer
public LayerWidget getConnectionLayer()(Code)



getDefaultPin
public Pin getDefaultPin(Page pageNode)(Code)

Parameters:
  pageNode -



getPageFlowView
public PageFlowView getPageFlowView()(Code)
Get the PageFlowView TopComponent PageFlowView



getPopupMenuProvider
public PopupMenuProvider getPopupMenuProvider()(Code)



getVisibleRect
public Rectangle getVisibleRect()(Code)



removeMalFormedWidget
public void removeMalFormedWidget()(Code)
Removed the mal formed notes on the screen.



renameEdgeWidget
public void renameEdgeWidget(NavigationCaseEdge edge, String newName, String oldName)(Code)



updateNodeWidgetActions
final public void updateNodeWidgetActions(Page page)(Code)



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