public class LayerCollection extends ArrayList<Object> implements ServiceLayer
| Modifier and Type | Field and Description |
|---|---|
static String |
XML_ELEMENT_NAME |
modCountLAYER_DISABLED_INVISIBLE, LAYER_DISABLED_VISIBLE, LAYER_ENABLED_INVISIBLE, LAYER_ENABLED_VISIBLE| Constructor and Description |
|---|
LayerCollection()
Creates a new LayerCollection object.
|
LayerCollection(org.jdom.Element e,
HashMap<String,de.cismet.commons.wms.capabilities.WMSCapabilities> capabilities,
ActiveLayerModel model)
Creates a new LayerCollection object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
Object element) |
boolean |
add(Object e) |
boolean |
addAll(Collection<? extends Object> c) |
boolean |
addAll(int index,
Collection<? extends Object> c) |
boolean |
canBeDisabled()
DOCUMENT ME!
|
boolean |
equals(Object o) |
org.jdom.Element |
getInitElement()
DOCUMENT ME!
|
int |
getLayerPosition()
DOCUMENT ME!
|
ActiveLayerModel |
getModel()
DOCUMENT ME!
|
String |
getName()
DOCUMENT ME!
|
float |
getTranslucency()
Getter for the translucency of this layer.
|
int |
hashCode() |
boolean |
isEnabled()
DOCUMENT ME!
|
void |
setCrs(Crs srs)
DOCUMENT ME!
|
void |
setEnabled(boolean enabled)
DOCUMENT ME!
|
void |
setInitElement(org.jdom.Element initElement)
DOCUMENT ME!
|
void |
setLayerPosition(int layerPosition)
DOCUMENT ME!
|
void |
setModel(ActiveLayerModel model)
DOCUMENT ME!
|
void |
setName(String name)
DOCUMENT ME!
|
void |
setTranslucency(float t)
Setter for the translucency of this layer.
|
org.jdom.Element |
toElement()
DOCUMENT ME!
|
String |
toString() |
clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizecontainsAllfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAllparallelStream, streampublic static final String XML_ELEMENT_NAME
public LayerCollection()
public LayerCollection(org.jdom.Element e,
HashMap<String,de.cismet.commons.wms.capabilities.WMSCapabilities> capabilities,
ActiveLayerModel model)
e - DOCUMENT ME!capabilities - DOCUMENT ME!model - DOCUMENT ME!public void setCrs(Crs srs)
srs - DOCUMENT ME!public String toString()
toString in class AbstractCollection<Object>public org.jdom.Element toElement()
public boolean equals(Object o)
equals in interface Collection<Object>equals in interface List<Object>equals in class AbstractList<Object>public int hashCode()
hashCode in interface Collection<Object>hashCode in interface List<Object>hashCode in class AbstractList<Object>public void setEnabled(boolean enabled)
setEnabled in interface ServiceLayerenabled - DOCUMENT ME!public boolean isEnabled()
isEnabled in interface ServiceLayerpublic boolean add(Object e)
public void add(int index,
Object element)
public boolean addAll(Collection<? extends Object> c)
public boolean addAll(int index,
Collection<? extends Object> c)
public void setName(String name)
setName in interface ServiceLayername - DOCUMENT ME!public ActiveLayerModel getModel()
public void setModel(ActiveLayerModel model)
model - the model to setpublic boolean canBeDisabled()
ServiceLayercanBeDisabled in interface ServiceLayerpublic int getLayerPosition()
ServiceLayergetLayerPosition in interface ServiceLayerpublic void setLayerPosition(int layerPosition)
ServiceLayersetLayerPosition in interface ServiceLayerlayerPosition - DOCUMENT ME!public float getTranslucency()
ServiceLayer1.0 the layer is fully opaque and not
transparent.getTranslucency in interface ServiceLayerpublic void setTranslucency(float t)
ServiceLayer1.0 as a parameter the layer will become
fully opaque and not transparent.setTranslucency in interface ServiceLayert - the opacity percentage (0.0 <= translucency <= 1.0)public String getName()
ServiceLayergetName in interface ServiceLayerpublic org.jdom.Element getInitElement()
public void setInitElement(org.jdom.Element initElement)
initElement - the initElement to setCopyright © 2012–2025 cismet GmbH. All rights reserved.