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


net.refractions.udig.project.internal.render.impl.RendererImpl
   net.refractions.udig.render.internal.wms.basic.BasicWMSRenderer2

BasicWMSRenderer2
public class BasicWMSRenderer2 extends RendererImpl implements IMultiLayerRenderer(Code)
The basic renderer for a WMS Layer



Field Summary
 JobrefreshJob
    

Constructor Summary
public  BasicWMSRenderer2()
    

Method Summary
public static  DimensioncalculateImageDimensions(Dimension displaySize, Dimension maxDimensions, Envelope viewport, Envelope request)
     Determines the dimensions of the image to request, usually 1:1 to display, but sometimes more (too fuzzy) or less (image too large) when reprojecting.
public  PointcalculateImageOffset(Point min, Point max)
    
public static  ReferencedEnvelopecalculateRequestBBox(List<Layer> wmsLayers, ReferencedEnvelope viewport, CoordinateReferenceSystem requestCRS)
     Using the viewport bounds and combined wms layer extents, determines an appropriate bounding box by projecting the viewport into the request CRS, intersecting the bounds, and returning the result.
public  voiddispose()
    
static  StringfindRequestCRS(List<Layer> layers, CoordinateReferenceSystem viewportCRS)
    
public  ICompositeRenderContextgetContext()
    
public static  EnvelopegetLayersBoundingBox(CoordinateReferenceSystem crs, List<Layer> layers)
    
protected  booleanneedRefresh()
    
public  voidrefreshImage()
    
public  voidrender(Graphics2D destination, IProgressMonitor monitor)
    
public  voidrender(IProgressMonitor monitor)
    
public synchronized  voidrender(Graphics2D destination, Envelope bounds2, IProgressMonitor monitor)
    
public  RenderExceptionwrapException(Throwable t)
    

Field Detail
refreshJob
Job refreshJob(Code)




Constructor Detail
BasicWMSRenderer2
public BasicWMSRenderer2()(Code)
Construct a new BasicWMSRenderer




Method Detail
calculateImageDimensions
public static Dimension calculateImageDimensions(Dimension displaySize, Dimension maxDimensions, Envelope viewport, Envelope request) throws RenderException(Code)
Determines the dimensions of the image to request, usually 1:1 to display, but sometimes more (too fuzzy) or less (image too large) when reprojecting.
Parameters:
  maxDimensions - TODO
Parameters:
  viewport -
Parameters:
  request -
Parameters:
  context -
throws:
  RenderException -



calculateImageOffset
public Point calculateImageOffset(Point min, Point max) throws RenderException(Code)



calculateRequestBBox
public static ReferencedEnvelope calculateRequestBBox(List<Layer> wmsLayers, ReferencedEnvelope viewport, CoordinateReferenceSystem requestCRS) throws MismatchedDimensionException, TransformException, FactoryException(Code)
Using the viewport bounds and combined wms layer extents, determines an appropriate bounding box by projecting the viewport into the request CRS, intersecting the bounds, and returning the result.
Parameters:
  wmsLayers - all adjacent wms layers we are requesting
Parameters:
  viewport - map editor bounds and crs
Parameters:
  requestCRS - coordinate reference system supported by the server the bbox to ask the server for
throws:
  MismatchedDimensionException -
throws:
  TransformException -
throws:
  FactoryException -



dispose
public void dispose()(Code)



findRequestCRS
static String findRequestCRS(List<Layer> layers, CoordinateReferenceSystem viewportCRS)(Code)



getContext
public ICompositeRenderContext getContext()(Code)



getLayersBoundingBox
public static Envelope getLayersBoundingBox(CoordinateReferenceSystem crs, List<Layer> layers)(Code)



needRefresh
protected boolean needRefresh()(Code)
Determine whether the image needs to be refreshed Whether the image needs to be refreshed



refreshImage
public void refreshImage() throws RenderException(Code)



render
public void render(Graphics2D destination, IProgressMonitor monitor) throws RenderException(Code)



render
public void render(IProgressMonitor monitor) throws RenderException(Code)



render
public synchronized void render(Graphics2D destination, Envelope bounds2, IProgressMonitor monitor) throws RenderException(Code)



wrapException
public RenderException wrapException(Throwable t)(Code)



Fields inherited from net.refractions.udig.project.internal.render.impl.RendererImpl
final protected static String NAME_EDEFAULT(Code)(Java Doc)
final protected static int STATE_EDEFAULT(Code)(Java Doc)
protected volatile IRenderContext context(Code)(Java Doc)
final public static String copyright(Code)(Java Doc)
protected String name(Code)(Java Doc)
protected int state(Code)(Java Doc)

Methods inherited from net.refractions.udig.project.internal.render.impl.RendererImpl
public void dispose()(Code)(Java Doc)
public Object eGet(EStructuralFeature eFeature, boolean resolve)(Code)(Java Doc)
public boolean eIsSet(EStructuralFeature eFeature)(Code)(Java Doc)
public void eSet(EStructuralFeature eFeature, Object newValue)(Code)(Java Doc)
protected EClass eStaticClass()(Code)(Java Doc)
public void eUnset(EStructuralFeature eFeature)(Code)(Java Doc)
public IRenderContext getContext()(Code)(Java Doc)
public String getName()(Code)(Java Doc)
public synchronized Envelope getRenderBounds()(Code)(Java Doc)
public int getState()(Code)(Java Doc)
public boolean isCacheable()(Code)(Java Doc)
abstract public void render(Graphics2D destination, IProgressMonitor monitor) throws RenderException(Code)(Java Doc)
abstract public void render(IProgressMonitor monitor) throws RenderException(Code)(Java Doc)
public void setContext(IRenderContext newContext)(Code)(Java Doc)
public void setName(String newName)(Code)(Java Doc)
public synchronized void setRenderBounds(Envelope boundsToRender)(Code)(Java Doc)
public synchronized void setRenderBounds(Rectangle screenArea)(Code)(Java Doc)
public void setState(int newState)(Code)(Java Doc)
public String toString()(Code)(Java Doc)

w___w__w_.__j_a__v__a_2s__.__c__o___m__ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.