Java Doc for UIDisplay.java in  » Science » Cougaar12_4 » org » cougaar » mlm » debug » ui » 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 » Science » Cougaar12_4 » org.cougaar.mlm.debug.ui 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.cougaar.mlm.debug.ui.UIDisplay

UIDisplay
public class UIDisplay implements ActionListener,Runnable(Code)
The sample User Interface Plugin display. This is created and run from the UIPlugin.start method. It's run in a separate thread so that the UIPlugin.start method can return immediately while this new thread creates the user display and awaits user actions. The display contains buttons for displaying the log plan, expandable tasks, allocatable workflows, assets and asset schedules. A new thread is created for each display; it: obtains the requested information; creates a window and displays the requested information; listens for changes in the cluster (for local cluster only); listens for user changes (currently only closing the window). This assumes that there is only one plan ("Reality"). In the future, this should allow the user to: select a plan and see the clusters associated with that plan (at the local cluster)


Field Summary
public static  StringALL_ASSETS_COMMAND
    
public static  StringASSETS_COMMAND
    
public static  StringASSET_SCHEDULE_COMMAND
    
public static  StringASSIGN_ASSETS_COMMAND
    
public static  StringCLUSTER_ASSETS_COMMAND
    
public static  StringCREATE_TASK_COMMAND
    
public static  StringOUTPUT_FILE_COMMAND
    
public static  StringPLAN_COMMAND
    
public static  StringPLAN_DETAILS_COMMAND
    
public static  StringPROVIDE_LOG_SUPPORT_COMMAND
    
public static  StringSINGLE_ASSET_SCHEDULE_COMMAND
    
public static  StringTASKS_COMMAND
    
public static  StringWORKFLOWS_COMMAND
    
 intgridx
    
 intgridy
    
 InsetsinternalPadding
    
 InsetslabelInternalPadding
    
 InsetsnoInternalPadding
    
 JPanelpanel
    

Constructor Summary
public  UIDisplay(UIPlugin uiPlugin, PluginDelegate del)
     Called from UIPlugin; records the plugin this is part of for use by objects it creates.

Method Summary
public  voidactionPerformed(ActionEvent e)
     Handle user selection.
public  voidrun()
     Obtain the information requested and display it.

Field Detail
ALL_ASSETS_COMMAND
public static String ALL_ASSETS_COMMAND(Code)



ASSETS_COMMAND
public static String ASSETS_COMMAND(Code)



ASSET_SCHEDULE_COMMAND
public static String ASSET_SCHEDULE_COMMAND(Code)



ASSIGN_ASSETS_COMMAND
public static String ASSIGN_ASSETS_COMMAND(Code)



CLUSTER_ASSETS_COMMAND
public static String CLUSTER_ASSETS_COMMAND(Code)



CREATE_TASK_COMMAND
public static String CREATE_TASK_COMMAND(Code)



OUTPUT_FILE_COMMAND
public static String OUTPUT_FILE_COMMAND(Code)



PLAN_COMMAND
public static String PLAN_COMMAND(Code)



PLAN_DETAILS_COMMAND
public static String PLAN_DETAILS_COMMAND(Code)



PROVIDE_LOG_SUPPORT_COMMAND
public static String PROVIDE_LOG_SUPPORT_COMMAND(Code)



SINGLE_ASSET_SCHEDULE_COMMAND
public static String SINGLE_ASSET_SCHEDULE_COMMAND(Code)



TASKS_COMMAND
public static String TASKS_COMMAND(Code)



WORKFLOWS_COMMAND
public static String WORKFLOWS_COMMAND(Code)



gridx
int gridx(Code)



gridy
int gridy(Code)



internalPadding
Insets internalPadding(Code)



labelInternalPadding
Insets labelInternalPadding(Code)



noInternalPadding
Insets noInternalPadding(Code)



panel
JPanel panel(Code)




Constructor Detail
UIDisplay
public UIDisplay(UIPlugin uiPlugin, PluginDelegate del)(Code)
Called from UIPlugin; records the plugin this is part of for use by objects it creates.
Parameters:
  uiPlugin - this user interface plugin




Method Detail
actionPerformed
public void actionPerformed(ActionEvent e)(Code)
Handle user selection. Create a new thread which creates a new window, displays the information requested, and listens for changes (from local cluster only). Each display is handled by a separate thread, so while one display is waiting to collect information from the clusters, the user can request another set of information. This creates a tree display for log plans, tasks and workflows, and a bar graph display for assets and asset schedules.
Parameters:
  e - the event generated by the user



run
public void run()(Code)
Obtain the information requested and display it. Information is obtained in the run method, so that the main user interface thread is not hung waiting to obtain information from (potentially remote) clusters. If the user closes this window (the main display), then the plugin exits. In the future, this should query the user for the plan; for now, it simply gets the first plan (should be "Reality") and exits if it doesn't exist. Although the plan is passed to the createRow method and used to display potentially different lists of cluster ids, the actionperformed method simply gets the plan from the global plan variable; eventually it will get it from the user's input.



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.