Java Doc for DiagramOperator.java in  » IDE-Netbeans » uml » org » netbeans » test » umllib » 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 » uml » org.netbeans.test.umllib 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.netbeans.test.umllib.DiagramOperator

All known Subclasses:   org.netbeans.test.umllib.customelements.CollaborationDiagramOperator,  org.netbeans.test.umllib.customelements.SequenceDiagramOperator,
DiagramOperator
public class DiagramOperator extends TopComponentOperator (Code)
This common diagram operator
author:
   Alexei Mokeev

Inner Class :public enum ZoomCustomLevel
Inner Class :static class DiagramComponentChooser implements ComponentChooser
Inner Class :static class DrawingAreaControlChooser implements ComponentChooser
Inner Class :class DrawingAreaChooser implements ComponentChooser

Field Summary
final public static  longWAIT_DIAGRAM_TIMEOUT
    

Constructor Summary
public  DiagramOperator(String diagramName)
    

Method Summary
public  JPopupMenuOperatorcallMenuOnTab()
     call menu on its tab.
public static  DiagramOperatorcreateDiagram(String diagramName, DiagramTypes diagramType, Node projectNode)
    
public  voidcreateGenericElementOnDiagram(String name, ElementTypes elementType)
    
public  voidcreateGenericElementOnDiagram(String name, ElementTypes elementType, int x, int y)
    
public  voidcreateGenericElementOnDiagram(String name, ExpandedElementTypes elementType, int x, int y)
    
public  voidcreateGenericElementOnDiagram(String name, ElementTypes elementType, int x, int y, SetName namer)
     Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Type of new element
Parameters:
  x - X cooordinate of point where element will be created
Parameters:
  y - Y cooordinate of point where element will be created
Parameters:
  namer - Namer for this element.
public  voidcreateGenericElementOnDiagram(String name, ExpandedElementTypes elementType, int x, int y, SetName namer)
     Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Expanded Type of new element
Parameters:
  x - X cooordinate of point where element will be created
Parameters:
  y - Y cooordinate of point where element will be created
Parameters:
  namer - Namer for this element.
public  voidcreateGenericElementOnDiagram(Node node)
    
public  voidcreateGenericRelationshipOnDiagram(LinkTypes linkElementType, DiagramElementOperator fromElement, DiagramElementOperator toElement)
    
public  LinkOperatorcreateLinkOnDiagram(LinkTypes linkElementType, DiagramElementOperator fromElement, DiagramElementOperator toElement)
    
public static  ComponentfindDiagram(String name, Operator.StringComparator comp)
    
 TabbedAdapterfindTabbedAdapter()
     Returns TabbedAdapter component from parents hierarchy.
public  ArrayList<DiagramElementOperator>getAllDiagramElements()
    
public  DiagramElementOperatorgetDiagramElement(String name)
    
public  ArrayList<DiagramElementOperator>getDiagramElements()
    
public  StringgetDiagramName()
    
public  DrawingAreaOperatorgetDrawingArea()
    
public  IDrawingAreaControlgetDrawingAreaControl()
    
public  booleangetHasSelectedElements()
    
public  booleangetHasSelectedLinks()
    
public  UMLPaletteOperatorpaletter()
    
public  DiagramElementOperatorputElementOnDiagram(String name, ElementTypes elementType)
    
public  DiagramElementOperatorputElementOnDiagram(String name, ExpandedElementTypes elementType)
    
public  DiagramElementOperatorputElementOnDiagram(String name, ElementTypes elementType, int x, int y)
    
public  DiagramElementOperatorputElementOnDiagram(String name, ExpandedElementTypes elementType, int x, int y)
    
public  DiagramElementOperatorputElementOnDiagram(String name, ElementTypes elementType, int x, int y, SetName namer)
     Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Type of new element
Parameters:
  x - X cooordinate of point where element will be created
Parameters:
  y - Y cooordinate of point where element will be created
Parameters:
  namer - Namer for this element.
public  DiagramElementOperatorputElementOnDiagram(String name, ExpandedElementTypes elementType, int x, int y, SetName namer)
     Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Expanded Type of new element
Parameters:
  x - X cooordinate of point where element will be created
Parameters:
  y - Y cooordinate of point where element will be created
Parameters:
  namer - Namer for this element.
public  voidselectZoomCustom(ZoomCustomLevel percent)
     Selects diagram zoom percentage using UI.
public  DiagramToolbarOperatortoolbar()
    
public  voidwaitClosed()
    
public static  ComponentwaitForDiagram(String name, Operator.StringComparator comp)
    
public  voidzoomIn()
    
public  voidzoomOut()
    

Field Detail
WAIT_DIAGRAM_TIMEOUT
final public static long WAIT_DIAGRAM_TIMEOUT(Code)




Constructor Detail
DiagramOperator
public DiagramOperator(String diagramName)(Code)
Creates a new instance of DiagramOperator
Parameters:
  diagramName - Diagram name




Method Detail
callMenuOnTab
public JPopupMenuOperator callMenuOnTab()(Code)
call menu on its tab.



createDiagram
public static DiagramOperator createDiagram(String diagramName, DiagramTypes diagramType, Node projectNode)(Code)

Parameters:
  diagramName -
Parameters:
  diagramType -
Parameters:
  projectNode -



createGenericElementOnDiagram
public void createGenericElementOnDiagram(String name, ElementTypes elementType) throws NotFoundException(Code)
create an element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Type of new element
throws:
  qa.uml.exceptions.NotFoundException -



createGenericElementOnDiagram
public void createGenericElementOnDiagram(String name, ElementTypes elementType, int x, int y) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Type of new element
Parameters:
  x - X coordinate
Parameters:
  y - Y coordinate
throws:
  qa.uml.exceptions.NotFoundException - when Button for the element is not found on paletter



createGenericElementOnDiagram
public void createGenericElementOnDiagram(String name, ExpandedElementTypes elementType, int x, int y) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Expanded Type of new element
Parameters:
  x - X coordinate
Parameters:
  y - Y coordinate
throws:
  qa.uml.exceptions.NotFoundException - when Button for the element is not found on paletter



createGenericElementOnDiagram
public void createGenericElementOnDiagram(String name, ElementTypes elementType, int x, int y, SetName namer) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Type of new element
Parameters:
  x - X cooordinate of point where element will be created
Parameters:
  y - Y cooordinate of point where element will be created
Parameters:
  namer - Namer for this element. Certain elementsshould be named in very special way
throws:
  qa.uml.exceptions.NotFoundException -



createGenericElementOnDiagram
public void createGenericElementOnDiagram(String name, ExpandedElementTypes elementType, int x, int y, SetName namer) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Expanded Type of new element
Parameters:
  x - X cooordinate of point where element will be created
Parameters:
  y - Y cooordinate of point where element will be created
Parameters:
  namer - Namer for this element. Certain elementsshould be named in very special way
throws:
  qa.uml.exceptions.NotFoundException -



createGenericElementOnDiagram
public void createGenericElementOnDiagram(Node node)(Code)

Parameters:
  node -



createGenericRelationshipOnDiagram
public void createGenericRelationshipOnDiagram(LinkTypes linkElementType, DiagramElementOperator fromElement, DiagramElementOperator toElement) throws NotFoundException(Code)
Create generic relationship on diagram
Parameters:
  linkElementType - Link type
Parameters:
  fromElement - Source element
Parameters:
  toElement - target element
throws:
  qa.uml.exceptions.NotFoundException - when source or target is not found



createLinkOnDiagram
public LinkOperator createLinkOnDiagram(LinkTypes linkElementType, DiagramElementOperator fromElement, DiagramElementOperator toElement) throws NotFoundException(Code)
Draw link on diagram
Parameters:
  linkElementType - Link type
Parameters:
  fromElement - Source element
Parameters:
  toElement - target element
throws:
  qa.uml.exceptions.NotFoundException - when source or target is not found Operator for created link



findDiagram
public static Component findDiagram(String name, Operator.StringComparator comp)(Code)

Parameters:
  name -
Parameters:
  comp -



findTabbedAdapter
TabbedAdapter findTabbedAdapter()(Code)
Returns TabbedAdapter component from parents hierarchy.



getAllDiagramElements
public ArrayList<DiagramElementOperator> getAllDiagramElements()(Code)
Returns all element from this diagram all elements from this diagram



getDiagramElement
public DiagramElementOperator getDiagramElement(String name)(Code)

Parameters:
  name -



getDiagramElements
public ArrayList<DiagramElementOperator> getDiagramElements()(Code)
Returns all element from this diagram exclude NodePresentation elements all elements from this diagram exclude NodePresentation elements



getDiagramName
public String getDiagramName()(Code)
Returns diagram name diagram name



getDrawingArea
public DrawingAreaOperator getDrawingArea()(Code)
Returns DrawingAreaOperator for this diagram DrawingAreaOperator for this diagram



getDrawingAreaControl
public IDrawingAreaControl getDrawingAreaControl()(Code)
Returns instance of IDrawingAreaControl for this diagram instance of IDrawingAreaControl for this diagram



getHasSelectedElements
public boolean getHasSelectedElements()(Code)
Returns if there any selected objects on diagram if there any selected objects on diagram



getHasSelectedLinks
public boolean getHasSelectedLinks()(Code)
Returns if there any selected links on diagram if there any selected links on diagram



paletter
public UMLPaletteOperator paletter()(Code)
Return paletter for this diagram, activate palette Paletter operator for this diagram



putElementOnDiagram
public DiagramElementOperator putElementOnDiagram(String name, ElementTypes elementType) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Type of new element
throws:
  qa.uml.exceptions.NotFoundException - when Button for the element is not found on paletter Operator for created element



putElementOnDiagram
public DiagramElementOperator putElementOnDiagram(String name, ExpandedElementTypes elementType) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Expanded Type of new element
throws:
  qa.uml.exceptions.NotFoundException - when Button for the element is not found on paletter Operator for created element



putElementOnDiagram
public DiagramElementOperator putElementOnDiagram(String name, ElementTypes elementType, int x, int y) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Type of new element
Parameters:
  x - X coordinate
Parameters:
  y - Y coordinate
throws:
  qa.uml.exceptions.NotFoundException - when Button for the element is not found on paletter Operator for created element



putElementOnDiagram
public DiagramElementOperator putElementOnDiagram(String name, ExpandedElementTypes elementType, int x, int y) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Expanded Type of new element
Parameters:
  x - X coordinate
Parameters:
  y - Y coordinate
throws:
  qa.uml.exceptions.NotFoundException - when Button for the element is not found on paletter Operator for created element



putElementOnDiagram
public DiagramElementOperator putElementOnDiagram(String name, ElementTypes elementType, int x, int y, SetName namer) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Type of new element
Parameters:
  x - X cooordinate of point where element will be created
Parameters:
  y - Y cooordinate of point where element will be created
Parameters:
  namer - Namer for this element. Certain elementsshould be named in very special way
throws:
  qa.uml.exceptions.NotFoundException - when Button for the element is not found on paletter Operator for created element



putElementOnDiagram
public DiagramElementOperator putElementOnDiagram(String name, ExpandedElementTypes elementType, int x, int y, SetName namer) throws NotFoundException(Code)
Put element on diagram by pressing paletter butoon and clicking on the diagram
Parameters:
  name - Name for new element
Parameters:
  elementType - Expanded Type of new element
Parameters:
  x - X cooordinate of point where element will be created
Parameters:
  y - Y cooordinate of point where element will be created
Parameters:
  namer - Namer for this element. Certain elementsshould be named in very special way
throws:
  qa.uml.exceptions.NotFoundException - when Button for the element is not found on paletter Operator for created element



selectZoomCustom
public void selectZoomCustom(ZoomCustomLevel percent)(Code)
Selects diagram zoom percentage using UI. Invokes 'zoom...' diagram context menu and types specified percent text into opened 'zoom' dialog.
Parameters:
  ZoomCustomLevel - string value to select in Percent ComboBox



toolbar
public DiagramToolbarOperator toolbar()(Code)
Return toolbar for this diagram Toolbar operator for this diagram



waitClosed
public void waitClosed()(Code)



waitForDiagram
public static Component waitForDiagram(String name, Operator.StringComparator comp)(Code)
Wait for diagram CompartmentOperator if found
Parameters:
  comp -
Parameters:
  name - diagramName



zoomIn
public void zoomIn()(Code)
zooms diagram in using 'Zoom In' context menu



zoomOut
public void zoomOut()(Code)
zooms diagram in using 'Zoom Out' context menu



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