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


net.refractions.udig.project.internal.StyleBlackboard

All known Subclasses:   net.refractions.udig.project.internal.impl.StyleBlackboardImpl,
StyleBlackboard
public interface StyleBlackboard extends EObject,IStyleBlackboard,Cloneable(Code)
Provides persistence, storage for Style information and shared collaboration between renderers and the user.
author:
   Richard Gould
since:
   0.6.0


Field Summary
 Stringcopyright
    


Method Summary
 Objectclone()
     Creates a clone of the blackboard.
 booleancontains(String styleId)
     Convenience method for testing for the existance of a style.
Parameters:
  styleId - A well known String constant identifying the style agreed upon by the Rendererand the StyleConfigurator.
 Objectget(String styleId)
     Retreives the style value by the styleId.
Parameters:
  styleId - A well known String constant identifying the style agreed upon by the Rendererand the StyleConfigurator.
 List<StyleEntry>getContent()
     List of Style information.
 Objectlookup(Class theClass)
     Retreives the style value by the class of the style object.
 voidput(String styleId, Object style)
     Places a style onto the blackboard.
Parameters:
  styleId - A well known String constant identifying the style agreed upon by the Rendererand the StyleConfigurator.
 voidput(URL url, IProgressMonitor monitor)
     Loads a style from a URL pointing to a resource.
 Objectremove(String styleId)
     Removes the style value identified by styleId from the blackboard.
 voidsetSelected(String[] ids)
     Sets the styles indicated by the ids to be selected.

Field Detail
copyright
String copyright(Code)





Method Detail
clone
Object clone()(Code)
Creates a clone of the blackboard. A clone of the blackboard.



contains
boolean contains(String styleId)(Code)
Convenience method for testing for the existance of a style.
Parameters:
  styleId - A well known String constant identifying the style agreed upon by the Rendererand the StyleConfigurator. true if the style extists, otherwise false.



get
Object get(String styleId)(Code)
Retreives the style value by the styleId.
Parameters:
  styleId - A well known String constant identifying the style agreed upon by the Rendererand the StyleConfigurator. The requested style object or null if it does not exist



getContent
List<StyleEntry> getContent()(Code)
List of Style information.

Note: This list should not be accessed by client code - it is for use by the EMF model. Please use the lookup methods provided.




lookup
Object lookup(Class theClass)(Code)
Retreives the style value by the class of the style object. Returns the first object that meets the criteria.
Parameters:
  theClass - A superclass of the class of the style object. The requested style object or null if it does not exist



put
void put(String styleId, Object style)(Code)
Places a style onto the blackboard.
Parameters:
  styleId - A well known String constant identifying the style agreed upon by the Rendererand the StyleConfigurator. Since the id is assumed to be unique, if a style entryalready exists with the specified id, it should be overwritten.
Parameters:
  style - An object containing all the styling information.



put
void put(URL url, IProgressMonitor monitor) throws IOException(Code)
Loads a style from a URL pointing to a resource. This method blocks.
Parameters:
  url - the URL pointing to the style.
Parameters:
  monitor - A progress monitor. Allowed to be null.
throws:
  IOException - if there is an error getting the style.



remove
Object remove(String styleId)(Code)
Removes the style value identified by styleId from the blackboard. FIXME: Can we reduce this to put( styleId, null ) ?
Parameters:
  styleId - A well known String constant identifying the style agreed upon by the Rendererand the StyleConfigurator. The style object removed from the blackboard, or null if no such entry exists.



setSelected
void setSelected(String[] ids)(Code)
Sets the styles indicated by the ids to be selected.

Selected styles are those that were selected/created by the user rather than the framework

Example:

A layer has WMS and WFS IGeoResource s so either a FeatureRenderer or a WMSRenderer could render the layer.

In the case where the wms allows the SLD to be retrieved the WMS StyleConfigurator could add both the named style to the blackboard as well as the SLD style to the blackboard. It could set both as selected because both the WMSRenderer and the FeatureRenderer would render the same image.

However if the user enters a SLD style (assuming the WMS does not accept SLD POST) only the SLD style would be set to selected

By using selection the choice of renderer used is affected towards the selected style


Parameters:
  ids -



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