public class WMSLayer extends AbstractLayerable implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
protected java.lang.ref.Reference |
oldImage |
protected java.net.URL |
oldURL |
Constructor and Description |
---|
WMSLayer()
Called by Java2XML
|
WMSLayer(LayerManager layerManager,
java.lang.String serverURL,
java.lang.String srs,
java.util.List layerNames,
java.lang.String format,
java.lang.String version) |
WMSLayer(LayerManager layerManager,
WMService initializedService,
java.lang.String srs,
java.util.List<java.lang.String> layerNames,
java.lang.String format,
java.lang.String version) |
WMSLayer(LayerManager layerManager,
WMService initializedService,
java.lang.String srs,
java.util.List layerNames,
java.lang.String format) |
WMSLayer(java.lang.String title,
LayerManager layerManager,
WMService initializedService,
java.lang.String srs,
java.util.List<java.lang.String> layerNames,
java.lang.String format) |
WMSLayer(java.lang.String title,
LayerManager layerManager,
WMService initializedService,
java.lang.String srs,
java.util.List<java.lang.String> layerNames,
java.lang.String format,
java.lang.String version) |
Modifier and Type | Method and Description |
---|---|
void |
addLayerName(java.lang.String layerName) |
java.lang.Object |
clone() |
java.awt.Image |
createImage(LayerViewPanel panel) |
MapRequest |
createRequest(LayerViewPanel panel) |
void |
dispose() |
int |
getAlpha() |
Blackboard |
getBlackboard() |
com.vividsolutions.jts.geom.Envelope |
getEnvelope() |
java.lang.String |
getFormat() |
java.util.List<java.lang.String> |
getLayerNames() |
java.lang.String |
getServerURL() |
WMService |
getService() |
java.lang.String |
getSRS() |
java.lang.String |
getWmsVersion() |
protected void |
init() |
void |
removeAllLayerNames() |
void |
setAlpha(int alpha) |
void |
setFormat(java.lang.String format) |
void |
setServerURL(java.lang.String serverURL) |
void |
setSRS(java.lang.String srs) |
void |
setWmsVersion(java.lang.String wmsVersion) |
fireAppearanceChanged, fireLayerChanged, getLayerManager, getMaxScale, getMinScale, getName, getTask, isScaleDependentRenderingEnabled, isVisible, setLayerManager, setMaxScale, setMinScale, setName, setScaleDependentRenderingEnabled, setVisible, toString
protected java.lang.ref.Reference oldImage
protected java.net.URL oldURL
public WMSLayer()
public WMSLayer(LayerManager layerManager, java.lang.String serverURL, java.lang.String srs, java.util.List layerNames, java.lang.String format, java.lang.String version) throws java.io.IOException
java.io.IOException
public WMSLayer(LayerManager layerManager, WMService initializedService, java.lang.String srs, java.util.List layerNames, java.lang.String format) throws java.io.IOException
java.io.IOException
public WMSLayer(java.lang.String title, LayerManager layerManager, WMService initializedService, java.lang.String srs, java.util.List<java.lang.String> layerNames, java.lang.String format) throws java.io.IOException
java.io.IOException
public WMSLayer(java.lang.String title, LayerManager layerManager, WMService initializedService, java.lang.String srs, java.util.List<java.lang.String> layerNames, java.lang.String format, java.lang.String version)
public WMSLayer(LayerManager layerManager, WMService initializedService, java.lang.String srs, java.util.List<java.lang.String> layerNames, java.lang.String format, java.lang.String version)
protected void init()
public int getAlpha()
public void setAlpha(int alpha)
alpha
- 0-255 (255 is opaque)public java.awt.Image createImage(LayerViewPanel panel) throws java.io.IOException
java.io.IOException
public MapRequest createRequest(LayerViewPanel panel) throws java.io.IOException
java.io.IOException
public java.lang.String getFormat()
public void setFormat(java.lang.String format)
public void addLayerName(java.lang.String layerName)
public java.util.List<java.lang.String> getLayerNames()
public void setSRS(java.lang.String srs)
public java.lang.String getSRS()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void removeAllLayerNames()
public Blackboard getBlackboard()
getBlackboard
in interface Layerable
public WMService getService() throws java.io.IOException
java.io.IOException
public java.lang.String getServerURL()
public void setServerURL(java.lang.String serverURL)
public java.lang.String getWmsVersion()
public void setWmsVersion(java.lang.String wmsVersion)
public com.vividsolutions.jts.geom.Envelope getEnvelope()
public void dispose()