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

java.lang.Object
  |
  +--com.esri.aims.mtier.model.wmsmap.WmsLayers
All Implemented Interfaces:
Serializable

public class WmsLayers
extends Object
implements Serializable

The Layers object contains a collection of all layers associated with the WMSMap object's service. The Layers object also contains methods for adding, removing, getting, and manipulating layer objects in the colleciton.

See Also:
Serialized Form

Constructor Summary
WmsLayers()
           
 
Method Summary
 boolean add(Object layer)
          Adds a layer object to the layers collection.
 boolean clear()
          Clears all layers from this collection.
 int getCount()
          Returns the count of all layer objects in this collection.
 Vector getLayersCollection()
           
 WmsLayer item(int index)
          Returns a layer object by index from the layers collection.
 void removeDuplicate()
          Returns the count of all layers in this collection.
 void WmsLayers()
          Constructs an instance of the Layers object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WmsLayers

public WmsLayers()
Method Detail

WmsLayers

public void WmsLayers()
Constructs an instance of the Layers object.


add

public boolean add(Object layer)
Adds a layer object to the layers collection.

Parameters:
layer - the layer object.
See Also:
item(int)

item

public WmsLayer item(int index)
Returns a layer object by index from the layers collection.

Parameters:
index - the item in the layers collection.
Returns:
Object
See Also:
add(java.lang.Object)

clear

public boolean clear()
Clears all layers from this collection.


removeDuplicate

public void removeDuplicate()
Returns the count of all layers in this collection.

Returns:
int

getCount

public int getCount()
Returns the count of all layer objects in this collection.

Returns:
int

getLayersCollection

public Vector getLayersCollection()