com.vividsolutions.jump.workbench.model
Class WMSLayer

java.lang.Object
  extended bycom.vividsolutions.jump.workbench.model.AbstractLayerable
      extended bycom.vividsolutions.jump.workbench.model.WMSLayer
All Implemented Interfaces:
java.lang.Cloneable, Layerable

public class WMSLayer
extends AbstractLayerable
implements java.lang.Cloneable

A Layerable that retrieves images from a Web Map Server.


Constructor Summary
WMSLayer()
          Called by Java2XML
WMSLayer(LayerManager layerManager, java.lang.String serverURL, java.lang.String srs, java.util.List layerNames, java.lang.String format)
           
WMSLayer(LayerManager layerManager, WMService initializedService, java.lang.String srs, java.util.List layerNames, java.lang.String format)
           
 
Method Summary
 void addLayerName(java.lang.String layerName)
           
 java.lang.Object clone()
           
 java.awt.Image createImage(LayerViewPanel panel)
           
 MapRequest createRequest(LayerViewPanel panel)
           
 int getAlpha()
           
 Blackboard getBlackboard()
           
 java.lang.String getFormat()
           
 java.util.List getLayerNames()
           
 java.lang.String getServerURL()
           
 WMService getService()
           
 java.lang.String getSRS()
           
 void removeAllLayerNames()
           
 void setAlpha(int alpha)
           
 void setFormat(java.lang.String format)
           
 void setServerURL(java.lang.String serverURL)
           
 void setSRS(java.lang.String srs)
           
 
Methods inherited from class com.vividsolutions.jump.workbench.model.AbstractLayerable
fireAppearanceChanged, fireLayerChanged, getLayerManager, getMaxScale, getMinScale, getName, isScaleDependentRenderingEnabled, isVisible, setLayerManager, setMaxScale, setMinScale, setName, setScaleDependentRenderingEnabled, setVisible, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMSLayer

public WMSLayer()
Called by Java2XML


WMSLayer

public WMSLayer(LayerManager layerManager,
                java.lang.String serverURL,
                java.lang.String srs,
                java.util.List layerNames,
                java.lang.String format)
         throws java.io.IOException

WMSLayer

public WMSLayer(LayerManager layerManager,
                WMService initializedService,
                java.lang.String srs,
                java.util.List layerNames,
                java.lang.String format)
         throws java.io.IOException
Method Detail

getAlpha

public int getAlpha()

setAlpha

public void setAlpha(int alpha)
Parameters:
alpha - 0-255 (255 is opaque)

createImage

public java.awt.Image createImage(LayerViewPanel panel)
                           throws java.io.IOException
Throws:
java.io.IOException

createRequest

public MapRequest createRequest(LayerViewPanel panel)
                         throws java.io.IOException
Throws:
java.io.IOException

getFormat

public java.lang.String getFormat()

setFormat

public void setFormat(java.lang.String format)

addLayerName

public void addLayerName(java.lang.String layerName)

getLayerNames

public java.util.List getLayerNames()

setSRS

public void setSRS(java.lang.String srs)

getSRS

public java.lang.String getSRS()

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Throws:
java.lang.CloneNotSupportedException

removeAllLayerNames

public void removeAllLayerNames()

getBlackboard

public Blackboard getBlackboard()
Specified by:
getBlackboard in interface Layerable

getService

public WMService getService()
                     throws java.io.IOException
Throws:
java.io.IOException

getServerURL

public java.lang.String getServerURL()

setServerURL

public void setServerURL(java.lang.String serverURL)