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


java.lang.Object
   org.netbeans.test.umllib.LinkOperator

All known Subclasses:   org.netbeans.test.umllib.customelements.MessageOperator,
LinkOperator
public class LinkOperator implements Actionable(Code)
This is operator for a link beween diagram elements. Using it you can perform various operations on link.
author:
   Alexei Mokeev

Inner Class :public static class LinkByElementsChooser implements LinkChooser
Inner Class :public static class LinkByTypeChooser implements LinkChooser
Inner Class :public static class LinkComparator implements Comparator<C>

Field Summary
final public static  longWAIT_LINK_TIMEOUT
    

Constructor Summary
public  LinkOperator(DiagramOperator diagram, IETEdge edge)
    
public  LinkOperator(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType, int index)
    
public  LinkOperator(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType)
    
public  LinkOperator(DiagramElementOperator source, DiagramElementOperator destination)
    

Method Summary
public  voidaddToSelection()
    
public  voidcenter()
    
public  voidcenter(boolean selectIt, boolean deselectOthers)
    
public  booleanequals(Object obj)
    
public static  LinkOperatorfindLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser, int index)
     find link with certain order (i.e.
public  ListgetBends()
    
public  DiagramOperatorgetDiagramOperator()
    
public  IETGraphObjectgetFrom()
    
public  DiagramLabelOperatorgetLabel(String text, int index, boolean exact, boolean caseSensitive)
    
public  DiagramLabelOperatorgetLabel(String text, int index)
    
public  DiagramLabelOperatorgetLabel(String text)
    
public  ArrayList<DiagramLabelOperator>getLabels()
    
public  String[]getLabelsTexts()
    
public  StringgetName()
    
public  PointgetNearCenterPoint()
    
public  PointgetNearCenterPointWithoutOverlayCheck()
    
public  PointgetNearSourcePoint()
    
public  PointgetNearSourcePoint(int edgeShift)
    
public  PointgetNearTargetPoint()
    
public  PointgetNearTargetPoint(int edgeShift)
    
public  JPopupMenuOperatorgetPopup()
    
public  IETEdgegetSource()
    
public  IETGraphObjectgetTo()
    
public  StringgetType()
    
public  booleanhasBends()
    
public  booleanisSelected()
    
public  PointmakeVisible(Point point)
     gets point that belongs to a link and centers on it.
public  voidselect()
    
public  StringtoString()
    
public static  LinkOperatorwaitForLink(DiagramElementOperator source, DiagramElementOperator destination)
    
public static  LinkOperatorwaitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType)
    
public static  LinkOperatorwaitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType, int index)
    
public static  LinkOperatorwaitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser)
    
public static  LinkOperatorwaitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser, int index)
    
public static  LinkOperatorwaitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser, int index, Waiter w)
    
public static  LinkOperatorwaitForUndirectedLink(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType)
    

Field Detail
WAIT_LINK_TIMEOUT
final public static long WAIT_LINK_TIMEOUT(Code)




Constructor Detail
LinkOperator
public LinkOperator(DiagramOperator diagram, IETEdge edge)(Code)

Parameters:
  diagram -
Parameters:
  edge -



LinkOperator
public LinkOperator(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType, int index) throws NotFoundException(Code)
Creates a new instance of LinkOperator
Parameters:
  source -
Parameters:
  destination -
Parameters:
  linkType -
Parameters:
  index -
throws:
  qa.uml.exceptions.NotFoundException -



LinkOperator
public LinkOperator(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType) throws NotFoundException(Code)

Parameters:
  source -
Parameters:
  destination -
Parameters:
  linkType -
throws:
  qa.uml.exceptions.NotFoundException -



LinkOperator
public LinkOperator(DiagramElementOperator source, DiagramElementOperator destination) throws NotFoundException(Code)

Parameters:
  source -
Parameters:
  destination -
throws:
  qa.uml.exceptions.NotFoundException -




Method Detail
addToSelection
public void addToSelection()(Code)



center
public void center()(Code)



center
public void center(boolean selectIt, boolean deselectOthers)(Code)

Parameters:
  selectIt -
Parameters:
  deselectOthers -



equals
public boolean equals(Object obj)(Code)

Parameters:
  obj -



findLink
public static LinkOperator findLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser, int index)(Code)
find link with certain order (i.e. from source to destination)
Parameters:
  source -
Parameters:
  destination -
Parameters:
  linkChooser -
Parameters:
  index -



getBends
public List getBends()(Code)



getDiagramOperator
public DiagramOperator getDiagramOperator()(Code)



getFrom
public IETGraphObject getFrom()(Code)



getLabel
public DiagramLabelOperator getLabel(String text, int index, boolean exact, boolean caseSensitive)(Code)

Parameters:
  text -
Parameters:
  index -
Parameters:
  exact -
Parameters:
  caseSensitive -



getLabel
public DiagramLabelOperator getLabel(String text, int index)(Code)

Parameters:
  text -
Parameters:
  index -



getLabel
public DiagramLabelOperator getLabel(String text)(Code)

Parameters:
  text -



getLabels
public ArrayList<DiagramLabelOperator> getLabels()(Code)



getLabelsTexts
public String[] getLabelsTexts()(Code)



getName
public String getName()(Code)



getNearCenterPoint
public Point getNearCenterPoint()(Code)
Point close to link center of close to last section center



getNearCenterPointWithoutOverlayCheck
public Point getNearCenterPointWithoutOverlayCheck()(Code)
Point close to link center of close to last section center



getNearSourcePoint
public Point getNearSourcePoint()(Code)
Point close to Source clipping point (with about 5points shift from the edge)



getNearSourcePoint
public Point getNearSourcePoint(int edgeShift)(Code)

Parameters:
  edgeShift - - shift in local point from edge Point close to Target clipping point (with about edgeShift points shift from the edge)



getNearTargetPoint
public Point getNearTargetPoint()(Code)
Point close to Target clipping point (with about 5points shift from the edge)



getNearTargetPoint
public Point getNearTargetPoint(int edgeShift)(Code)

Parameters:
  edgeShift - - shift in local point from edge Point close to Target clipping point (with about edgeShift points shift from the edge)



getPopup
public JPopupMenuOperator getPopup()(Code)



getSource
public IETEdge getSource()(Code)



getTo
public IETGraphObject getTo()(Code)



getType
public String getType()(Code)



hasBends
public boolean hasBends()(Code)



isSelected
public boolean isSelected()(Code)



makeVisible
public Point makeVisible(Point point)(Code)
gets point that belongs to a link and centers on it. The updated device point is returned
Parameters:
  point -



select
public void select()(Code)



toString
public String toString()(Code)



waitForLink
public static LinkOperator waitForLink(DiagramElementOperator source, DiagramElementOperator destination) throws NotFoundException(Code)

Parameters:
  source -
Parameters:
  destination -
throws:
  qa.uml.exceptions.NotFoundException -



waitForLink
public static LinkOperator waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType) throws NotFoundException(Code)

Parameters:
  source -
Parameters:
  destination -
Parameters:
  linkType -
throws:
  qa.uml.exceptions.NotFoundException -



waitForLink
public static LinkOperator waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType, int index) throws NotFoundException(Code)

Parameters:
  source -
Parameters:
  destination -
Parameters:
  linkType -
Parameters:
  index -
throws:
  qa.uml.exceptions.NotFoundException -



waitForLink
public static LinkOperator waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser) throws NotFoundException(Code)

Parameters:
  source -
Parameters:
  destination -
Parameters:
  linkChooser -
throws:
  qa.uml.exceptions.NotFoundException -



waitForLink
public static LinkOperator waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser, int index) throws NotFoundException(Code)

Parameters:
  source -
Parameters:
  destination -
Parameters:
  linkChooser -
Parameters:
  index -
throws:
  qa.uml.exceptions.NotFoundException -



waitForLink
public static LinkOperator waitForLink(DiagramElementOperator source, DiagramElementOperator destination, LinkChooser linkChooser, int index, Waiter w) throws NotFoundException(Code)

Parameters:
  w -
Parameters:
  source -
Parameters:
  destination -
Parameters:
  linkChooser -
Parameters:
  index -
throws:
  qa.uml.exceptions.NotFoundException -



waitForUndirectedLink
public static LinkOperator waitForUndirectedLink(DiagramElementOperator source, DiagramElementOperator destination, LinkTypes linkType) throws NotFoundException(Code)

Parameters:
  linkType -
Parameters:
  source -
Parameters:
  destination -
throws:
  qa.uml.exceptions.NotFoundException -



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(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.