|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.aims.mtier.model.wmsmap.WmsLayer
public class WmsLayer
Defines a WMS Layer with name, style, SRS, and bounding box.
Constructor Summary | |
---|---|
WmsLayer()
|
Method Summary | |
---|---|
Envelope |
getEnvelope()
Returns the Layer object's Envelope object. |
String |
getName()
Returns the Layer Name. |
String |
getSRS()
Returns the Layer SRS. |
String |
getStyle()
Returns the Layer style. |
String |
getTitle()
Returns the Layer title. |
boolean |
isVisible()
Returns "True", if the visibility property for this Layer is set. |
void |
setEnvelope(Envelope envelope)
Sets the Layer object's Envelope object. |
void |
setName(String name)
sets the Layer Name. |
void |
setSRS(String srs)
Sets the Layer SRS. |
void |
setStyle(String style)
sets the Layer style. |
void |
setTitle(String title)
Sets the Layer title. |
void |
setVisible(boolean value)
Sets the visibility property for this Layer object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WmsLayer()
Method Detail |
---|
public void setName(String name)
name
- as stringpublic String getName()
public void setTitle(String title)
title
- as stringgetTitle()
public String getTitle()
setTitle(java.lang.String)
public void setSRS(String srs)
srs
- the srs value of the layergetSRS()
public String getSRS()
setSRS(java.lang.String)
public void setStyle(String style)
style
- public String getStyle()
public void setEnvelope(Envelope envelope)
envelope
- the Envelope objectgetEnvelope()
public Envelope getEnvelope()
setEnvelope(com.esri.aims.mtier.model.wmsmap.Envelope)
public void setVisible(boolean value)
Layer
object.
Example: layer.setVisible(true);
value
- a boolean value - True or False.isVisible()
public boolean isVisible()
Layer
is set.
Example:
if(layer.isVisible() == true){
layer.setVisible(false);
}
setVisible(boolean)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |