public class WmsRequestConverter extends Object
| Constructor and Description |
|---|
WmsRequestConverter(org.gcube.portlets.user.gisviewer.client.GisViewerPanel gisViewerPanel)
Instantiates a new wms request converter.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRequestToGisViewer(String wmsRequest,
String displayName,
String layerUUID)
Adds the request to gis viewer.
|
String |
getLayerName()
Gets the layer name.
|
org.gcube.portlets.user.gisviewer.client.GisViewerPanel.LayerType |
getLayerType()
Gets the layer type.
|
String |
getTitle()
Gets the title.
|
String |
getUrl()
Gets the url.
|
String |
getWmsRequest()
Gets the wms request.
|
boolean |
isBase()
Checks if is base.
|
boolean |
isDisplayInLayerSwitcher()
Checks if is display in layer switcher.
|
boolean |
isExternal()
Checks if is external.
|
boolean |
isOnTop()
Checks if is on top.
|
void |
setBase(boolean isBase)
Sets the base.
|
void |
setDisplayInLayerSwitcher(boolean displayInLayerSwitcher)
Sets the display in layer switcher.
|
void |
setExternal(boolean isExternal)
Sets the external.
|
void |
setLayerName(String layerName)
Sets the layer name.
|
void |
setLayerType(org.gcube.portlets.user.gisviewer.client.GisViewerPanel.LayerType layerType)
Sets the layer type.
|
void |
setOnTop(boolean onTop)
Sets the on top.
|
void |
setTitle(String title)
Sets the title.
|
void |
setUrl(String url)
Sets the url.
|
public WmsRequestConverter(org.gcube.portlets.user.gisviewer.client.GisViewerPanel gisViewerPanel)
gisViewerPanel - the gis viewer panelpublic void addRequestToGisViewer(String wmsRequest, String displayName, String layerUUID) throws Exception
wmsRequest - the wms requestdisplayName - the display namelayerUUID - the layer uuidException - the exceptionpublic String getWmsRequest()
public org.gcube.portlets.user.gisviewer.client.GisViewerPanel.LayerType getLayerType()
public String getTitle()
public String getLayerName()
public String getUrl()
public boolean isExternal()
public boolean isBase()
public boolean isDisplayInLayerSwitcher()
public boolean isOnTop()
public void setLayerType(org.gcube.portlets.user.gisviewer.client.GisViewerPanel.LayerType layerType)
layerType - the new layer typepublic void setTitle(String title)
title - the new titlepublic void setLayerName(String layerName)
layerName - the new layer namepublic void setUrl(String url)
url - the new urlpublic void setExternal(boolean isExternal)
isExternal - the new externalpublic void setBase(boolean isBase)
isBase - the new basepublic void setDisplayInLayerSwitcher(boolean displayInLayerSwitcher)
displayInLayerSwitcher - the new display in layer switcherpublic void setOnTop(boolean onTop)
onTop - the new on topCopyright © 2017. All Rights Reserved.