Class IWLayerGroup

Extends IWLayerInterface.

A class which creates a new layer group.

Author: KUN

Constructor Summary
IWLayerGroup(groupName)
            Creates a new layer group.
 
Method Summary
 void addLayer(layer)
           Adds an IWLayer or IWLayerGroup to this group. visibities!
 String getGroupName()
           Returns the name of this group.
 boolean isVisible()
           Overwrites function for IWLayerInterface Checks if this layer is visible or not.
 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 don't updates 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(newName)
checkIfExistsAsParent(node)
mark()
unmark()
isMarked()
collapse()
expand()
isCollapsed()


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-2009 infoware GmbH - Documentation generated by JsDoc Toolkit 1.4.1 on Tue Nov 28 2017 09:51:52 GMT+0100 (MEZ)