Source Code Cross Referenced for RenderingCoordinator.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 Referenced  Class Diagram Java Document (Java Doc) 


001:        /* uDig - User Friendly Desktop Internet GIS client
002:         * http://udig.refractions.net
003:         * (C) 2004, Refractions Research Inc.
004:         *
005:         * This library is free software; you can redistribute it and/or
006:         * modify it under the terms of the GNU Lesser General Public
007:         * License as published by the Free Software Foundation;
008:         * version 2.1 of the License.
009:         *
010:         * This library is distributed in the hope that it will be useful,
011:         * but WITHOUT ANY WARRANTY; without even the implied warranty of
012:         * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
013:         * Lesser General Public License for more details.
014:         */
015:        package net.refractions.udig.project.internal.render;
016:
017:        import java.awt.Rectangle;
018:        import java.util.List;
019:
020:        import net.refractions.udig.project.ILayer;
021:        import net.refractions.udig.project.render.IRenderListener;
022:        import net.refractions.udig.project.render.displayAdapter.IMapDisplay;
023:
024:        import org.geotools.geometry.jts.ReferencedEnvelope;
025:
026:        /**
027:         * Coordinates the starting/stopping of renderers and updating of the 
028:         * {@link IMapDisplay}
029:         * 
030:         * @author Jesse
031:         * @since 1.1.0
032:         */
033:        public class RenderingCoordinator {
034:            /**
035:             * Adds a listener to the RenderCoordinator.
036:             *
037:             * @param listener listener to add.
038:             */
039:            public void addRenderListener(IRenderListener listener) {
040:
041:            }
042:
043:            /**
044:             * Removes a listener from the RenderCoordinator.
045:             *
046:             * @param listener listener to remove.
047:             */
048:            public void removeRenderListener(IRenderListener listener) {
049:
050:            }
051:
052:            /**
053:             * This method is inherently thread un-safe.  It will return a state that the renderer was in recently but
054:             * the renderer may have moved on since.  Use a listener to be notified when the state changes.
055:             */
056:            public boolean isRendering() {
057:                //TODO
058:                return false;
059:            }
060:
061:            /**
062:             * Requests that the area indicated by the rectangle on the screen be rendered for all layers.
063:             *
064:             * @param screen area to render.
065:             */
066:            public void render(Rectangle screen) {
067:
068:            }
069:
070:            /**
071:             * Requests that the area indicated by the envelope be rendered for all layers.
072:             *
073:             * @param envelope area to render.
074:             */
075:            public void render(ReferencedEnvelope envelope) {
076:
077:            }
078:
079:            /**
080:             * Requests that the entire viewport and all of the layers be rendered.
081:             */
082:            public void render() {
083:
084:            }
085:
086:            /**
087:             * Requests that the area indicated by the rectangle on the screen be rendered for layers the indicated layers.
088:             *
089:             * @param screen area to render.
090:             * @param layers layer to render
091:             */
092:            public void render(Rectangle screen, List<ILayer> layers) {
093:
094:            }
095:
096:            /**
097:             * Requests that the area indicated by the rectangle on the screen be rendered for layers the indicated layers.
098:             *
099:             * @param envelope area to render.
100:             * @param layers layer to render
101:             */
102:            public void render(ReferencedEnvelope envelope, List<ILayer> layers) {
103:
104:            }
105:
106:            /**
107:             * Requests that the entire viewport be rendered for the indicated layers only.
108:             *
109:             * @param layers layers to be rendered.
110:             */
111:            public void render(List<ILayer> layers) {
112:
113:            }
114:
115:            /**
116:             * Returns the rendered image.  The return type is determined by the parameter passed in.  The {@link RenderingCoordinator} will
117:             * try to create an image of the requested type but if it is not possible then null will be returned.  
118:             *
119:             * @param <T> The desired type of image to return.  For example org.eclipse.swt.Image or java.awt.BufferedImage.
120:             * @param imageTypeToReturn the class of the type of the image that is desired.
121:             * @return The rendered image in the requested type or null if that is not possible with this {@link RenderingCoordinator}
122:             */
123:            public <T> T getImage(Class<T> imageTypeToReturn) {
124:                return null;
125:            }
126:
127:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.