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


java.lang.Object
   org.netbeans.test.umllib.actions.DiagramElementAction

All known Subclasses:   org.netbeans.test.umllib.actions.SelectAllSimilarElementAction,  org.netbeans.test.umllib.actions.ShowChildrenOneLevelElementAction,  org.netbeans.test.umllib.actions.LockEditElementAction,  org.netbeans.test.umllib.actions.ResizeElementToContentsElementAction,  org.netbeans.test.umllib.actions.SelectAllElementAction,  org.netbeans.test.umllib.actions.HideParentsOneLevelElementAction,  org.netbeans.test.umllib.actions.HideParentsAllLevelsElementAction,  org.netbeans.test.umllib.actions.DeleteElementAction,  org.netbeans.test.umllib.actions.BorderColorElementAction,  org.netbeans.test.umllib.actions.LabelsNameElementAction,  org.netbeans.test.umllib.actions.DeleteOperationAction,  org.netbeans.test.umllib.actions.InsertAttributeAction,  org.netbeans.test.umllib.actions.ShowParentsOneLevelElementAction,  org.netbeans.test.umllib.actions.HideChildrenAllLevelsElementAction,  org.netbeans.test.umllib.actions.CopyElementAction,  org.netbeans.test.umllib.actions.HideChildrenOneLevelElementAction,  org.netbeans.test.umllib.actions.FontColorElementAction,  org.netbeans.test.umllib.actions.InvertSelectionElementAction,  org.netbeans.test.umllib.actions.ShowParentsAllLevelsElementAction,  org.netbeans.test.umllib.actions.FontElementAction,  org.netbeans.test.umllib.actions.DeleteAttributeAction,  org.netbeans.test.umllib.actions.ShowChildrenAllLevelsElementAction,  org.netbeans.test.umllib.actions.BackgroundColorElementAction,  org.netbeans.test.umllib.actions.InsertOperationAction,  org.netbeans.test.umllib.actions.CutElementAction,  org.netbeans.test.umllib.actions.DrawingAreaPasteAction,  org.netbeans.test.umllib.actions.PasteElementAction,
DiagramElementAction
public class DiagramElementAction (Code)
This is basic class for all diagram actions. Derived from corresponding jelly Action class
author:
   Alexei Mokeev


Field Summary
final protected static  longAFTER_ACTION_WAIT_TIME
    
final public static  intAPI_MODE
    
final public static  intMENU_MODE
    
final public static  intPOPUP_MODE
    
final protected static  longSELECTION_WAIT_TIME
    
final public static  intSHORTCUT_MODE
    
final protected static  longWAIT_AFTER_SHORTCUT_TIMEOUT
    
protected  StringmenuPath
    
protected  StringpopupPath
    
protected  Shortcut[]shortcuts
    
protected  ClasssystemActionClass
    

Constructor Summary
public  DiagramElementAction(String menuPath, String popupPath)
    
public  DiagramElementAction(String menuPath, String popupPath, String systemActionClass)
    
public  DiagramElementAction(String menuPath, String popupPath, Shortcut[] shortcuts)
    
public  DiagramElementAction(String menuPath, String popupPath, Shortcut shortcut)
    
public  DiagramElementAction(String menuPath, String popupPath, String systemActionClass, Shortcut[] shortcuts)
    
public  DiagramElementAction(String menuPath, String popupPath, String systemActionClass, Shortcut shortcut)
    
public  DiagramElementAction()
    

Method Summary
public  StringComparatorgetComparator()
     Gets comparator set for this action instance.
public  voidperformMenu()
    
public  voidperformMenu(Actionable element)
    
public  voidperformMenu(Actionable[] elements)
    
public  voidperformPopup(Actionable element)
    
public  voidperformPopup(Actionable[] elements)
    
public  voidperformPopupNoBlock(Actionable element)
    
public  voidperformPopupNoBlock(Actionable[] elements)
    
public  voidperformShortcut()
    
public  voidperformShortcut(Actionable element)
    
public  voidperformShortcut(Actionable[] elements)
    
public  voidsetComparator(StringComparator comparator)
     Sets comparator fot this action.

Field Detail
AFTER_ACTION_WAIT_TIME
final protected static long AFTER_ACTION_WAIT_TIME(Code)
sleep time after action execution



API_MODE
final public static int API_MODE(Code)
through API action performing mode



MENU_MODE
final public static int MENU_MODE(Code)
through menu action performing mode



POPUP_MODE
final public static int POPUP_MODE(Code)
through popup menu action performing mode



SELECTION_WAIT_TIME
final protected static long SELECTION_WAIT_TIME(Code)
sleep time between elements selection and action execution



SHORTCUT_MODE
final public static int SHORTCUT_MODE(Code)
through shortcut action performing mode



WAIT_AFTER_SHORTCUT_TIMEOUT
final protected static long WAIT_AFTER_SHORTCUT_TIMEOUT(Code)
sleep time between sequence of shortcuts



menuPath
protected String menuPath(Code)
menu path of current action or null when MENU_MODE is not supported



popupPath
protected String popupPath(Code)
popup menu path of current action or null when POPUP_MODE is not supported



shortcuts
protected Shortcut[] shortcuts(Code)
array of shortcuts of current action or null when SHORTCUT_MODE is not supported



systemActionClass
protected Class systemActionClass(Code)
SystemDiagramElementAction class of current action or null when API_MODE is not supported




Constructor Detail
DiagramElementAction
public DiagramElementAction(String menuPath, String popupPath)(Code)
creates new DiagramElementAction instance without API_MODE and SHORTCUT_MODE support
Parameters:
  menuPath - action path in main menu (use null value if menu mode is not supported)
Parameters:
  popupPath - action path in popup menu (use null value if popup mode shell is not supported)



DiagramElementAction
public DiagramElementAction(String menuPath, String popupPath, String systemActionClass)(Code)
creates new DiagramElementAction instance without SHORTCUT_MODE support
Parameters:
  menuPath - action path in main menu (use null value if menu mode is not supported)
Parameters:
  popupPath - action path in popup menu (use null value if popup mode is not supported)
Parameters:
  systemActionClass - String class name of SystemDiagramElementAction (use null value if API mode is not supported)



DiagramElementAction
public DiagramElementAction(String menuPath, String popupPath, Shortcut[] shortcuts)(Code)
creates new DiagramElementAction instance without API_MODE support
Parameters:
  shortcuts - array of Shortcut instances (use null value if shorcut mode is not supported)
Parameters:
  menuPath - action path in main menu (use null value if menu mode is not supported)
Parameters:
  popupPath - action path in popup menu (use null value if popup mode shell is not supported)



DiagramElementAction
public DiagramElementAction(String menuPath, String popupPath, Shortcut shortcut)(Code)
creates new DiagramElementAction instance without API_MODE support
Parameters:
  shortcut - Shortcut (use null value if menu mode is not supported)
Parameters:
  menuPath - action path in main menu (use null value if menu mode is not supported)
Parameters:
  popupPath - action path in popup menu (use null value if popup mode shell is not supported)



DiagramElementAction
public DiagramElementAction(String menuPath, String popupPath, String systemActionClass, Shortcut[] shortcuts)(Code)
creates new DiagramElementAction instance
Parameters:
  shortcuts - array of Shortcut instances (use null value if shortcut mode is not supported)
Parameters:
  menuPath - action path in main menu (use null value if menu mode is not supported)
Parameters:
  popupPath - action path in popup menu (use null value if popup mode is not supported)
Parameters:
  systemActionClass - String class name of SystemDiagramElementAction (use null value if API mode is not supported)



DiagramElementAction
public DiagramElementAction(String menuPath, String popupPath, String systemActionClass, Shortcut shortcut)(Code)
creates new DiagramElementAction instance
Parameters:
  shortcut - Shortcut String (use null value if menu mode is not supported)
Parameters:
  menuPath - action path in main menu (use null value if menu mode is not supported)
Parameters:
  popupPath - action path in popup menu (use null value if popup mode is not supported)
Parameters:
  systemActionClass - String class name of SystemDiagramElementAction (use null value if API mode is not supported)



DiagramElementAction
public DiagramElementAction()(Code)
Creates a new instance of DiagramElementAction




Method Detail
getComparator
public StringComparator getComparator()(Code)
Gets comparator set for this action instance. comparator set for this action instance.



performMenu
public void performMenu()(Code)
performs action through main menu
throws:
  UnsupportedOperationException - when action does not support menu mode



performMenu
public void performMenu(Actionable element)(Code)



performMenu
public void performMenu(Actionable[] elements)(Code)
performs action through main menu
Parameters:
  elements - elements to be action performed on
throws:
  UnsupportedOperationException - when action does not support shortcut mode



performPopup
public void performPopup(Actionable element)(Code)
performs action through popup menu
Parameters:
  element - node to be action performed on
throws:
  UnsupportedOperationException - when action does not support popup mode



performPopup
public void performPopup(Actionable[] elements)(Code)
performs action through popup menu
Parameters:
  elements - elements to be action performed on
throws:
  UnsupportedOperationException - when action does not support popup mode



performPopupNoBlock
public void performPopupNoBlock(Actionable element)(Code)
performs action through popup menu
Parameters:
  element - node to be action performed on
throws:
  UnsupportedOperationException - when action does not support popup mode



performPopupNoBlock
public void performPopupNoBlock(Actionable[] elements)(Code)
performs action through popup menu
Parameters:
  elements - elements to be action performed on
throws:
  UnsupportedOperationException - when action does not support popup mode



performShortcut
public void performShortcut()(Code)
performs action through shortcut
throws:
  UnsupportedOperationException - if no shortcut is defined



performShortcut
public void performShortcut(Actionable element)(Code)
performs action through shortcut
Parameters:
  element - node to be action performed on
throws:
  UnsupportedOperationException - when action does not support shortcut mode



performShortcut
public void performShortcut(Actionable[] elements)(Code)
performs action through shortcut
Parameters:
  elements - elements to be action performed on
throws:
  UnsupportedOperationException - when action does not support shortcut mode



setComparator
public void setComparator(StringComparator comparator)(Code)
Sets comparator fot this action. Comparator is used for all actions after this method is called.
Parameters:
  comparator - new comparator to be set (e.g.new Operator.DefaultStringComparator(true, true);to search string item exactly and case sensitive)



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.