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


net.refractions.udig.project.IMap

IMap
public interface IMap extends IProjectElement(Code)
The part of the model that represents a map.

A Map consists of a ContextModel, a ViewportModel and a LayerManager

Responsibilities:

  • Provide access to the active controllers and models, but not viewers.
  • Create a new map based on the current map is also included


author:
   Jesse
since:
   0.5





Method Summary
public  voidaddMapCompositionListener(IMapCompositionListener listener)
     Adds a IMapCompositionListener to this map.
public  voidaddMapListener(IMapListener listener)
     Adds a MapListener to this map.
public  voidexecuteASyncWithoutUndo(MapCommand command)
     Executes a asynchronously.
public  voidexecuteSyncWithoutUndo(MapCommand command)
     Executes a synchronously.
public  StringgetAbstract()
    
public  doublegetAspectRatio(IProgressMonitor monitor)
     Returns the Aspect ratio of the map.
public  IBlackboardgetBlackboard()
     Returns a blackboard for the map.
public  ReferencedEnvelopegetBounds(IProgressMonitor monitor)
     Gets the Envelope that indicates the maximum bounding box of the map.

The bounds returned are in Lat Long and each time the method is called a new object is returned.

public  IEditManagergetEditManager()
     Returns the EditManager for the current map.
public  URIgetID()
     Returns a unique identifier for a map.
public  LayerFactorygetLayerFactory()
     Returns the layer factory used to create layers for this map.
public  List<ILayer>getMapLayers()
     Returns the list of Layers in the map.
public  IRenderManagergetRenderManager()
     Returns the RenderManager for the current map.
public  IViewportModelgetViewportModel()
     Returns the Viewport model for this map.
public  voidremoveMapCompositionListener(IMapCompositionListener listener)
     Removes a MapListener from this map.
public  voidremoveMapListener(IMapListener listener)
     Removes a MapListener from this map.
public  voidsendCommandASync(MapCommand command)
     Executes a asynchronously with the calling thread.
public  voidsendCommandSync(MapCommand command)
     Executes a synchronously.



Method Detail
addMapCompositionListener
public void addMapCompositionListener(IMapCompositionListener listener)(Code)
Adds a IMapCompositionListener to this map. A given listener will only be added once. Events are fired when the layers of the Map change: added, removed or reordered.
Parameters:
  listener - Listener to be added
See Also:   net.refractions.udig.project.MapEvent.MapEventType



addMapListener
public void addMapListener(IMapListener listener)(Code)
Adds a MapListener to this map. A given listener will only be added once. Events are only fired if the attributes of the Map class are change. For example name, ViewportModel, Bounds, etc...
Parameters:
  listener - Listener to be added
See Also:   net.refractions.udig.project.MapEvent.MapEventType



executeASyncWithoutUndo
public void executeASyncWithoutUndo(MapCommand command)(Code)
Executes a asynchronously.
Parameters:
  command - the to execute.



executeSyncWithoutUndo
public void executeSyncWithoutUndo(MapCommand command)(Code)
Executes a synchronously. This method blocks.
Parameters:
  command - the to execute.



getAbstract
public String getAbstract()(Code)
Returns the map's abstract the map's abstract



getAspectRatio
public double getAspectRatio(IProgressMonitor monitor)(Code)
Returns the Aspect ratio of the map. It is normally no the same as the aspect ratio of the viewport. The aspect ratio of the map.



getBlackboard
public IBlackboard getBlackboard()(Code)
Returns a blackboard for the map. The blackboard is used by various plugins in order to store data and collaborate. A blackboard used for collaboration among various plugins.



getBounds
public ReferencedEnvelope getBounds(IProgressMonitor monitor) throws IOException(Code)
Gets the Envelope that indicates the maximum bounding box of the map.

The bounds returned are in Lat Long and each time the method is called a new object is returned. Therefore the object can be modified as desired without affecting the model.

Note: this is a constant for a given map. It is related to the size of the map data, and is not dependent on the viewport.

WARNING This may block. The Envelope in Lat Long that indicates the maximum bounding box of the map.
throws:
  IOException -



getEditManager
public IEditManager getEditManager()(Code)
Returns the EditManager for the current map. the EditManager for the current map.



getID
public URI getID()(Code)
Returns a unique identifier for a map. Shouldn't change between runs. a unique identifier for a map.



getLayerFactory
public LayerFactory getLayerFactory()(Code)
Returns the layer factory used to create layers for this map. the layer factory used to create layers for this map.



getMapLayers
public List<ILayer> getMapLayers()(Code)
Returns the list of Layers in the map. The layers are in zorder. The layer at position 0 is that first layer rendered (The bottom layer in the image); This list is immutable. An immutable list containing all the Map's layers.



getRenderManager
public IRenderManager getRenderManager()(Code)
Returns the RenderManager for the current map. the RenderManager for the current map.



getViewportModel
public IViewportModel getViewportModel()(Code)
Returns the Viewport model for this map. the Viewport model for this map.



removeMapCompositionListener
public void removeMapCompositionListener(IMapCompositionListener listener)(Code)
Removes a MapListener from this map.
Parameters:
  listener - Listener to be removed



removeMapListener
public void removeMapListener(IMapListener listener)(Code)
Removes a MapListener from this map.
Parameters:
  listener - Listener to be removed



sendCommandASync
public void sendCommandASync(MapCommand command)(Code)
Executes a asynchronously with the calling thread. All commands are ran in a single thread, this is required so that undo/redo makes sense.
Parameters:
  command - the to execute.



sendCommandSync
public void sendCommandSync(MapCommand command)(Code)
Executes a synchronously. This method blocks. All commands are ran in a single thread, this is required so that undo/redo makes sense.
Parameters:
  command - the to execute.



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