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


net.refractions.udig.project.internal.render.RendererCreator

All known Subclasses:   net.refractions.udig.project.internal.render.impl.RendererCreatorImpl,
RendererCreator
public interface RendererCreator (Code)
Creates Renderers and RenderContexts.
author:
   Jesse
since:
   1.0.0


Field Summary
final public static  StringLAST_RESORT_RENDERER_ID
     Provides a way to influence the choice of renderers.
final public static  StringPREFERRED_RENDERER_ID
     Provides a way to influence the choice of renderers.


Method Summary
 voidchanged(Notification msg)
     Causes the RendererCreator to be updated as a result of a Map event.
public  SelectionLayerfindSelectionLayer(ILayer targetLayer)
    
public  Map<String, String>getAvailableRenderersInfo(Layer layer)
     Returns The name and description of all the renderers that are capable of rendering the provided layer.
 Collection<RenderContext>getConfiguration()
     Returns the current configuration of Contexts objects.
 RenderContextgetContext()
     Returns the value of the 'Toolkit' attribute.
 SortedSet<Layer>getLayers()
    
public  RenderContextgetRenderContext(Layer layer)
    
public  RenderergetRenderer(RenderContext context)
     Creates a Renderer which can render the provided layer
Parameters:
  context - A context object with a layer to be rendered.
public  voidreset()
     Rebuilds the configurations.
 voidsetContext(RenderContext value)
     Sets the value of the ' net.refractions.udig.project.internal.render.RendererCreator.getContext Context ' reference.

Field Detail
LAST_RESORT_RENDERER_ID
final public static String LAST_RESORT_RENDERER_ID(Code)
Provides a way to influence the choice of renderers. The value of a blackboard entry must a string which is the id of the Renderer as declared in the Extension definition. For example "BasicFeatureRenderer".
  • If an entry is on a Layer's blackboard with this key then that renderer will be negatively weighted for that layer compared other renderers.
  • If an entry is on the Map's blackboard with this key then that renderer will be negatively weighted compared to other renderers.

IMPORTANT: don't forget to append the plugin ID to the id entered into the id field.




PREFERRED_RENDERER_ID
final public static String PREFERRED_RENDERER_ID(Code)
Provides a way to influence the choice of renderers. The value of a blackboard entry must a string which is the id of the Renderer as declared in the Extension definition. For example "BasicFeatureRenderer".
  • If an entry is on a Layer's blackboard with this key then that renderer will be preferred for that layer over other renderers.
  • If an entry is on the Map's blackboard with this key then that renderer will be preferred over other renderers unless there is also an entry on a layer. In that case the layer's renderer still has precidence.

IMPORTANT: don't forget to append the plugin ID to the id entered into the id field.






Method Detail
changed
void changed(Notification msg)(Code)
Causes the RendererCreator to be updated as a result of a Map event.



findSelectionLayer
public SelectionLayer findSelectionLayer(ILayer targetLayer)(Code)
Locates the selection layer for layer or returns null; the selection layer for layer or returns null;



getAvailableRenderersInfo
public Map<String, String> getAvailableRenderersInfo(Layer layer)(Code)
Returns The name and description of all the renderers that are capable of rendering the provided layer. The name and description of all the renderers that are capable of rendering the provided layer.



getConfiguration
Collection<RenderContext> getConfiguration()(Code)
Returns the current configuration of Contexts objects. the current configuration of Contexts objects



getContext
RenderContext getContext()(Code)
Returns the value of the 'Toolkit' attribute.

If the meaning of the 'Toolkit' attribute isn't clear, there really should be more of a description here...

the value of the 'Toolkit' attribute.



getLayers
SortedSet<Layer> getLayers()(Code)
The list of layers that the RendererCreator is responsible for creating renderers



getRenderContext
public RenderContext getRenderContext(Layer layer)(Code)
List all the RenderContexts required for rendering all the layers inthe ContextModel.



getRenderer
public Renderer getRenderer(RenderContext context)(Code)
Creates a Renderer which can render the provided layer
Parameters:
  context - A context object with a layer to be rendered. The layer will be used todetermine which renderer will be created a Renderer which can render the provided layer null if the layer type is not known(for example a decorator with an unknown renderer)



reset
public void reset()(Code)
Rebuilds the configurations.



setContext
void setContext(RenderContext value)(Code)
Sets the value of the ' net.refractions.udig.project.internal.render.RendererCreator.getContext Context ' reference.
Parameters:
  value - the new value of the 'Context' reference.
See Also:   RendererCreator.getContext()



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