| Constructor and Description |
|---|
LayerManager() |
public UndoableEditReceiver getUndoableEditReceiver()
public void deferFiringEvents(Runnable r)
public Color generateLayerFillColor()
public void addCategory(String categoryName)
public void addCategory(String categoryName, int index)
public List getCategories()
public Layer addLayer(String categoryName, String layerName, FeatureCollection featureCollection)
name - the name of the layer. A number will be appended if a layer
with the same name already exists. Set to null to automatically generate a
new name.public Layer addOrReplaceLayer(String categoryName, String layerName, FeatureCollection featureCollection)
public String uniqueLayerName(String name)
public void remove(Layerable layerable)
public void removeIfEmpty(Category category)
public int indexOf(Category category)
public void fireCategoryChanged(Category category, CategoryEventType type)
public void fireFeaturesChanged(Collection features, FeatureEventType type, Layer layer)
public void fireGeometryModified(Collection features, Layer layer, Collection oldFeatureClones)
public void fireLayerChanged(Layerable layerable, LayerEventType type)
public void setFiringEvents(boolean firingEvents)
public boolean isFiringEvents()
public Iterator reverseIterator(Class layerableClass)
public Iterator iterator()
public void addLayerListener(LayerListener layerListener)
public void removeLayerListener(LayerListener layerListener)
public Layer getLayer(int index)
public int size()
public com.vividsolutions.jts.geom.Envelope getEnvelopeOfAllLayers()
public int indexOf(Layer layer)
public List getLayers()
public List getLayerables(Class layerableClass)
public List getVisibleLayers(boolean includeFence)
public void dispose()
public static int layerManagerCount()
public Collection getEditableLayers()
public Blackboard getBlackboard()
public Collection getLayersWithModifiedFeatureCollections()
public void setCoordinateSystem(CoordinateSystem coordinateSystem)
public static void main(String[] args) throws com.vividsolutions.jts.io.ParseException
com.vividsolutions.jts.io.ParseExceptionpublic CoordinateSystem getCoordinateSystem()
Copyright © 2015. All rights reserved.