com.esri.aims.mtier.model.wmsmap
Class WmsLayer

java.lang.Object
  extended by com.esri.aims.mtier.model.wmsmap.WmsLayer
All Implemented Interfaces:
Serializable

public class WmsLayer
extends Object
implements Serializable

Defines a WMS Layer with name, style, SRS, and bounding box.

See Also:
Serialized Form

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

WmsLayer

public WmsLayer()
Method Detail

setName

public void setName(String name)
sets the Layer Name.

Parameters:
name - as string

getName

public String getName()
Returns the Layer Name.

Returns:
Name

setTitle

public void setTitle(String title)
Sets the Layer title.

Parameters:
title - as string
See Also:
getTitle()

getTitle

public String getTitle()
Returns the Layer title.

Returns:
title
See Also:
setTitle(java.lang.String)

setSRS

public void setSRS(String srs)
Sets the Layer SRS.

Parameters:
srs - the srs value of the layer
See Also:
getSRS()

getSRS

public String getSRS()
Returns the Layer SRS.

Returns:
the srs value of the layer
See Also:
setSRS(java.lang.String)

setStyle

public void setStyle(String style)
sets the Layer style.

Parameters:
style -

getStyle

public String getStyle()
Returns the Layer style.

Returns:
style

setEnvelope

public void setEnvelope(Envelope envelope)
Sets the Layer object's Envelope object.

Parameters:
envelope - the Envelope object
See Also:
getEnvelope()

getEnvelope

public Envelope getEnvelope()
Returns the Layer object's Envelope object.

Returns:
Envelope
See Also:
setEnvelope(com.esri.aims.mtier.model.wmsmap.Envelope)

setVisible

public void setVisible(boolean value)
Sets the visibility property for this Layer object. Example:
layer.setVisible(true);

Parameters:
value - a boolean value - True or False.
See Also:
isVisible()

isVisible

public boolean isVisible()
Returns "True", if the visibility property for this Layer is set. Example:
 if(layer.isVisible() == true){
  layer.setVisible(false);
 }
 

Returns:
a boolean value.
See Also:
setVisible(boolean)