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()
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.
|
ArrayList<String> |
getListStyles()
Gets the list styles.
|
String |
getTitle()
Gets the title.
|
String |
getUrl()
Gets the url.
|
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 |
parseRequest(String wmsRequest,
String displayName)
Parses the request.
|
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 |
setListStyles(ArrayList<String> listStyles)
Sets the list styles.
|
void |
setOnTop(boolean onTop)
Sets the on top.
|
void |
setTitle(String title)
Sets the title.
|
void |
setUrl(String url)
Sets the url.
|
String |
toString() |
public WmsRequestConverter(org.gcube.portlets.user.gisviewer.client.GisViewerPanel gisViewerPanel)
gisViewerPanel
- the gis viewer panelpublic void parseRequest(String wmsRequest, String displayName) throws Exception
wmsRequest
- the wms requestdisplayName
- the display nameException
- the exceptionpublic void addRequestToGisViewer()
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 ArrayList<String> getListStyles()
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 toppublic void setListStyles(ArrayList<String> listStyles)
listStyles
- the new list stylesCopyright © 2016. All Rights Reserved.