Source Code Cross Referenced for Gui4jWindow.java in  » XML-UI » gui4j » org » gui4j » 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 » XML UI » gui4j » org.gui4j 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.gui4j;
002:
003:        import java.awt.Dimension;
004:        import java.awt.Window;
005:
006:        import javax.swing.JComponent;
007:
008:        /**
009:         */
010:        public interface Gui4jWindow {
011:            /**
012:             * Wait until all gui events are executed.
013:             */
014:            void waitForGUI();
015:
016:            /**
017:             * Method prepare. Call this methid, before show, hide, setVisible 
018:             * @return Gui4jWindow (the same instance)
019:             */
020:            Gui4jWindow prepare();
021:
022:            /**
023:             * Shows or hides the window.
024:             * @param show true or false
025:             */
026:            void setVisible(boolean show);
027:
028:            /**
029:             * This method closes the view. If the view is not open,
030:             * nothing happens
031:             */
032:            void close();
033:
034:            /**
035:             * Show the window.
036:             */
037:            void show();
038:
039:            /**
040:             * Hide the window.
041:             */
042:            void hide();
043:
044:            /**
045:             * @return true if the window is closed
046:             */
047:            boolean isClosed();
048:
049:            /**
050:             * Resizes this view's JFrame so that all components get
051:             * their preferred sizes.
052:             */
053:            void resize();
054:
055:            /**
056:             * @return the underlying swing window.
057:             */
058:            Window getWindow();
059:
060:            /**
061:             * This method is needed to change a frame's title
062:             * @deprecated Use {@link #setTitle(String)} instead.
063:             * @param title
064:             */
065:            void changeWindowTitle(String title);
066:
067:            /**
068:             * @return the window title
069:             */
070:            String getTitle();
071:
072:            /**
073:             * Resets the window title to the specified String.
074:             * @param title
075:             */
076:            void setTitle(String title);
077:
078:            /**
079:             * Maximize the window on the desktop.
080:             */
081:            void maximize();
082:
083:            /**
084:             * Maximize the window, but stop at the given dimension.
085:             * @param maxWidth maximum width
086:             * @param maxHeight maximum height
087:             */
088:            void maximize(int maxWidth, int maxHeight);
089:
090:            /**
091:             * Maximize the window, but the maximum siye is limited to 1024 x 768
092:             */
093:            void maximize1024x768();
094:
095:            /**
096:             * Center the window.
097:             * @param centered if true, the window will be centered
098:             */
099:            void center(boolean centered);
100:
101:            /**
102:             * Convenience method for {@link #setWindowSize(int, int)}
103:             * @param d must not be <code>null</code>
104:             */
105:            void setWindowSize(Dimension d);
106:
107:            /**
108:             * Sets the window size.
109:             * @param width the width
110:             * @param height the height
111:             */
112:            void setWindowSize(int width, int height);
113:
114:            /**
115:             * Display the working cursor. A counter variable remembers the the number of calls of setWorkingCursor and
116:             * setNormalCursor, so that only the last call of setNormalCursor really displays the normal cursor.
117:             */
118:            void setWorkingCursor();
119:
120:            /**
121:             * Restores the normal cursor. See setWorkingCursor.
122:             */
123:            void setNormalCursor();
124:
125:            /**
126:             * @return true if the window blocks for all events
127:             */
128:            boolean isBlocked();
129:
130:            /**
131:             * @param busy if true, then the wait cursor will be shown the the gui will be blocked. A counter variable remembers the number
132:             * of calls with busy true and false and the last call of setBusy(false) will unlock the gui and the normal cursor will be
133:             * displayed.
134:             */
135:            void setBusy(final boolean busy);
136:
137:            /**
138:             * Sets the gui to enabled false
139:             */
140:            void disable();
141:
142:            /**
143:             * Sets the gui to enabled true
144:             */
145:            void enable();
146:
147:            /**
148:             * Sets the enabled state.
149:             * @param flag the enabled state
150:             */
151:            void setEnabled(boolean flag);
152:
153:            Gui4jController getGui4jController();
154:
155:            void dispose();
156:
157:            void refreshAll();
158:
159:            /**
160:             * Returns the swing component with the given guiId.
161:             * @param id the guiId from the xml file.
162:             * @return JComponent
163:             */
164:            JComponent getSwingComponent(String id);
165:
166:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.