Java Doc 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 Reference  Class Diagram Java Document (Java Doc) 


net.refractions.udig.project.IBlackboard

All known Subclasses:   net.refractions.udig.project.internal.SimpleBlackboard,
IBlackboard
public interface IBlackboard (Code)
Provide Temporary for shared collaboration between renderers and the user.

To emphais the tempoary nature we are not storing objects at this time, please see StyleBlackboard for the direction we wish to take this class. API should this interface be included?

Q: Should this class be cloneable? API explain the use of 'keys' and any uniqueness constraints (Set or List?) API X getX(key) ... should this be X get(key) and let the compiler firgure out which one to call based on the signature? API moreover, you might want to consider on 'Objects' and the use of in the API, using generics to avoid multiple get and put methods. API looks alot like a Map ... either document a comparison or add an extends clause?
author:
   Jody Garnett
since:
   0.7.0




Method Summary
 booleanaddListener(IBlackboardListener listener)
     Adds a listener to the blackboard.
public  voidclear()
     Clear the contents of this blackboard.

This is a clear() method, not a dispose(), resource handling is not provided.

It is not recommend that client code store *real* (such as Images) resources on the blackboard.

 booleancontains(String key)
     Check if blackboard has an entry for key.
public  voidflush()
     Flush the contents of this blackboard.
public  Objectget(String key)
     Returns the object value of the given key.
public  FloatgetFloat(String key)
     Returns the floating point value of the given key.
public  IntegergetInteger(String key)
     Returns the integer value of the given key.
public  StringgetString(String key)
     Returns the string value of the given key.
public  voidput(String key, Object value)
     Sets the value of the given key.
public  voidputFloat(String key, float value)
     Sets the value of the given key to the given floating point number.
public  voidputInteger(String key, int value)
     Sets the value of the given key to the given integer.
public  voidputString(String key, String value)
     Sets the value of the given key to the given string.
 booleanremoveListener(IBlackboardListener listener)
     Removes a listener
Parameters:
  listener - the listener to be removed.



Method Detail
addListener
boolean addListener(IBlackboardListener listener)(Code)
Adds a listener to the blackboard. Duplicates are not permitted.
Parameters:
  listener - a listener that will be notified when the blackboard changes true if the collection changed as a result of the call.



clear
public void clear()(Code)
Clear the contents of this blackboard.

This is a clear() method, not a dispose(), resource handling is not provided.

It is not recommend that client code store *real* (such as Images) resources on the blackboard. This is not a ImageCache that will magically handle resource management for you.




contains
boolean contains(String key)(Code)
Check if blackboard has an entry for key. true if a value is known for key



flush
public void flush()(Code)
Flush the contents of this blackboard.

This signals the blackboard to save any contents, and clear any cached object references.




get
public Object get(String key)(Code)
Returns the object value of the given key.
Parameters:
  key - the key the value, or null if the key was not found



getFloat
public Float getFloat(String key)(Code)
Returns the floating point value of the given key.
Parameters:
  key - the key the value, or null if the key was not found or was found but was not afloating point number



getInteger
public Integer getInteger(String key)(Code)
Returns the integer value of the given key.
Parameters:
  key - the key the value, or null if the key was not found or was found but was notan integer



getString
public String getString(String key)(Code)
Returns the string value of the given key.
Parameters:
  key - the key the value, or null if the key was not found



put
public void put(String key, Object value)(Code)
Sets the value of the given key.
Parameters:
  key - the key
Parameters:
  value - the value



putFloat
public void putFloat(String key, float value)(Code)
Sets the value of the given key to the given floating point number.
Parameters:
  key - the key
Parameters:
  value - the value



putInteger
public void putInteger(String key, int value)(Code)
Sets the value of the given key to the given integer.
Parameters:
  key - the key
Parameters:
  value - the value



putString
public void putString(String key, String value)(Code)
Sets the value of the given key to the given string.
Parameters:
  key - the key
Parameters:
  value - the value



removeListener
boolean removeListener(IBlackboardListener listener)(Code)
Removes a listener
Parameters:
  listener - the listener to be removed. true if the collection contained the specifiedelement.



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.