com.esri.arcgis.datasourcesraster
Class RasterBands

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterBands
All Implemented Interfaces:
IEnumRasterBand, IEnumDataset, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class RasterBands
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IEnumDataset, IEnumRasterBand

COM Class 'RasterBands'. Generated 3/19/2015 1:20:42 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description 'An enumerator useful for iterating through a set of raster bands.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.esri.arcgis.geodatabase.IEnumDataset
IID, IID2d04c044_7766_11d0_b77d_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IEnumRasterBand
IID, IID7aca3d03_0629_11d2_8d24_0000f8780535, xxDummy
 
Constructor Summary
RasterBands(java.lang.Object obj)
          Construct a RasterBands using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 boolean equals(java.lang.Object o)
          Compare this object with another
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 int hashCode()
          the hashcode for this object
 IRasterBand IEnumRasterBand_next()
          Retrieves the next raster band in the enumeration sequence.
 IDataset next()
          Retrieves the next dataset in the enumeration sequence.
 void release()
          Release a RasterBands.
 void reset()
          Resets the enumeration sequence to the beginning.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterBands

public RasterBands(java.lang.Object obj)
            throws java.io.IOException
Construct a RasterBands using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to RasterBands.
Casting to this class from the return value of a method will not work, as this class represents an abstract class in ArcObjects.
*
RasterBands o = (RasterBands)obj; // will not work

RasterBands o = new RasterBands(obj); // Use this constructor instead
* @param obj an object returned from ArcGIS Engine or Server

Throws:
java.io.IOException - if there are interop problems RasterBands theRasterBands = (RasterBands) obj;
Method Detail

equals

public boolean equals(java.lang.Object o)
Compare this object with another

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class java.lang.Object

getJintegraDispatch

public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
Deprecated. Internal use only.

Specified by:
getJintegraDispatch in interface com.esri.arcgis.interop.RemoteObjRef

release

public void release()
Release a RasterBands.

Specified by:
release in interface com.esri.arcgis.interop.RemoteObjRef

next

public IDataset next()
              throws java.io.IOException,
                     AutomationException
Retrieves the next dataset in the enumeration sequence.

Specified by:
next in interface IEnumDataset
Returns:
A reference to a com.esri.arcgis.geodatabase.IDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

public void reset()
           throws java.io.IOException,
                  AutomationException
Resets the enumeration sequence to the beginning.

Specified by:
reset in interface IEnumRasterBand
Specified by:
reset in interface IEnumDataset
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

IEnumRasterBand_next

public IRasterBand IEnumRasterBand_next()
                                 throws java.io.IOException,
                                        AutomationException
Retrieves the next raster band in the enumeration sequence.

Specified by:
IEnumRasterBand_next in interface IEnumRasterBand
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IRasterBand
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.