Source Code Cross Referenced for IControlContainer.java in  » Web-Framework » jWic » de » jwic » base » 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 » Web Framework » jWic » de.jwic.base 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 2005 jWic group (http://www.jwic.de)
003:         * 
004:         * Licensed under the Apache License, Version 2.0 (the "License");
005:         * you may not use this file except in compliance with the License.
006:         * You may obtain a copy of the License at
007:         *
008:         *     http://www.apache.org/licenses/LICENSE-2.0
009:         *
010:         * Unless required by applicable law or agreed to in writing, software
011:         * distributed under the License is distributed on an "AS IS" BASIS,
012:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013:         * See the License for the specific language governing permissions and
014:         * limitations under the License.
015:         * 
016:         * de.jwic.base.ControlContainer
017:         * $Id: IControlContainer.java,v 1.3 2006/09/26 14:26:54 lordsam Exp $
018:         */
019:        package de.jwic.base;
020:
021:        import java.util.Iterator;
022:
023:        /**
024:         * This interface defines methods required by containers.
025:         * @author Florian Lippisch
026:         */
027:        public interface IControlContainer {
028:
029:            /**
030:             * Adopt a control that has already been created with a different parent. The
031:             * control is removed from its current parent and added to this container.
032:             * @param control
033:             * @param name - new name of the control or <code>null</code> if the name should be assigned automatically
034:             */
035:            public void adopt(Control control, String name);
036:
037:            /**
038:             * Returns a Control by its name.
039:             * @param name java.lang.String
040:             */
041:            public Control getControl(String name);
042:
043:            /**
044:             * Returns an Iterator for all controls in this container.
045:             * @return Iterator of Control objects
046:             */
047:            public Iterator getControls();
048:
049:            /**
050:             * Returns the SessionContext. 
051:             * @return
052:             */
053:            public SessionContext getSessionContext();
054:
055:            /**
056:             * INTERNAL method used to registers a control with this container. This method is called automatically
057:             * within the constructor of a control. Do not use this method directly, thought that subclasses
058:             * may override this method to get notified if a control is registered.
059:             * @param control the Control 
060:             */
061:            public void registerControl(Control control, String name);
062:
063:            /**
064:             * INTERNAL method used to unregisters a control from this container. The control is removed but not
065:             * destroyed. Do not use this method directly, thought that subclasses may override this method to
066:             * get notified if a control is removed. 
067:             * @param control the Control 
068:             */
069:            public void unregisterControl(Control control);
070:
071:            /**
072:             * Remove a control from the container. 
073:             */
074:            public void removeControl(String name);
075:
076:            /**
077:             * Returns true if the control has been changed since the last rendering
078:             * and must be rendered again to reflect the last changes.
079:             * @return boolean
080:             */
081:            public abstract boolean isRequireRedraw();
082:
083:            /**
084:             * Set to true if the control needs to be rendered again to reflect the changes
085:             * of the control since it was last rendered. 
086:             * @param requireRedraw
087:             */
088:            public abstract void setRequireRedraw(boolean requireRedraw);
089:
090:            /**
091:             * Returns true if the specified childControl is visible. This method is
092:             * used by the rendering engine to determine if the specified control can
093:             * be rendered. By default, it simply returns the childControls visible
094:             * property. But some container implementations (like the TabStripControl) 
095:             * can override this method to prevent rendering of a child (i.e. a TabControl)
096:             * that is visible but not 'active.
097:             * 
098:             * @param childControl
099:             * @return
100:             */
101:            public boolean isRenderingRelevant(Control childControl);
102:
103:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.