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

DiagramLabelOperator
public class DiagramLabelOperator implements Actionable(Code)
This is operator for labels.

Inner Class :public static class LabelComparator implements Comparator<C>
Inner Class :public static class LabelByTextChooser implements LabelChooser
Inner Class :public static class AnyLabelChooser implements LabelChooser

Field Summary
final public static  longWAIT_LABEL_TIMEOUT
     Default delay for Compartment Waiter.
protected  IETLabelsourceLabel
    

Constructor Summary
public  DiagramLabelOperator(DiagramOperator dia, String text)
    
public  DiagramLabelOperator(DiagramOperator dia, String text, int index)
    
public  DiagramLabelOperator(DiagramOperator dia, LabelChooser chooser, int index)
    
public  DiagramLabelOperator(DiagramOperator dia, IETLabel label)
    

Method Summary
public  voidaddToSelection()
    
public  voidcenter()
    
public  voidcenter(boolean selectIt, boolean deselectOthers)
    
public  voidclickForPopup()
    
public  voidclickOn(Point p, int clickCount, int mouseButton, int modifiers)
    
public  voidclickOnCenter(int clickCount, int mouseButton, int modifiers)
    
public  voidclickOnCenter(int clickCount, int mouseButton)
    
public  voidclickOnCenter()
    
public static  IETLabelfindLabel(DiagramOperator diagramOperator, LabelChooser labelChooser, int index)
    
public  IETRectgetBoundingRect()
    
public  PointgetCenterPoint()
    
public  JPopupMenuOperatorgetPopup()
    
protected  IETLabelgetSource()
    
public  StringgetText()
    
public  booleanisLinkName()
    
public  PointmakeVisible(Point point)
     gets point inside a component and, if component is not visible centers window in this component.
public  voidmoveTo(int x, int y)
    
public  voidmoveTo(double x, double y)
    
public  voidselect()
    
public  voidshift(int dx, int dy)
    
public  voidshift(double dx, double dy)
    
public static  IETLabelwaitForLabel(DiagramOperator diagramOperator, LabelChooser chooser, int index)
    

Field Detail
WAIT_LABEL_TIMEOUT
final public static long WAIT_LABEL_TIMEOUT(Code)
Default delay for Compartment Waiter. Real value can be changed as for the all other operators(For example via JemmyProperties)



sourceLabel
protected IETLabel sourceLabel(Code)




Constructor Detail
DiagramLabelOperator
public DiagramLabelOperator(DiagramOperator dia, String text) throws NotFoundException(Code)
Constructs label by text
Parameters:
  dia - Instance of DiagramOperator
Parameters:
  text - text
throws:
  qa.uml.exceptions.NotFoundException - when no suitable label found



DiagramLabelOperator
public DiagramLabelOperator(DiagramOperator dia, String text, int index) throws NotFoundException(Code)
Costruct label by text and index
Parameters:
  dia - - current diagram operator
Parameters:
  text - - label's text
Parameters:
  index - - index of the label
throws:
  qa.uml.exceptions.NotFoundException - when no suitable label found



DiagramLabelOperator
public DiagramLabelOperator(DiagramOperator dia, LabelChooser chooser, int index) throws NotFoundException(Code)
Costruct label by chooser and index
Parameters:
  dia - - current diagram operator
Parameters:
  chooser - - label's chooser
Parameters:
  index - - index of the label
throws:
  qa.uml.exceptions.NotFoundException - when no suitable label found



DiagramLabelOperator
public DiagramLabelOperator(DiagramOperator dia, IETLabel label)(Code)
Construct label by label class
Parameters:
  dia -
Parameters:
  label -




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 -



clickForPopup
public void clickForPopup()(Code)



clickOn
public void clickOn(Point p, int clickCount, int mouseButton, int modifiers)(Code)

Parameters:
  p -
Parameters:
  clickCount -
Parameters:
  mouseButton -
Parameters:
  modifiers -



clickOnCenter
public void clickOnCenter(int clickCount, int mouseButton, int modifiers)(Code)

Parameters:
  clickCount -
Parameters:
  mouseButton -
Parameters:
  modifiers -



clickOnCenter
public void clickOnCenter(int clickCount, int mouseButton)(Code)

Parameters:
  clickCount -
Parameters:
  mouseButton -



clickOnCenter
public void clickOnCenter()(Code)



findLabel
public static IETLabel findLabel(DiagramOperator diagramOperator, LabelChooser labelChooser, int index) throws NotFoundException(Code)
Search for suitable graph object
Parameters:
  diagramOperator - Diagram to look for label
Parameters:
  labelChooser - custom chooser
Parameters:
  index - index
throws:
  qa.uml.exceptions.NotFoundException - when nothing suitable found Graph object if found



getBoundingRect
public IETRect getBoundingRect()(Code)
bounding rect for label



getCenterPoint
public Point getCenterPoint()(Code)
Returns center point of this compartment center point of this compartment



getPopup
public JPopupMenuOperator getPopup()(Code)



getSource
protected IETLabel getSource()(Code)



getText
public String getText()(Code)
method return name of comparment from compartment source compartmant name



isLinkName
public boolean isLinkName()(Code)
true if it's name label



makeVisible
public Point makeVisible(Point point)(Code)
gets point inside a component and, if component is not visible centers window in this component. The updated device point is returned
Parameters:
  point -



moveTo
public void moveTo(int x, int y)(Code)
Change element position with usage of mouse robot driver
Parameters:
  x -
Parameters:
  y -



moveTo
public void moveTo(double x, double y)(Code)

Parameters:
  x -
Parameters:
  y -



select
public void select()(Code)
Select label by click on center



shift
public void shift(int dx, int dy)(Code)
Change element position with usage of mouse robot driver
Parameters:
  dx -
Parameters:
  dy -



shift
public void shift(double dx, double dy)(Code)

Parameters:
  dx -
Parameters:
  dy -



waitForLabel
public static IETLabel waitForLabel(DiagramOperator diagramOperator, LabelChooser chooser, int index)(Code)
Wait for suitable graph object Element's GraphObject if found
Parameters:
  chooser -
Parameters:
  diagramOperator - Diagram to look for element
Parameters:
  index - index



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.