Java Doc for Graph.java in  » Workflow-Engines » JaWE » org » enhydra » jawe » components » 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 » Workflow Engines » JaWE » org.enhydra.jawe.components.graph 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.enhydra.jawe.components.graph.Graph

Graph
public class Graph extends JGraph (Code)
Standard implementation of JGraph. Represents a WorkflowProcess or ActivitySet graph.
author:
   Sasa Bojanic


Field Summary
protected  ActivitySetas
    
protected  GraphControllergraphController
    
protected transient  GraphManagergraphManager
    
protected  WorkflowProcesswp
    

Constructor Summary
public  Graph(GraphController gc, GraphModel model, BasicMarqueeHandler mh, WorkflowProcess wp)
     Constructs process graph based on a given model.
public  Graph(GraphController gc, GraphModel model, BasicMarqueeHandler mh, ActivitySet as)
    
public  Graph(GraphModel model, GraphLayoutCache view)
    
public  Graph(Graph g)
    

Method Summary
public static  voidaddSampleData(GraphModel model)
     Overrides super method - don't need to waste a time for this.
public  ListcheckConnections(boolean fullCheck)
    
public  voidclearXPDLObjectReferences()
    
public  StringconvertValueToString(Object value)
     Overrides Superclass method.
protected  GraphManagercreateGraphManager()
    
public  ActivitySetgetActivitySet()
    
public  ObjectgetFirstParticipantForLocation(int x, int y)
     Finds the topmost Participant at specified location.
public  GraphControllergetGraphController()
    
public  WorkflowElementgetGraphInterface(XMLElement el)
    
public  GraphManagergetGraphManager()
    
public  SetgetImproperlyConnectedEnds(boolean fullCheck)
    
public  SetgetImproperlyConnectedStarts(boolean fullCheck)
    
public  CellViewgetNextViewAt(CellView current, double x, double y)
    
public  CellViewgetNextViewAt(CellView[] cells, CellView c, double x, double y)
     Modified from original to suite our needs.
public  StringgetToolTipText(MouseEvent event)
     Overrides JComponent's getToolTipText method in order to allow the graph controller to create a tooltip for the topmost cell under the mousepointer.
public  WorkflowProcessgetWorkflowProcess()
    
public  XMLCollectionElementgetXPDLObject()
    
protected  voidinit(GraphController gc, GraphModel model, BasicMarqueeHandler mh, XMLCollectionElement wpOrAs)
    
public  voidinitGraphBehavior()
    
public  voidprintOrderedAllSelectables()
     Only for debugging purpose.
public  voidrefreshGraphConfiguration()
    
public  WorkflowElementselectActivity(Activity act, boolean add)
    
public  WorkflowElementselectBubble(ExtendedAttribute ea, boolean add)
    
public  voidselectElement(WorkflowElement we, boolean add, boolean toFront)
    
public  voidselectElements(Object[] elements, boolean add, boolean toFront)
    
public  WorkflowElementselectParticipant(Participant par)
    
public  WorkflowElementselectTransition(Transition tra, boolean add)
    
protected  voidsetFontSize()
    
public  StringtoString()
    
public  voidupdateUI()
     Notification from the UIManager that the L&F has changed. Replaces the current UI object with the latest version from the UIManager.
public  booleanvalidateAgainsXPDLSchema()
    

Field Detail
as
protected ActivitySet as(Code)



graphController
protected GraphController graphController(Code)



graphManager
protected transient GraphManager graphManager(Code)
WorkflowManager that controls various things



wp
protected WorkflowProcess wp(Code)




Constructor Detail
Graph
public Graph(GraphController gc, GraphModel model, BasicMarqueeHandler mh, WorkflowProcess wp)(Code)
Constructs process graph based on a given model.



Graph
public Graph(GraphController gc, GraphModel model, BasicMarqueeHandler mh, ActivitySet as)(Code)



Graph
public Graph(GraphModel model, GraphLayoutCache view)(Code)



Graph
public Graph(Graph g)(Code)




Method Detail
addSampleData
public static void addSampleData(GraphModel model)(Code)
Overrides super method - don't need to waste a time for this.



checkConnections
public List checkConnections(boolean fullCheck)(Code)



clearXPDLObjectReferences
public void clearXPDLObjectReferences()(Code)



convertValueToString
public String convertValueToString(Object value)(Code)
Overrides Superclass method.



createGraphManager
protected GraphManager createGraphManager()(Code)



getActivitySet
public ActivitySet getActivitySet()(Code)



getFirstParticipantForLocation
public Object getFirstParticipantForLocation(int x, int y)(Code)
Finds the topmost Participant at specified location.



getGraphController
public GraphController getGraphController()(Code)



getGraphInterface
public WorkflowElement getGraphInterface(XMLElement el)(Code)



getGraphManager
public GraphManager getGraphManager()(Code)



getImproperlyConnectedEnds
public Set getImproperlyConnectedEnds(boolean fullCheck)(Code)



getImproperlyConnectedStarts
public Set getImproperlyConnectedStarts(boolean fullCheck)(Code)



getNextViewAt
public CellView getNextViewAt(CellView current, double x, double y)(Code)
Modified from original to support all views



getNextViewAt
public CellView getNextViewAt(CellView[] cells, CellView c, double x, double y)(Code)
Modified from original to suite our needs. This method makes a Participant to be selected only when it's name part is pressed, and to give it's tooltip only when you want to insert some cells in it.



getToolTipText
public String getToolTipText(MouseEvent event)(Code)
Overrides JComponent's getToolTipText method in order to allow the graph controller to create a tooltip for the topmost cell under the mousepointer. This differs from JTree where the renderers tooltip is used.

NOTE: For JGraph to properly display tooltips of its renderers, JGraph must be a registered component with the ToolTipManager. This can be done by invoking ToolTipManager.sharedInstance().registerComponent(graph). This is not done automatically!
Parameters:
  event - the MouseEvent that initiated theToolTip display a string containing the tooltip or nullif event is null




getWorkflowProcess
public WorkflowProcess getWorkflowProcess()(Code)



getXPDLObject
public XMLCollectionElement getXPDLObject()(Code)



init
protected void init(GraphController gc, GraphModel model, BasicMarqueeHandler mh, XMLCollectionElement wpOrAs)(Code)



initGraphBehavior
public void initGraphBehavior()(Code)



printOrderedAllSelectables
public void printOrderedAllSelectables()(Code)
Only for debugging purpose.



refreshGraphConfiguration
public void refreshGraphConfiguration()(Code)



selectActivity
public WorkflowElement selectActivity(Activity act, boolean add)(Code)



selectBubble
public WorkflowElement selectBubble(ExtendedAttribute ea, boolean add)(Code)



selectElement
public void selectElement(WorkflowElement we, boolean add, boolean toFront)(Code)



selectElements
public void selectElements(Object[] elements, boolean add, boolean toFront)(Code)



selectParticipant
public WorkflowElement selectParticipant(Participant par)(Code)



selectTransition
public WorkflowElement selectTransition(Transition tra, boolean add)(Code)



setFontSize
protected void setFontSize()(Code)



toString
public String toString()(Code)



updateUI
public void updateUI()(Code)
Notification from the UIManager that the L&F has changed. Replaces the current UI object with the latest version from the UIManager. Subclassers can override this to support different GraphUIs.
See Also:   JComponent.updateUI



validateAgainsXPDLSchema
public boolean validateAgainsXPDLSchema()(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.