Source Code Cross Referenced for IBlackboard.java in  » GIS » udig-1.1 » net » refractions » udig » project » 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 » GIS » udig 1.1 » net.refractions.udig.project 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * uDig - User Friendly Desktop Internet GIS client http://udig.refractions.net (C) 2004,
003:         * Refractions Research Inc. This library is free software; you can redistribute it and/or modify it
004:         * under the terms of the GNU Lesser General Public License as published by the Free Software
005:         * Foundation; version 2.1 of the License. This library is distributed in the hope that it will be
006:         * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
007:         * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
008:         */
009:        package net.refractions.udig.project;
010:
011:        /**
012:         * Provide Temporary for shared collaboration between renderers and the user.
013:         * <p>
014:         * To emphais the tempoary nature we are not storing objects at this time, please see
015:         * StyleBlackboard for the direction we wish to take this class. API should this interface be
016:         * included?
017:         * </p>
018:         * Q: Should this class be cloneable? API explain the use of 'keys' and any uniqueness constraints
019:         * (Set or List?) API X getX(key) ... should this be X get(key) and let the compiler firgure out
020:         * which one to call based on the signature? API moreover, you might want to consider on 'Objects'
021:         * and the use of <T> in the API, using generics to avoid multiple get and put methods. API looks
022:         * alot like a Map ... either document a comparison or add an extends clause?
023:         * 
024:         * @author Jody Garnett
025:         * @since 0.7.0
026:         */
027:        public interface IBlackboard {
028:            /**
029:             * Adds a listener to the blackboard.  Duplicates are not permitted.
030:             *
031:             * @param listener a listener that will be notified when the blackboard changes
032:             * @return <tt>true</tt> if the collection changed as a result of the call.
033:             */
034:            boolean addListener(IBlackboardListener listener);
035:
036:            /**
037:             * Removes a listener
038:             *
039:             * @param listener the listener to be removed.
040:             * @return <tt>true</tt> if the collection contained the specified
041:             *         element.
042:             */
043:            boolean removeListener(IBlackboardListener listener);
044:
045:            /**
046:             * Check if blackboard has an entry for key.
047:             * 
048:             * @return <code>true</code> if a value is known for key
049:             */
050:            boolean contains(String key);
051:
052:            /**
053:             * Returns the object value of the given key.
054:             * 
055:             * @param key the key
056:             * @return the value, or null if the key was not found
057:             */
058:            public Object get(String key);
059:
060:            /**
061:             * Sets the value of the given key.
062:             * 
063:             * @param key the key
064:             * @param value the value
065:             */
066:            public void put(String key, Object value);
067:
068:            /**
069:             * Returns the floating point value of the given key.
070:             * 
071:             * @param key the key
072:             * @return the value, or <code>null</code> if the key was not found or was found but was not a
073:             *         floating point number
074:             */
075:            public Float getFloat(String key);
076:
077:            /**
078:             * Returns the integer value of the given key.
079:             * 
080:             * @param key the key
081:             * @return the value, or <code>null</code> if the key was not found or was found but was not
082:             *         an integer
083:             */
084:            public Integer getInteger(String key);
085:
086:            /**
087:             * Returns the string value of the given key.
088:             * 
089:             * @param key the key
090:             * @return the value, or <code>null</code> if the key was not found
091:             */
092:            public String getString(String key);
093:
094:            /**
095:             * Sets the value of the given key to the given floating point number.
096:             * 
097:             * @param key the key
098:             * @param value the value
099:             */
100:            public void putFloat(String key, float value);
101:
102:            /**
103:             * Sets the value of the given key to the given integer.
104:             * 
105:             * @param key the key
106:             * @param value the value
107:             */
108:            public void putInteger(String key, int value);
109:
110:            /**
111:             * Sets the value of the given key to the given string.
112:             * 
113:             * @param key the key
114:             * @param value the value
115:             */
116:            public void putString(String key, String value);
117:
118:            /**
119:             * Clear the contents of this blackboard.
120:             * <p>
121:             * This is a clear() method, not a dispose(), resource handling is not provided.
122:             * </p>
123:             * <p>
124:             * It is not recommend that client code store *real* (such as Images) resources on the
125:             * blackboard. This is not a ImageCache that will magically handle resource management for you.
126:             * </p>
127:             */
128:            public void clear();
129:
130:            /**
131:             * Flush the contents of this blackboard.
132:             * <p>
133:             * This signals the blackboard to save any contents, and clear any cached object references.
134:             * </p>
135:             */
136:            public void flush();
137:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.