deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.portal.context
Class MapModel

java.lang.Object
  extended by org.deegree.portal.context.MapModel

public class MapModel
extends Object

TODO add class documentation here

Version:
$Revision: 20771 $, $Date: 2009-11-12 18:37:45 +0100 (Do, 12. Nov 2009) $
Author:
Andreas Poth, last edited by: $Author: apoth $

Constructor Summary
MapModel()
           
 
Method Summary
 List<LayerGroup> getLayerGroups()
           
 List<MMLayer> getLayersSelectedForAction(String action)
           
 MapModelEntry getMapModelEntryByIdentifier(String identifier)
           
 void insert(MapModelEntry mapModelEntry, LayerGroup parent, MapModelEntry antecessor, boolean first)
           
 void setLayerGroups(List<LayerGroup> layerGroups)
           
 void walkLayerTree(MapModelVisitor visitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapModel

public MapModel()
Method Detail

setLayerGroups

public void setLayerGroups(List<LayerGroup> layerGroups)
Parameters:
layerGroups -

getLayerGroups

public List<LayerGroup> getLayerGroups()
Returns:
the layerGroups

getLayersSelectedForAction

public List<MMLayer> getLayersSelectedForAction(String action)
Parameters:
action -
Returns:
list of Layer selected for the passed action

insert

public void insert(MapModelEntry mapModelEntry,
                   LayerGroup parent,
                   MapModelEntry antecessor,
                   boolean first)
            throws Exception
Parameters:
mapModelEntry - MapModelEntry to be inserted
parent - if null root node of layertree will be used as parent
antecessor - if null layer will be inserted directly underneath its parent
first - if true layer will be inserted as first layer of a group if antecessor == null
Throws:
Exception

walkLayerTree

public void walkLayerTree(MapModelVisitor visitor)
                   throws Exception
Parameters:
visitor -
Throws:
Exception

getMapModelEntryByIdentifier

public MapModelEntry getMapModelEntryByIdentifier(String identifier)
Parameters:
identifier -
Returns:
MapModelEntry matching passed identifier

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org