Interface LayerSelectionHandler
-
- All Known Implementing Classes:
BaseWmsClient,Godiva
public interface LayerSelectionHandler
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlayerDeselected(String layerId)Called when a layer is deselected.voidlayerSelected(String wmsUrl, String layerId, boolean autoZoomAndPalette)Called when a layer is selectedvoidrefreshLayerList()Called when the user would like the list of layers to be refreshed
-
-
-
Method Detail
-
layerSelected
void layerSelected(String wmsUrl, String layerId, boolean autoZoomAndPalette)
Called when a layer is selected- Parameters:
wmsUrl- The WMS URL where the layer is presentlayerId- The ID of the layer on the WMS serverautoZoomAndPalette- Whether we want to automatically zoom to the layer extents and adjust the palette. Note that the palette will not be adjusted if a range has been set on the server
-
layerDeselected
void layerDeselected(String layerId)
Called when a layer is deselected. This is only likely to happen on multi-layer systems TODO perhaps this will need a wmsUrl to uniquely locate the layer? Currently we have no multi-layer systems on which to test this, so it's not really important. This comment should be removed when one gets implemented- Parameters:
layerId- The ID of the layer which has been deselected
-
refreshLayerList
void refreshLayerList()
Called when the user would like the list of layers to be refreshed
-
-