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

org.deegree.portal.context
Class LayerGroup

java.lang.Object
  extended by org.deegree.portal.context.MapModelEntry
      extended by org.deegree.portal.context.LayerGroup

public class LayerGroup
extends MapModelEntry

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 $

Field Summary
 
Fields inherited from class org.deegree.portal.context.MapModelEntry
owner, parent, selectedFor
 
Constructor Summary
LayerGroup(String identifier, String title, boolean hidden, boolean expanded, LayerGroup parent, MapModel owner)
           
 
Method Summary
 void addLayer(MMLayer layer)
           
 void addLayerGroup(LayerGroup layerGroup)
           
 List<LayerGroup> getLayerGroups()
           
 List<MMLayer> getLayers()
           
 List<MapModelEntry> getMapModelEntries()
           
 void insert(LayerGroup layerGroup, MapModelEntry antecessor, boolean first)
           
 void insert(MMLayer layer, MapModelEntry antecessor, boolean first)
           
 boolean isExpanded()
           
 void setExpanded(boolean expanded)
           
 
Methods inherited from class org.deegree.portal.context.MapModelEntry
addSelectedFor, getIdentifier, getOwner, getParent, getSelectedFor, getTitle, isHidden, removeSelectedFor, setHidden, setParent, setSelectedFor, setTitle, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayerGroup

public LayerGroup(String identifier,
                  String title,
                  boolean hidden,
                  boolean expanded,
                  LayerGroup parent,
                  MapModel owner)
Parameters:
identifier -
title -
hidden -
expanded -
parent -
owner -
Method Detail

insert

public void insert(MMLayer layer,
                   MapModelEntry antecessor,
                   boolean first)
Parameters:
layer -
antecessor -
first -

insert

public void insert(LayerGroup layerGroup,
                   MapModelEntry antecessor,
                   boolean first)
Parameters:
layerGroup -
antecessor -
first -

addLayer

public void addLayer(MMLayer layer)
Parameters:
layer -

addLayerGroup

public void addLayerGroup(LayerGroup layerGroup)
Parameters:
layerGroup -

getLayerGroups

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

getLayers

public List<MMLayer> getLayers()
Returns:
the layers

getMapModelEntries

public List<MapModelEntry> getMapModelEntries()
Returns:
the entries

isExpanded

public boolean isExpanded()
Returns:
the expanded

setExpanded

public void setExpanded(boolean expanded)
Parameters:
expanded - the expanded to set

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