com.esri.arcgis.datasourcesraster
Interface IRasterBandCollection

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
FunctionRasterDataset, IRasterBandCollectionProxy, Raster, RasterDataset, RenderedRaster

public interface IRasterBandCollection
extends java.io.Serializable

COM Interface 'IRasterBandCollection'. Generated 3/19/2015 1:20:52 PM from 'C:\ArcGIS\COM\esriDataSourcesRaster.olb'

Description: 'Provides access to members that control a collection of RasterBands.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID7aca3d10_0629_11d2_8d24_0000f8780535
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void add(IRasterBand element, int index)
          Adds a RasterBand to the band collection.
 void appendBand(IRasterBand element)
          Appends a RasterBand to the band collection.
 void appendBands(IRasterBandCollection bands)
          Appends a collection of RasterBands to the band collection.
 void clear()
          Removes all the elements in the collection.
 IRasterBand getBandByName(java.lang.String name)
          A RasterBand given its name.
 int getBandIndex(java.lang.String name)
          The index of a RasterBand given its name.
 IEnumRasterBand getBands()
          All the bands in the collection as an interface to the RasterBands enumerator object.
 int getCount()
          The number of bands in the collection.
 IRasterBand item(int bandIndex)
          Returns a RasterBand given its index.
 void remove(int index)
          Removes an element from the collection.
 IDataset saveAs(java.lang.String new_name, IWorkspace worksp, java.lang.String format)
          Creates a new persistent RasterDataset with the bands in the collection.
 

Field Detail

IID7aca3d10_0629_11d2_8d24_0000f8780535

static final int IID7aca3d10_0629_11d2_8d24_0000f8780535
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

add

void add(IRasterBand element,
         int index)
         throws java.io.IOException,
                AutomationException
Adds a RasterBand to the band collection.

Parameters:
element - A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCount

int getCount()
             throws java.io.IOException,
                    AutomationException
The number of bands in the collection.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

clear

void clear()
           throws java.io.IOException,
                  AutomationException
Removes all the elements in the collection.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws java.io.IOException,
                   AutomationException
Removes an element from the collection.

Parameters:
index - The index (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBandIndex

int getBandIndex(java.lang.String name)
                 throws java.io.IOException,
                        AutomationException
The index of a RasterBand given its name.

Parameters:
name - The name (in)
Returns:
The bandIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getBandByName

IRasterBand getBandByName(java.lang.String name)
                          throws java.io.IOException,
                                 AutomationException
A RasterBand given its name.

Parameters:
name - The name (in)
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.

getBands

IEnumRasterBand getBands()
                         throws java.io.IOException,
                                AutomationException
All the bands in the collection as an interface to the RasterBands enumerator object.

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

item

IRasterBand item(int bandIndex)
                 throws java.io.IOException,
                        AutomationException
Returns a RasterBand given its index.

Parameters:
bandIndex - The bandIndex (in)
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.

saveAs

IDataset saveAs(java.lang.String new_name,
                IWorkspace worksp,
                java.lang.String format)
                throws java.io.IOException,
                       AutomationException
Creates a new persistent RasterDataset with the bands in the collection.

Parameters:
new_name - The new_name (in)
worksp - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
format - The format (in)
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.

appendBand

void appendBand(IRasterBand element)
                throws java.io.IOException,
                       AutomationException
Appends a RasterBand to the band collection.

Parameters:
element - A reference to a com.esri.arcgis.datasourcesraster.IRasterBand (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

appendBands

void appendBands(IRasterBandCollection bands)
                 throws java.io.IOException,
                        AutomationException
Appends a collection of RasterBands to the band collection.

Parameters:
bands - A reference to a com.esri.arcgis.datasourcesraster.IRasterBandCollection (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.