deegree 2.5 (2011/06/29 09:44 build-8-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: 20973 $, $Date: 2009-11-23 16:54:36 +0100 (Mo, 23 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(java.lang.String identifier, java.lang.String title, boolean hidden, boolean expanded, LayerGroup parent, MapModel owner)
           
 
Method Summary
 void addLayer(MMLayer layer)
           
 void addLayerGroup(LayerGroup layerGroup)
           
 java.util.List<LayerGroup> getLayerGroups()
           
 java.util.List<MMLayer> getLayers()
           
 java.util.List<MapModelEntry> getMapModelEntries()
           
 void insert(LayerGroup layerGroup, MapModelEntry antecessor, boolean first)
           
 void insert(MMLayer layer, MapModelEntry antecessor, boolean first)
           
 boolean isExpanded()
           
 void removeLayer(MMLayer layer)
           
 void removeLayerGroup(LayerGroup layerGroup)
           
 void setExpanded(boolean expanded)
           
 
Methods inherited from class org.deegree.portal.context.MapModelEntry
addSelectedFor, equals, getIdentifier, getOwner, getParent, getSelectedFor, getTitle, isHidden, removeSelectedFor, setHidden, setParent, setSelectedFor, setTitle, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LayerGroup

public LayerGroup(java.lang.String identifier,
                  java.lang.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 java.util.List<LayerGroup> getLayerGroups()
Returns:
the layerGroups

getLayers

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

getMapModelEntries

public java.util.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

removeLayer

public void removeLayer(MMLayer layer)
Parameters:
layer -

removeLayerGroup

public void removeLayerGroup(LayerGroup layerGroup)
Parameters:
layerGroup -

deegree 2.5 (2011/06/29 09:44 build-8-official)

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