|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.moximedia.ows.LayerGroup
| Constructor Summary | |
LayerGroup()
Creates new LayerGroup |
|
| Method Summary | |
void |
addLayer(Layer layer)
Adds a layer to the layer group. |
Layer |
getActiveLayer(double scale)
Gets the active layer, or null if no layer is active. |
boolean |
getCanIdentify()
Returns an indicator of whether the user can identify the layer group. |
boolean |
getCanSetVisibility()
Returns an indicator of whether the user can control the visibility of the layer group on the layer list page of the IMF interface. |
boolean |
getImmediateRefresh()
Returns whether the map should immediately refresh when the layer group visibility is changed. |
LayerListLegends |
getLayerListLegends()
Gets the layer list legends object for this layer, or null if there are no layer list legends. |
Layers |
getLayers()
Gets the layers object containing the layers in this layer group. |
double |
getMaxScale()
Gets the maximum scale at which the layer group can be displayed. |
java.lang.String |
getMetadataUrl()
Gets the metadata url for the layer group, if there is one. |
double |
getMinScale()
Gets the minimum scale at which the layer group can be displayed. |
java.lang.String |
getName()
Get the name of the layer group to be displayed to the user. |
int |
getObjectId()
Gets the IMF assigned object id for this layer group. |
boolean |
getVisible()
Gets whether the layer group visibility is on. |
void |
setImmediateRefresh(boolean immediateRefresh)
sets whether the map should immediately refresh when the layer group visibility is changed. |
void |
setLayerListLegends(LayerListLegends legends)
Sets the layer list legends object for this layer. |
void |
setName(java.lang.String name)
Sets the name of the layer group to be displayed to the user. |
void |
setVisible(boolean isVisible)
Sets whether the layer group visibility is on. |
void |
setXmlAttribute(Map map,
java.lang.String tag,
java.lang.String name,
java.lang.String value,
java.lang.String frameworkPath,
java.lang.String mapConfigPath)
Sets one of the attributes of this object using a string value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LayerGroup()
| Method Detail |
public void addLayer(Layer layer)
layer - The layer to add.public Layer getActiveLayer(double scale)
scale - The map scale.
public boolean getCanSetVisibility()
public boolean getCanIdentify()
public boolean getImmediateRefresh()
public void setImmediateRefresh(boolean immediateRefresh)
immediateRefresh - True if the map should immediately refresh,
otherwise false.public LayerListLegends getLayerListLegends()
public void setLayerListLegends(LayerListLegends legends)
legends - The layer list legends object to set for this layer.public int getObjectId()
public Layers getLayers()
public double getMaxScale()
public java.lang.String getMetadataUrl()
public double getMinScale()
public java.lang.String getName()
public void setName(java.lang.String name)
name - The layer group's name.public boolean getVisible()
public void setVisible(boolean isVisible)
isVisible - True if the layer group's visibility is set to on, otherwise false.
public void setXmlAttribute(Map map,
java.lang.String tag,
java.lang.String name,
java.lang.String value,
java.lang.String frameworkPath,
java.lang.String mapConfigPath)
map - The map object containing this layer group.frameworkPath - The path to the IMF installation.mapConfigPath - The path to the map configuration file.tag - The XML element tag containing this attribute (not used).name - The XML attribute name.value - The XML attribute value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||