org.geotools.map
Class WMSMapLayer
Object
DefaultMapLayer
WMSMapLayer
- All Implemented Interfaces:
- ComponentListener, EventListener, MapBoundsListener, MapLayer
public class WMSMapLayer
- extends DefaultMapLayer
- implements MapLayer, MapBoundsListener, ComponentListener
Field Summary |
static Logger |
LOGGER
The logger for the map module. |
Methods inherited from class DefaultMapLayer |
addMapLayerListener, fireMapLayerListenerLayerChanged, fireMapLayerListenerLayerDeselected, fireMapLayerListenerLayerHidden, fireMapLayerListenerLayerSelected, fireMapLayerListenerLayerShown, getFeatureSource, getQuery, getSource, getStyle, getTitle, isSelected, isVisible, removeMapLayerListener, setQuery, setSelected, setStyle, setTitle, setVisible, toString |
Methods inherited from interface MapLayer |
addMapLayerListener, getFeatureSource, getQuery, getSource, getStyle, getTitle, isSelected, isVisible, removeMapLayerListener, setQuery, setSelected, setStyle, setTitle, setVisible |
LOGGER
public static final Logger LOGGER
- The logger for the map module.
WMSMapLayer
public WMSMapLayer(WebMapServer wms,
Layer layer)
setDefaultStyle
public void setDefaultStyle()
mapBoundsChanged
public void mapBoundsChanged(MapBoundsEvent event)
- Description copied from interface:
MapBoundsListener
- Invoked when the area of interest or the coordinate system changes
- Specified by:
mapBoundsChanged
in interface MapBoundsListener
- Parameters:
event
- The change event.
getHeight
public int getHeight()
setHeight
public void setHeight(int height)
getWidth
public int getWidth()
setWidth
public void setWidth(int width)
getGrid
public GridCoverage2D getGrid()
isTransparent
public boolean isTransparent()
setTransparent
public void setTransparent(boolean transparent)
componentHidden
public void componentHidden(ComponentEvent e)
- Specified by:
componentHidden
in interface ComponentListener
componentMoved
public void componentMoved(ComponentEvent e)
- Specified by:
componentMoved
in interface ComponentListener
componentResized
public void componentResized(ComponentEvent e)
- Specified by:
componentResized
in interface ComponentListener
componentShown
public void componentShown(ComponentEvent e)
- Specified by:
componentShown
in interface ComponentListener
getBgColour
public String getBgColour()
setBgColour
public void setBgColour(String bgColour)
getExceptions
public String getExceptions()
setExceptions
public void setExceptions(String exceptions)
- Set the type of exception reports. Valid values are: "application/vnd.ogc.se_xml" (the
default) "application/vnd.ogc.se_inimage" "application/vnd.ogc.se_blank"
- Parameters:
exceptions
-
getBounds
public ReferencedEnvelope getBounds()
- Description copied from interface:
MapLayer
- find out the bounds of the layer
- Specified by:
getBounds
in interface MapLayer
- Overrides:
getBounds
in class DefaultMapLayer
- Returns:
- - the layer's bounds
Copyright © 1996-2009 Geotools. All Rights Reserved.