public final class SlidableWMSServiceLayerGroup extends AbstractRetrievalService implements RetrievalServiceLayer, RasterMapService, ChangeListener, MapService, LayerInfoProvider, ActiveLayerListener
| Modifier and Type | Class and Description |
|---|---|
static class |
SlidableWMSServiceLayerGroup.LabelDirection
DOCUMENT ME!
|
| Modifier and Type | Field and Description |
|---|---|
static String |
LAYERNAME_FROM_CONFIG_SUFFIX
A suffix which makes it clear, if a layer name was loaded from the config file.
|
static String |
XML_ELEMENT_NAME |
DEBUG, errorObject, listeners, progress, PROGRESS_PROPERTY, PROGRESS_REFRESH, propertyChangeSupport, refreshNeededLAYER_DISABLED_INVISIBLE, LAYER_DISABLED_VISIBLE, LAYER_ENABLED_INVISIBLE, LAYER_ENABLED_VISIBLE| Constructor and Description |
|---|
SlidableWMSServiceLayerGroup(org.jdom.Element element,
HashMap<String,de.cismet.commons.wms.capabilities.WMSCapabilities> capabilities)
Creates a new SlidableWMSServiceLayerGroup object.
|
SlidableWMSServiceLayerGroup(List treePaths)
Creates a new SlidableWMSServiceLayerGroup object.
|
SlidableWMSServiceLayerGroup(String name,
String completePath,
Collection<de.cismet.commons.wms.capabilities.Layer> layers,
de.cismet.commons.wms.capabilities.WMSCapabilities wmsCapabilities,
String capabilitiesUrl,
Crs srs)
Deprecated.
DOCUMENT ME!
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canBeDisabled()
DOCUMENT ME!
|
Object |
clone() |
boolean |
equals(Object obj) |
XBoundingBox |
getBoundingBox()
Provides the bounding box of this layer.
|
String |
getCustomSLD()
DOCUMENT ME!
|
de.cismet.commons.wms.capabilities.Layer |
getLayerInformation()
DOCUMENT ME!
|
int |
getLayerPosition()
DOCUMENT ME!
|
List<WMSServiceLayer> |
getLayers()
DOCUMENT ME!
|
String |
getLayerURI()
DOCUMENT ME!
|
ActionListener |
getLockListener()
DOCUMENT ME!
|
String |
getName()
DOCUMENT ME!
|
String |
getPath()
Returns the path of this layer.
|
edu.umd.cs.piccolo.PNode |
getPNode()
DOCUMENT ME!
|
String |
getServerURI()
DOCUMENT ME!
|
float |
getTranslucency()
Getter for the translucency of this layer.
|
double |
getVerticalLabelWidthThreshold()
DOCUMENT ME!
|
int |
hashCode() |
boolean |
isCrossfadeEnabled()
DOCUMENT ME!
|
boolean |
isEnabled()
DOCUMENT ME!
|
boolean |
isLayerQuerySelected()
DOCUMENT ME!
|
boolean |
isLocked()
DOCUMENT ME!
|
boolean |
isPrintMode()
See setPrintMode().
|
boolean |
isQueryable()
DOCUMENT ME!
|
boolean |
isResourceConserving()
DOCUMENT ME!
|
boolean |
isVisible()
DOCUMENT ME!
|
void |
layerAdded(ActiveLayerEvent e)
DOCUMENT ME!
|
void |
layerAvailabilityChanged(ActiveLayerEvent e)
DOCUMENT ME!
|
void |
layerInformationStatusChanged(ActiveLayerEvent e)
DOCUMENT ME!
|
void |
layerPositionChanged(ActiveLayerEvent e)
DOCUMENT ME!
|
void |
layerRemoved(ActiveLayerEvent e)
DOCUMENT ME!
|
void |
layerSelectionChanged(ActiveLayerEvent e)
DOCUMENT ME!
|
void |
layerVisibilityChanged(ActiveLayerEvent e)
DOCUMENT ME!
|
void |
retrieve(boolean forced)
DOCUMENT ME!
|
void |
setBoundingBox(BoundingBox bb)
DOCUMENT ME!
|
void |
setCapabilitiesUrl(String capabilitiesUrl)
DOCUMENT ME!
|
void |
setCustomSLD(String customSLD)
DOCUMENT ME!
|
void |
setEnabled(boolean enabled)
DOCUMENT ME!
|
void |
setLayerPosition(int layerPosition)
DOCUMENT ME!
|
void |
setLayerQuerySelected(boolean selected)
DOCUMENT ME!
|
void |
setLocked(boolean locked)
Locks the SlidableWMSServiceLayerGroup, this is not possible if RESOURCE_CONSERVING is false.
|
void |
setName(String name)
DOCUMENT ME!
|
void |
setPNode(edu.umd.cs.piccolo.PNode imageObject)
DOCUMENT ME!
|
void |
setPrintMode(boolean printMode)
Print Mode has to be set true, if this class is used with the headlessMapProvider.
|
void |
setSize(int height,
int width)
DOCUMENT ME!
|
void |
setSrs(String srs)
DOCUMENT ME!
|
void |
setTranslucency(float t)
Setter for the translucency of this layer.
|
void |
setWmsCapabilities(de.cismet.commons.wms.capabilities.WMSCapabilities wmsCapabilities)
DOCUMENT ME!
|
void |
stateChanged(ChangeEvent e) |
org.jdom.Element |
toElement()
DOCUMENT ME!
|
String |
toString() |
addPropertyChangeListener, addRetrievalListener, cloneWithoutRetrievalListeners, fireRetrievalAborted, fireRetrievalComplete, fireRetrievalError, fireRetrievalProgress, fireRetrievalStarted, getErrorObject, getListeners, getProgress, hasErrors, isRefreshNeeded, removePropertyChangeListener, removeRetrievalListener, setErrorObject, setProgress, setRefreshNeededfinalize, getClass, notify, notifyAll, wait, wait, waitgetErrorObject, hasErrors, setErrorObjectaddPropertyChangeListener, addRetrievalListener, getProgress, isRefreshNeeded, removePropertyChangeListener, removeRetrievalListener, setProgress, setRefreshNeededpublic static final String XML_ELEMENT_NAME
public static final String LAYERNAME_FROM_CONFIG_SUFFIX
public SlidableWMSServiceLayerGroup(List treePaths)
treePaths - DOCUMENT ME!public SlidableWMSServiceLayerGroup(org.jdom.Element element,
HashMap<String,de.cismet.commons.wms.capabilities.WMSCapabilities> capabilities)
element - treePaths DOCUMENT ME!capabilities - DOCUMENT ME!public SlidableWMSServiceLayerGroup(String name, String completePath, Collection<de.cismet.commons.wms.capabilities.Layer> layers, de.cismet.commons.wms.capabilities.WMSCapabilities wmsCapabilities, String capabilitiesUrl, Crs srs)
Note: Deprecated - please test before using this constructor. If everything works as expected, the deprecated tag can be removed.
name - DOCUMENT ME!completePath - DOCUMENT ME!layers - DOCUMENT ME!wmsCapabilities - DOCUMENT ME!capabilitiesUrl - DOCUMENT ME!srs - DOCUMENT ME!public void setPrintMode(boolean printMode)
printMode - DOCUMENT ME!public boolean isPrintMode()
public void setWmsCapabilities(de.cismet.commons.wms.capabilities.WMSCapabilities wmsCapabilities)
wmsCapabilities - DOCUMENT ME!public void setCapabilitiesUrl(String capabilitiesUrl)
capabilitiesUrl - DOCUMENT ME!public void setSrs(String srs)
srs - DOCUMENT ME!public void stateChanged(ChangeEvent e)
stateChanged in interface ChangeListenerpublic edu.umd.cs.piccolo.PNode getPNode()
PNodeProvidergetPNode in interface PNodeProviderpublic void setPNode(edu.umd.cs.piccolo.PNode imageObject)
PNodeProvidersetPNode in interface PNodeProviderimageObject - DOCUMENT ME!public void retrieve(boolean forced)
RetrievalServiceretrieve in interface RetrievalServiceretrieve in class AbstractRetrievalServiceforced - DOCUMENT ME!public boolean canBeDisabled()
ServiceLayercanBeDisabled in interface ServiceLayerpublic int getLayerPosition()
ServiceLayergetLayerPosition in interface ServiceLayerpublic String getName()
ServiceLayergetName in interface ServiceLayerpublic XBoundingBox getBoundingBox()
public String getPath()
public void setCustomSLD(String customSLD)
customSLD - DOCUMENT ME!public String getCustomSLD()
public boolean isEnabled()
ServiceLayerisEnabled in interface ServiceLayerpublic void setEnabled(boolean enabled)
ServiceLayersetEnabled in interface ServiceLayerenabled - DOCUMENT ME!public void setLayerPosition(int layerPosition)
ServiceLayersetLayerPosition in interface ServiceLayerlayerPosition - DOCUMENT ME!public void setName(String name)
ServiceLayersetName in interface ServiceLayername - DOCUMENT ME!public float getTranslucency()
ServiceLayer1.0 the layer is fully opaque and not
transparent.getTranslucency in interface MapServicegetTranslucency 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 Object clone()
clone in class AbstractRetrievalServicepublic boolean isVisible()
MapServiceisVisible in interface MapServicepublic void setBoundingBox(BoundingBox bb)
MapServicesetBoundingBox in interface MapServicebb - DOCUMENT ME!public void setSize(int height,
int width)
MapServicesetSize in interface MapServiceheight - DOCUMENT ME!width - DOCUMENT ME!public String getLayerURI()
LayerInfoProvidergetLayerURI in interface LayerInfoProviderpublic String getServerURI()
LayerInfoProvidergetServerURI in interface LayerInfoProviderpublic boolean isLayerQuerySelected()
LayerInfoProviderisLayerQuerySelected in interface LayerInfoProviderpublic void setLayerQuerySelected(boolean selected)
LayerInfoProvidersetLayerQuerySelected in interface LayerInfoProviderselected - DOCUMENT ME!public boolean isQueryable()
LayerInfoProviderisQueryable in interface LayerInfoProviderpublic double getVerticalLabelWidthThreshold()
public boolean isCrossfadeEnabled()
public boolean isResourceConserving()
public de.cismet.commons.wms.capabilities.Layer getLayerInformation()
getLayerInformation in interface LayerInfoProviderpublic boolean isLocked()
public void setLocked(boolean locked)
locked - DOCUMENT ME!public ActionListener getLockListener()
public List<WMSServiceLayer> getLayers()
public org.jdom.Element toElement()
public void layerAdded(ActiveLayerEvent e)
ActiveLayerListenerlayerAdded in interface ActiveLayerListenere - DOCUMENT ME!public void layerRemoved(ActiveLayerEvent e)
ActiveLayerListenerlayerRemoved in interface ActiveLayerListenere - DOCUMENT ME!public void layerPositionChanged(ActiveLayerEvent e)
ActiveLayerListenerlayerPositionChanged in interface ActiveLayerListenere - DOCUMENT ME!public void layerVisibilityChanged(ActiveLayerEvent e)
ActiveLayerListenerlayerVisibilityChanged in interface ActiveLayerListenere - DOCUMENT ME!public void layerAvailabilityChanged(ActiveLayerEvent e)
ActiveLayerListenerlayerAvailabilityChanged in interface ActiveLayerListenere - DOCUMENT ME!public void layerInformationStatusChanged(ActiveLayerEvent e)
ActiveLayerListenerlayerInformationStatusChanged in interface ActiveLayerListenere - DOCUMENT ME!public void layerSelectionChanged(ActiveLayerEvent e)
ActiveLayerListenerlayerSelectionChanged in interface ActiveLayerListenere - DOCUMENT ME!Copyright © 2012–2026 cismet GmbH. All rights reserved.