Java Doc for GraphMarqueeHandler.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.GraphMarqueeHandler

GraphMarqueeHandler
public class GraphMarqueeHandler extends BasicMarqueeHandler (Code)
Implementation of a marquee handler for Process Editor. This is also a place where (after mouse click or release) participants, activities (normal, subflows, block activities) and transitions are inserted, where persistent mode is achived and where mouse cursors are changing, and where popup menu is implemented. When inserting cells it calls WorkflowManager.


Field Summary
protected  Pointcurrent
    
protected  GraphPortViewInterfacefirstPort
    
protected  GraphControllergraphController
    
protected  GraphPortViewInterfacelastPort
    
protected  StringmainType
    
protected  Vectorpoints
    
protected  PointpopupPoint
    
protected  GraphPortViewInterfaceport
    
protected  Pointstart
    
protected  StringsubType
    

Constructor Summary
public  GraphMarqueeHandler(GraphController graphController)
     Creates custom marquee handler.

Method Summary
public  voidaddPoint(Point p)
    
public  voidconnectStartOrEndBubble(ExtendedAttribute sea, String actId)
    
protected  JPopupMenucreatePopupMenu(Object cell)
     Creates popup menu and adds a various actions (depending of where mouse was pressed - which cell(s) is/are selected).
protected  voiddrawTransition(MouseEvent ev)
    
protected  voiddrawTransition(Graphics g)
    
protected  GraphgetGraph()
    
protected  GraphControllergetGraphController()
    
protected  GraphManagergetGraphManager()
    
protected  JaWEControllergetJaWEController()
    
protected  JaWEFramegetJaWEFrame()
    
public  StringgetMainType()
    
public  PointgetPopupPoint()
     Gets the point of last popup menu creation.
public  intgetStatus()
    
public  StringgetSubType()
    
public  voidinsertElement(Point whereTo)
    
public  voidinsertParticipant()
    
public  voidinsertSpecialElement()
    
public  booleaninsertTransitionFirstPort(GraphPortViewInterface pPort)
    
public  booleaninsertTransitionSecondPort(GraphPortViewInterface pPort)
    
protected  booleanisActivityButtonSelected()
    
protected  booleanisEndButtonSelected()
    
public  booleanisForceMarqueeEvent(MouseEvent e)
     Return true if this handler should be preferred over other handlers.
protected  booleanisParticipantButtonSelected()
    
public  booleanisSelectButtonSelected()
    
protected  booleanisStartButtonSelected()
    
public  booleanisTransitionButtonSelected()
    
public  voidmousePressed(MouseEvent e)
    
public  voidmouseReleased(MouseEvent ev)
    
public  voidoverlay(JGraph graph, Graphics g, boolean clear)
    
protected  voidpaintPort(Graphics g)
    
public  voidpopupMenu(Point pPopupPoint)
    
public  voidreset()
    
public  voidsetSelectionMode()
    
public  voidsetType(String mainType, String subType, Cursor cursor)
    
public  booleanvalidateConnection(GraphPortViewInterface pFirstPort, GraphPortViewInterface pSecondPort, Transition t)
     Returns true if parent cell of given port accepts source or target, depending on source parameter.
public  booleanvalidateSource(GraphPortViewInterface pPort)
    

Field Detail
current
protected Point current(Code)



firstPort
protected GraphPortViewInterface firstPort(Code)



graphController
protected GraphController graphController(Code)



lastPort
protected GraphPortViewInterface lastPort(Code)



mainType
protected String mainType(Code)



points
protected Vector points(Code)



popupPoint
protected Point popupPoint(Code)



port
protected GraphPortViewInterface port(Code)



start
protected Point start(Code)



subType
protected String subType(Code)




Constructor Detail
GraphMarqueeHandler
public GraphMarqueeHandler(GraphController graphController)(Code)
Creates custom marquee handler.




Method Detail
addPoint
public void addPoint(Point p)(Code)



connectStartOrEndBubble
public void connectStartOrEndBubble(ExtendedAttribute sea, String actId)(Code)



createPopupMenu
protected JPopupMenu createPopupMenu(Object cell)(Code)
Creates popup menu and adds a various actions (depending of where mouse was pressed - which cell(s) is/are selected).



drawTransition
protected void drawTransition(MouseEvent ev)(Code)



drawTransition
protected void drawTransition(Graphics g)(Code)



getGraph
protected Graph getGraph()(Code)



getGraphController
protected GraphController getGraphController()(Code)



getGraphManager
protected GraphManager getGraphManager()(Code)



getJaWEController
protected JaWEController getJaWEController()(Code)



getJaWEFrame
protected JaWEFrame getJaWEFrame()(Code)



getMainType
public String getMainType()(Code)



getPopupPoint
public Point getPopupPoint()(Code)
Gets the point of last popup menu creation.



getStatus
public int getStatus()(Code)



getSubType
public String getSubType()(Code)



insertElement
public void insertElement(Point whereTo)(Code)



insertParticipant
public void insertParticipant()(Code)



insertSpecialElement
public void insertSpecialElement()(Code)



insertTransitionFirstPort
public boolean insertTransitionFirstPort(GraphPortViewInterface pPort)(Code)



insertTransitionSecondPort
public boolean insertTransitionSecondPort(GraphPortViewInterface pPort)(Code)



isActivityButtonSelected
protected boolean isActivityButtonSelected()(Code)



isEndButtonSelected
protected boolean isEndButtonSelected()(Code)



isForceMarqueeEvent
public boolean isForceMarqueeEvent(MouseEvent e)(Code)
Return true if this handler should be preferred over other handlers.



isParticipantButtonSelected
protected boolean isParticipantButtonSelected()(Code)



isSelectButtonSelected
public boolean isSelectButtonSelected()(Code)



isStartButtonSelected
protected boolean isStartButtonSelected()(Code)



isTransitionButtonSelected
public boolean isTransitionButtonSelected()(Code)



mousePressed
public void mousePressed(MouseEvent e)(Code)
We don't want special cursor



mouseReleased
public void mouseReleased(MouseEvent ev)(Code)



overlay
public void overlay(JGraph graph, Graphics g, boolean clear)(Code)



paintPort
protected void paintPort(Graphics g)(Code)



popupMenu
public void popupMenu(Point pPopupPoint)(Code)



reset
public void reset()(Code)



setSelectionMode
public void setSelectionMode()(Code)



setType
public void setType(String mainType, String subType, Cursor cursor)(Code)



validateConnection
public boolean validateConnection(GraphPortViewInterface pFirstPort, GraphPortViewInterface pSecondPort, Transition t)(Code)
Returns true if parent cell of given port accepts source or target, depending on source parameter.



validateSource
public boolean validateSource(GraphPortViewInterface pPort)(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.