Source Code Cross Referenced for IRenderManager.java in  » GIS » udig-1.1 » net » refractions » udig » project » 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.render 
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.render;
010:
011:        import java.awt.image.RenderedImage;
012:        import java.util.List;
013:
014:        import net.refractions.udig.project.ILayer;
015:        import net.refractions.udig.project.IMap;
016:        import net.refractions.udig.project.render.displayAdapter.IMapDisplay;
017:
018:        import com.vividsolutions.jts.geom.Envelope;
019:
020:        /**
021:         * Used by the map viewers/editors to manage the rendering process. Responsibilities:
022:         * <ul>
023:         * <li>Respond to model change events and start rendering processes depending on the event. For
024:         * example: If the Map CRS is changed then all layers must be rerendered with the new CRS.</li>
025:         * <li>Create Renderers when a map editor is opened.</li>
026:         * <li>Create and remove renderers when renderers are added or removed</li>
027:         * </ul>
028:         * </p>
029:         * 
030:         * @author jeichar
031:         * @since 0.1
032:         */
033:        public interface IRenderManager {
034:
035:            /**
036:             * Returns the Map associated with the current renderManager.
037:             * 
038:             * @return the Map associated with the current renderManager.
039:             */
040:            public IMap getMap();
041:
042:            /**
043:             * Returns the root Renderer Executor.
044:             * 
045:             * @return the root
046:             */
047:            List<IRenderer> getRenderers();
048:
049:            /**
050:             * Gets the ViewportPane for the current RenderManager.
051:             * 
052:             * @return the ViewportPane for the current RenderManager
053:             */
054:            public IMapDisplay getMapDisplay();
055:
056:            /**
057:             * Forces the area in all layers to be re-rendered.
058:             * <p>
059:             * Depending on the renderer the entire viewport may be re-rendered.
060:             * </p>
061:             * 
062:             * @param bounds the area to be re-rendered
063:             * @see #refresh(ILayer, Envelope)
064:             * @see #refreshSelection(ILayer, Envelope)
065:             */
066:            public void refresh(Envelope bounds);
067:
068:            /**
069:             * Forces the selection in the area to be re-rendered.
070:             * <p>
071:             * Depending on the renderer the entire viewport may be re-rendered.
072:             * </p>
073:             * <p>
074:             * If layer is null no layers will be rendered.
075:             * </p>
076:             * 
077:             * @param layer the layer whose selection layer should be rerendered
078:             * @param the area that will be rerendered
079:             * @see #refresh(Envelope)
080:             * @see #refreshSelection(ILayer, Envelope)
081:             */
082:            public void refreshSelection(ILayer layer, Envelope bounds);
083:
084:            /**
085:             * Clears selection from the specified layer. It is used when
086:             * the Filter.ALL is set as a filter to the layer and the old selection
087:             * should be cleared.
088:             * 
089:             * @param layer the layer whose selection should be cleared
090:             */
091:            public void clearSelection(ILayer layer);
092:
093:            /**
094:             * Forces layer to be re-rendered. Depending on the renderer the entire viewport may be
095:             * re-rendered.
096:             * <p>
097:             * If layer is null no layers will be rendered.
098:             * </p>
099:             * 
100:             * @param layer the layer that will be re-rendered.
101:             * @param bounds the area the re-render
102:             * @see #refresh(Envelope)
103:             * @see #refresh(ILayer, Envelope)
104:             */
105:            public void refresh(ILayer layer, Envelope bounds);
106:
107:            /**
108:             * Stops the current rendering process if currently rendering.
109:             */
110:            public void stopRendering();
111:
112:            /**
113:             * Returns the most recently rendered Image.
114:             *
115:             * @return Returns the most recently rendered Image.  May return null if the none of the refresh() methods
116:             * has been called previously.
117:             */
118:            public RenderedImage getImage();
119:
120:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.