com.esri.aims.mtier.model.map.layer.raster
Class RasterInfo

java.lang.Object
  extended by com.esri.aims.mtier.model.map.layer.raster.RasterInfo
All Implemented Interfaces:
Serializable

public class RasterInfo
extends Object
implements Serializable

Contains a collection of Bands object. The RasterInfo object gets populated by the response from the ArcIMS Application Server.

See Also:
Serialized Form

Constructor Summary
RasterInfo()
          Constructs an instance of a RasterInfo object.
 
Method Summary
 void addBands(Bands obj)
          Adds Bands objects to the RasterInfo collection.
 void clearBands()
          Clears all Bands object from the RasterInfo collection.
 Bands getBands(int index)
          Returns the Bands object from the RasterInfo collection.
 int getBandsCount()
          Returns the count of all Bands objects in the RasterInfo collection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterInfo

public RasterInfo()
Constructs an instance of a RasterInfo object. This object gets created based on the response from the ArcIMS Application Server.

Method Detail

addBands

public void addBands(Bands obj)
Adds Bands objects to the RasterInfo collection. Bands are added based on the response from the ArcIMS Application Server.

Parameters:
obj - the Bands object.
See Also:
clearBands()

getBands

public Bands getBands(int index)
Returns the Bands object from the RasterInfo collection. Example:
 Bands bands = rasterInfo.getBands(0);
 

Parameters:
index - the item in the collection.
Returns:
Bands

clearBands

public void clearBands()
Clears all Bands object from the RasterInfo collection. Example:
rasterInfo.clearBands();


getBandsCount

public int getBandsCount()
Returns the count of all Bands objects in the RasterInfo collection. Example:
int count = rasterInfo.getBandsCount();

Returns:
int