Class LayersWithGroup

java.lang.Object
org.gvsig.vcsgis.app.addlayer.LayersWithGroup
All Implemented Interfaces:
Iterable<org.gvsig.fmap.mapcontext.layers.FLayer>, org.gvsig.tools.util.IsEmpty

public class LayersWithGroup extends Object implements Iterable<org.gvsig.fmap.mapcontext.layers.FLayer>, org.gvsig.tools.util.IsEmpty
Author:
jjdelcerro
  • Field Details

    • UPDATE_MODE_REPLACE_LAYER_IF_EXISTS

      public static final int UPDATE_MODE_REPLACE_LAYER_IF_EXISTS
      See Also:
    • UPDATE_MODE_ADD_DUPLICATES

      public static final int UPDATE_MODE_ADD_DUPLICATES
      See Also:
    • UPDATE_MODE_SKIP_DUPLICATES

      public static final int UPDATE_MODE_SKIP_DUPLICATES
      See Also:
  • Constructor Details

    • LayersWithGroup

      public LayersWithGroup(org.gvsig.fmap.mapcontext.MapContext mapContext)
  • Method Details

    • add

      public void add(String groupName, String layerName, org.gvsig.fmap.mapcontext.layers.FLayer layer)
    • updateMapContext

      public void updateMapContext(boolean maintainStructureInToC, boolean replaceLayerIfExists)
    • updateMapControl

      public void updateMapControl(org.gvsig.fmap.mapcontrol.MapControl mapControl, boolean maintainStructureInToC, boolean replaceLayerIfExists)
    • updateMapControl

      public void updateMapControl(org.gvsig.fmap.mapcontrol.MapControl mapControl, boolean maintainStructureInToC, int updateMode)
    • disposeLayers

      public void disposeLayers()
    • isEmpty

      public boolean isEmpty()
      Specified by:
      isEmpty in interface org.gvsig.tools.util.IsEmpty
    • iterator

      public Iterator<org.gvsig.fmap.mapcontext.layers.FLayer> iterator()
      Specified by:
      iterator in interface Iterable<org.gvsig.fmap.mapcontext.layers.FLayer>
    • allLayers

      public Collection<org.gvsig.fmap.mapcontext.layers.FLayer> allLayers()