triptracker.client.map.core
Class WMSMapProvider

java.lang.Object
  extended by triptracker.client.map.core.AbstractMapProvider
      extended by triptracker.client.map.core.WMSMapProvider

public class WMSMapProvider
extends AbstractMapProvider


Constructor Summary
WMSMapProvider()
           
WMSMapProvider(int height, int width)
           
 
Method Summary
 void addLayer(String layerName)
           
 void addLayers(Collection<String> layers)
           
 void addStyle(String styleName)
           
 void addStyles(Collection<String> styles)
           
 String getBackgroundColor()
           
 String getImageFormat()
           
 ImageIcon getMap(double minX, double minY, double maxX, double maxY)
          
 String getProviderUrl()
           
 String getSRS()
           
 boolean hasLayer(String layerName)
           
 boolean hasStyle(String styleName)
           
 boolean isTransparent()
           
 void removeAllLayers()
           
 void removeAllStyles()
           
 void removeLayer(String layerName)
           
 void removeStyle(String styleName)
           
 void setBackgroundColor(String bgColor)
           
 void setImageFormat(String imageFormat)
           
 void setProviderUrl(String providerUrl)
           
 void setSRS(String srs)
           
 void setTransparent(boolean transparent)
           
 
Methods inherited from class triptracker.client.map.core.AbstractMapProvider
getHeight, getWidth, setSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WMSMapProvider

public WMSMapProvider()

WMSMapProvider

public WMSMapProvider(int height,
                      int width)
Method Detail

getMap

public ImageIcon getMap(double minX,
                        double minY,
                        double maxX,
                        double maxY)

Specified by:
getMap in class AbstractMapProvider

addLayers

public void addLayers(Collection<String> layers)

addLayer

public void addLayer(String layerName)

hasLayer

public boolean hasLayer(String layerName)

removeLayer

public void removeLayer(String layerName)

removeAllLayers

public void removeAllLayers()

addStyles

public void addStyles(Collection<String> styles)

addStyle

public void addStyle(String styleName)

hasStyle

public boolean hasStyle(String styleName)

removeStyle

public void removeStyle(String styleName)

removeAllStyles

public void removeAllStyles()

getImageFormat

public String getImageFormat()

setImageFormat

public void setImageFormat(String imageFormat)

getProviderUrl

public String getProviderUrl()

setProviderUrl

public void setProviderUrl(String providerUrl)

getSRS

public String getSRS()

setSRS

public void setSRS(String srs)

getBackgroundColor

public String getBackgroundColor()

setBackgroundColor

public void setBackgroundColor(String bgColor)

isTransparent

public boolean isTransparent()

setTransparent

public void setTransparent(boolean transparent)


Copyright © 2006 Team Trip Tracker. All Rights Reserved.