Java Doc for LayerManager.java in  » GIS » openjump » com » vividsolutions » jump » workbench » model » 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 » openjump » com.vividsolutions.jump.workbench.model 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   com.vividsolutions.jump.workbench.model.LayerManager

LayerManager
public class LayerManager (Code)
Registry of Layers in a Task.
See Also:   Task
See Also:   Layer



Constructor Summary
public  LayerManager()
    

Method Summary
public  voidaddCategory(String categoryName)
    
public  voidaddCategory(String categoryName, int index)
    
public  LayeraddLayer(String categoryName, Layer layer)
    
public  LayeraddLayer(String categoryName, String layerName, FeatureCollection featureCollection)
    
Parameters:
  name - the name of the layer.
public  voidaddLayerListener(LayerListener layerListener)
    
public  voidaddLayerable(String categoryName, Layerable layerable)
    
public  LayeraddOrReplaceLayer(String categoryName, String layerName, FeatureCollection featureCollection)
    
public  voiddeferFiringEvents(Runnable r)
    
public  voiddispose(WorkbenchFrame frame, Layerable layerable)
    
public  voiddispose()
    
public  voidfireCategoryChanged(Category category, CategoryEventType type)
    
public  voidfireFeaturesAttChanged(Collection features, FeatureEventType type, Layer layer, Collection oldFeatureClones)
    
public  voidfireFeaturesChanged(Collection features, FeatureEventType type, Layer layer)
    
public  voidfireGeometryModified(Collection features, Layer layer, Collection oldFeatureClones)
    
public  voidfireLayerChanged(Layerable layerable, LayerEventType type)
    
public  ColorgenerateLayerFillColor()
    
public  BlackboardgetBlackboard()
    
public  ListgetCategories()
    
public  CategorygetCategory(String name)
    
public  CategorygetCategory(Layerable layerable)
    
public  CoordinateSystemgetCoordinateSystem()
    
public  CollectiongetEditableLayers()
     Editability is not enforced; all parties are responsible for heeding the editability of a layer.
public  EnvelopegetEnvelopeOfAllLayers()
    
public  EnvelopegetEnvelopeOfAllLayers(boolean visibleLayersOnly)
    
public  LayergetLayer(String name)
    
public  LayergetLayer(int index)
    
public  ListgetLayerables(Class layerableClass)
     To get all Layerables, set layerableClass to Layerable.class.
public  ListgetLayers()
    
public  CollectiongetLayersWithModifiedFeatureCollections()
    
public  UndoableEditReceivergetUndoableEditReceiver()
    
public  ListgetVisibleLayers(boolean includeFence)
    
public  intindexOf(Category category)
    
public  intindexOf(Layer layer)
    
public  booleanisFiringEvents()
    
public  Iteratoriterator()
    
public static  intlayerManagerCount()
    
public static  voidmain(String[] args)
    
public  voidremove(Layerable layerable)
    
public  voidremoveIfEmpty(Category category)
    
public  voidremoveLayerListener(LayerListener layerListener)
    
public  IteratorreverseIterator(Class layerableClass)
     an iterator over the layers, from bottom to top.
public  voidsetCoordinateSystem(CoordinateSystem coordinateSystem)
    
public  voidsetFiringEvents(boolean firingEvents)
    
public  intsize()
    
public  StringuniqueLayerName(String name)
    


Constructor Detail
LayerManager
public LayerManager()(Code)




Method Detail
addCategory
public void addCategory(String categoryName)(Code)



addCategory
public void addCategory(String categoryName, int index)(Code)



addLayer
public Layer addLayer(String categoryName, Layer layer)(Code)



addLayer
public Layer addLayer(String categoryName, String layerName, FeatureCollection featureCollection)(Code)

Parameters:
  name - the name of the layer. A number will be appended if a layerwith the same name already exists. Set to null to automatically generate anew name.



addLayerListener
public void addLayerListener(LayerListener layerListener)(Code)



addLayerable
public void addLayerable(String categoryName, Layerable layerable)(Code)



addOrReplaceLayer
public Layer addOrReplaceLayer(String categoryName, String layerName, FeatureCollection featureCollection)(Code)



deferFiringEvents
public void deferFiringEvents(Runnable r)(Code)



dispose
public void dispose(WorkbenchFrame frame, Layerable layerable)(Code)
SIGLE [obedel] on 2005 then [mmichaud] on 2007-05-22 To free the memory allocated for a layer Called by RemoveSelectedLayersPlugin
Parameters:
  layerViewPanel - the layerViewPanel displaying this layerable
Parameters:
  layarable - the layerable to remove



dispose
public void dispose()(Code)



fireCategoryChanged
public void fireCategoryChanged(Category category, CategoryEventType type)(Code)



fireFeaturesAttChanged
public void fireFeaturesAttChanged(Collection features, FeatureEventType type, Layer layer, Collection oldFeatureClones)(Code)



fireFeaturesChanged
public void fireFeaturesChanged(Collection features, FeatureEventType type, Layer layer)(Code)



fireGeometryModified
public void fireGeometryModified(Collection features, Layer layer, Collection oldFeatureClones)(Code)



fireLayerChanged
public void fireLayerChanged(Layerable layerable, LayerEventType type)(Code)



generateLayerFillColor
public Color generateLayerFillColor()(Code)



getBlackboard
public Blackboard getBlackboard()(Code)



getCategories
public List getCategories()(Code)



getCategory
public Category getCategory(String name)(Code)



getCategory
public Category getCategory(Layerable layerable)(Code)



getCoordinateSystem
public CoordinateSystem getCoordinateSystem()(Code)



getEditableLayers
public Collection getEditableLayers()(Code)
Editability is not enforced; all parties are responsible for heeding the editability of a layer.



getEnvelopeOfAllLayers
public Envelope getEnvelopeOfAllLayers()(Code)



getEnvelopeOfAllLayers
public Envelope getEnvelopeOfAllLayers(boolean visibleLayersOnly)(Code)

Parameters:
  visibleLayersOnly -



getLayer
public Layer getLayer(String name)(Code)
null if there is no such layer



getLayer
public Layer getLayer(int index)(Code)



getLayerables
public List getLayerables(Class layerableClass)(Code)
To get all Layerables, set layerableClass to Layerable.class.



getLayers
public List getLayers()(Code)



getLayersWithModifiedFeatureCollections
public Collection getLayersWithModifiedFeatureCollections()(Code)



getUndoableEditReceiver
public UndoableEditReceiver getUndoableEditReceiver()(Code)



getVisibleLayers
public List getVisibleLayers(boolean includeFence)(Code)



indexOf
public int indexOf(Category category)(Code)



indexOf
public int indexOf(Layer layer)(Code)
-1 if the layer does not exist



isFiringEvents
public boolean isFiringEvents()(Code)



iterator
public Iterator iterator()(Code)
Layers, not all Layerables



layerManagerCount
public static int layerManagerCount()(Code)



main
public static void main(String[] args) throws ParseException(Code)



remove
public void remove(Layerable layerable)(Code)



removeIfEmpty
public void removeIfEmpty(Category category)(Code)



removeLayerListener
public void removeLayerListener(LayerListener layerListener)(Code)



reverseIterator
public Iterator reverseIterator(Class layerableClass)(Code)
an iterator over the layers, from bottom to top. Layers with#drawingLast = true appear last.



setCoordinateSystem
public void setCoordinateSystem(CoordinateSystem coordinateSystem)(Code)



setFiringEvents
public void setFiringEvents(boolean firingEvents)(Code)



size
public int size()(Code)



uniqueLayerName
public String uniqueLayerName(String name)(Code)
a unique layer name based on the given name



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

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