Class IWLayerGroup

Extends IWLayerInterface.

A group of layers and other layer groups.


Constructor Summary
IWLayerGroup(groupName)
            Creates a new layer group.
 
Method Summary
 void addLayer(layer)
           Adds an IWLayer or IWLayerGroup to this group. visibilities!
 String getGroupName()
           Returns the name of this group.
 boolean isVisible()
           Overwrites function for IWLayerInterface.
 void removeLayer(layer)
           Removes an IWLayer or IWLayerGroup from this group. visibilities!
 IWLayerInterface removeLayerByName(layerName)
           Removes an IWLayer or IWLayerGroup from this group by its name. function doesn't update the visibilities!
 void setGroupName(groupName)
           Sets the name of this group.
 String toString()
           Returns a string representation of this layer group.
 void triggerOnRemove()
           Triggers the onremove event.
 
Methods inherited from class IWLayerInterface
setUseDefaults(useDefaults)
useDefaults()
setVisible(visible)
Methods inherited from class IWNodeElement
setParent(newParent)
hasChildren()
hasChild()
getChildren()
getParent()
add(node)
remove(node)
getName()
setName(name)
checkIfExistsAsParent(node)
mark()
unmark()
isMarked()


Constructor Detail

IWLayerGroup

IWLayerGroup(groupName)

Method Detail

addLayer

void addLayer(layer)

getGroupName

String getGroupName()

isVisible

boolean isVisible()

removeLayer

void removeLayer(layer)

removeLayerByName

IWLayerInterface removeLayerByName(layerName)

setGroupName

void setGroupName(groupName)

toString

String toString()

triggerOnRemove

void triggerOnRemove()

Source-Code Copyright 2007-2016 infoware GmbH - Documentation generated on Tue Nov 29 2022 14:20:15 GMT+0100 (MEZ)