com.esri.arcgis.datasourcesraster
Class RasterBand

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterBand
All Implemented Interfaces:
IRasterBand, IRasterBandColormap, IRasterBandEdit, IRasterBandEdit2, IRasterProps, IRasterPyramid, IRasterTable, IRasterTransaction, IRawBlocks, IRawPixels, IClass, IDataset, IGeoDataset, IMetadata, IMetadataEdit, INativeTypeInfo, IObjectClass, IRasterDataset, ITable, com.esri.arcgis.interop.RemoteObjRef, ISupportErrorInfo, java.io.Serializable

public class RasterBand
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterBand, IRasterBandEdit, IRasterBandEdit2, INativeTypeInfo, IRasterProps, IDataset, ITable, IObjectClass, IGeoDataset, IRasterDataset, IRasterTable, IRasterPyramid, IRawPixels, IMetadata, IMetadataEdit, IRasterTransaction, ISupportErrorInfo, IRawBlocks, IRasterBandColormap

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

Description 'A representation of a single band of a raster dataset on disk.' 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.datasourcesraster.IRasterBand
IID, IID31e6c041_ec46_11d1_8d21_0000f8780535, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterBandEdit2
IID, IID400f6ddf_d613_4dd0_a803_e7504dcbacaf, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterBandEdit
IID0ab74c4d_7574_440e_b45a_2a36f22c57c8
 
Fields inherited from interface com.esri.arcgis.geodatabase.INativeTypeInfo
IID, IID906db24a_f0ad_4ca5_871b_5466e54fab80, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterProps
IID, IID4b7b1bd0_a705_11d2_8e30_00a0249480f0, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IDataset
IID, IID2d04c042_7766_11d0_b77d_00805f7ced21, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.ITable
IID, IIDfcb01cb5_9f0b_11d0_bec7_00805f7c4268, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IObjectClass
IID, IID1afcdb31_ac09_11d2_8a1e_006097aff44e, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IClass
IID1afcdb32_ac09_11d2_8a1e_006097aff44e
 
Fields inherited from interface com.esri.arcgis.geodatabase.IRasterDataset
IID, IID7aca3d01_0629_11d2_8d24_0000f8780535, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterTable
IID, IID7aca3d04_0629_11d2_8d24_0000f8780535, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterPyramid
IID, IID81bd0a10_6fb6_11d3_a407_0004ac1b1d86, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRawPixels
IID, IID5a2d94ae_190a_479c_93b9_d6645bb121e6, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMetadata
IID, IID5de04a82_24e4_11d3_a641_0008c7d3ae50, xxDummy
 
Fields inherited from interface com.esri.arcgis.geodatabase.IMetadataEdit
IID, IID97fdb978_62a4_49c5_8252_b07837b33ee9, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterTransaction
IID, IID3be922f3_6934_40a5_a82e_c368cb13995b, xxDummy
 
Fields inherited from interface com.esri.arcgis.system.ISupportErrorInfo
IID, IIDdf0b3d60_548f_101b_8e65_08002b2bd119, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRawBlocks
IID, IIDf20ff8ff_643a_4669_a465_e14a5095e7dd, xxDummy
 
Fields inherited from interface com.esri.arcgis.datasourcesraster.IRasterBandColormap
IID, IID9d6c37ee_982a_4d99_8ba1_4ebdd6d772f8, xxDummy
 
Constructor Summary
RasterBand(java.lang.Object obj)
          Construct a RasterBand using a reference to such an object returned from ArcGIS Engine or Server.
 
Method Summary
 java.lang.Object acquireCache()
          Gets reference to edit cache.
 void addField(IField field)
          Adds a field to this object class.
 void addIndex(IIndex index)
          Adds an index to this object class.
 void alterHistogram(IRasterHistogram pHistogram)
          Alters histogram.
 void alterStatistics(IRasterStatistics pStats)
          Alters statistics.
 void basicOpenFromFile(java.lang.String path)
          Opens the dataset from file.
 boolean canCopy()
          Returns true if this dataset can be copied.
 boolean canDelete()
          True if this dataset can be deleted.
 boolean canRename()
          True if this dataset can be renamed.
 void commit()
          Sends all pending changes to persistent storage.
 void computeStatisticsHistogram(int skipx, int skipy, java.lang.Object ignoreValues, boolean requireHistogram)
          Calculates statistics and histogram for a given skip factor.
 void computeStatsAndHist()
          Calculates statistics and histogram if not previously stored.
 void computeStatsHistogram(int pyramidLevel)
          Calculates statistics and histogram from a given pyramid level.
 IDataset copy(java.lang.String copyName, IWorkspace copyWorkspace)
          Copies this raster band to a new dataset with the specified name.
 void create()
          Build raster pyramids for this raster.
 IRaster createDefaultRaster()
          Creates a raster object with the default properties for this dataset.
 IPixelBlock createPixelBlock()
          Create a compatible pixel block.
 IPixelBlock createPixelBlock(IPnt size)
          Allocates a PixelBlock of size requested and type of this band.
 IRow createRow()
          Creates a row in the database with a system assigned object ID and null property values.
 IRowBuffer createRowBuffer()
          Creates a row buffer that can be used with an insert cursor.
 void delete()
          Deletes this dataset.
 void deleteField(IField field)
          Deletes a field from this object class.
 void deleteIndex(IIndex index)
          Deletes an index from this object class.
 void deleteSearchedRows(IQueryFilter queryFilter)
          Delete the Rows in the database selected by the specified query.
 void end()
          Commits changes and stops double buffering.
 boolean equals(java.lang.Object o)
          Compare this object with another
 int findField(java.lang.String name)
          The index of the field with the specified name.
 void flush()
          Flushes buffered data.
 java.lang.String getAliasName()
          The alias name of the object class.
 ITable getAttributeTable()
          The attribute table of this raster band.
 java.lang.String getBandname()
          The name of this raster band.
 java.lang.String getBrowseName()
          The browse name of the dataset.
 java.lang.String getCategory()
          The category of the dataset.
 IRasterClassNames getClassNames()
          The class names (titles).
 IUID getCLSID()
          The GUID for the COM Class (CoClass) corresponding to instances of this object class.
 IRasterColormap getColormap()
          The colormap of this raster band.
 java.lang.String getCompleteName()
          The full path of the RasterDataset.
 java.lang.String getCompressionType()
          The compression technique applied to this RasterDataset.
 IContrastTable getContrastTable()
          The contrast look-up table of this band.
 IUID getEXTCLSID()
          The GUID for the COM Class (CoClass) corresponding to the class extension for this object class.
 java.lang.Object getExtension()
          The extension for this object class.
 IPropertySet getExtensionProperties()
          The extension properties for this object class.
 IEnvelope getExtent()
          The extent of the Raster.
 IFields getFields()
          The fields collection for this object class.
 java.lang.String getFormat()
          The format of this RasterRataset.
 IName getFullName()
          The associated name object.
 int getHeight()
          Height in pixels.
 IRasterHistogram getHistogram()
          The histogram of this raster band.
 IIndexes getIndexes()
          The indexes collection for this object class.
 com.esri.arcgis.interop.Dispatch getJintegraDispatch()
          Deprecated. Internal use only.
 IPropertySet getMetadata()
          The PropertySet containing metadata.
 IPnt getMinimumSize()
          The minimum raster pyramid size.
 java.lang.String getName()
          The name of the Dataset.
 INativeType getNativeType()
          The native type.
 java.lang.Object getNoDataValue()
          Data value used to indicate invalid or excluded data.
 int getNumCacheRefs()
          Number of outstanding cache references
 int getObjectClassID()
          The unique ID for the object class.
 java.lang.String getOIDFieldName()
          The name of the field corresponding to the OID.
 int getPixelType()
          Data type of the pixels.
 int getPrimaryField()
          The primary field of the table.
 IPropertySet getPropertySet()
          The set of properties for the dataset.
 IRasterDataset getRasterDataset()
          The RasterDataset associated with this raster band.
 IRasterInfo getRasterInfo()
          The raster information.
 IEnumRelationshipClass getRelationshipClasses(int role)
          The relationship classes in which this object class participates in for the specified role.
 int getRepresentationType()
          The suggested representation type.
 IRow getRow(int oID)
          The row from the database with the specified object ID.
 ICursor getRows(java.lang.Object oids, boolean recycling)
          The cursor of rows based on a set of object ids.
 java.lang.String getSensorType()
          The sensor type used for this RasterDataset.
 ISpatialReference getSpatialReference()
          SpatialReference of the Raster.
 IRasterStatistics getStatistics()
          The statistics of this raster band.
 IEnumDataset getSubsets()
          Datasets contained within this dataset.
 int getTableType()
          The class names of the table.
 int getType()
          The type of the Dataset.
 int getUndoLevels()
          Maximum number of reversible operations.
 int getWidth()
          Width in pixels.
 IWorkspace getWorkspace()
          The workspace containing this dataset.
 boolean hasColormap()
          Indicates if this band has a colormap.
 void hasColormap(boolean[] b)
          Indicates if this band has a colormap.
 int hashCode()
          the hashcode for this object
 void hasStatistics(boolean[] b)
          Indicates if this band has statistics.
 void hasTable(boolean[] b)
          Indicates if this band has an attribute table.
 ICursor insert(boolean useBuffering)
          Returns a cursor that can be used to insert new Rows.
 void interfaceSupportsErrorInfo(GUID riid)
          interfaceSupportsErrorInfo
 boolean isCanEditMetadata()
          Indicates if metadata can be edited.
 boolean isDirectlyOpened()
          Indicates if the band was opened directly.
 boolean isHasOID()
          Indicates if the class has an object identity (OID) field.
 boolean isInteger()
          Indicates if the data is integer.
 boolean isPresent()
          Indicates whether pyramid layers exist.
 ICursor ITable_search(IQueryFilter queryFilter, boolean recycling)
          An object cursor that can be used to fetch row objects selected by the specified query.
 IPnt meanCellSize()
          Returns the approximate cell size of the raster.
 void openFromFile(java.lang.String path)
          Attaches dataset to a particular file.
 void precalculateStats(java.lang.Object index_list)
          Calculates statistics and histograms for specified bands.
 void read(IPnt tlc, IPixelBlock pxls)
          Read a block of pixels starting from tlc (top left corner).
 void readBlock(int tx, int ty, int level, IPixelBlock pPixelBlock)
          Reads a raw pixel block.
 void release()
          Release a RasterBand.
 void rename(java.lang.String name)
          Renames this Dataset.
 int returnCache(java.lang.Object cache)
          Restores edit cache to previous state.
 int rowCount(IQueryFilter queryFilter)
          The number of Rows selected by the specified query.
 ISelectionSet select(IQueryFilter queryFilter, int selType, int selOption, IWorkspace selectionContainer)
          A selection that contains the object ids selected by the specified query.
 void setBrowseName(java.lang.String name)
          The browse name of the dataset.
 void setColormap(IRasterColormap colormap)
          The colormap of this raster band.
 void setContrastTable(IContrastTable cont)
          The contrast look-up table of this band.
 void setExtent(IEnvelope ppExtent)
          The extent of the Raster.
 void setHeight(int pVal)
          Height in pixels.
 void setMetadata(IPropertySet propertySet)
          The PropertySet containing metadata.
 void setMinimumSize(IPnt ppVal)
          The minimum raster pyramid size.
 void setNoDataValue(java.lang.Object pVal)
          Data value used to indicate invalid or excluded data.
 void setPixelType(int pVal)
          Data type of the pixels.
 void setPrimaryField(int fieldIndex)
          The primary field of the table.
 void setRepresentationType(int pVal)
          The suggested representation type.
 void setSpatialReference(ISpatialReference ppSpref)
          SpatialReference of the Raster.
 void setUndoLevels(int num_undo)
          Maximum number of reversible operations.
 void setWidth(int pVal)
          Width in pixels.
 void start()
          Starts double buffering edits for undo support.
 void synchronize(int action, int interval)
          Updates metadata with the current properties; may create metadata if it doesn't already exist.
 int undo(int n)
          Reverses last N changes.
 ICursor update(IQueryFilter queryFilter, boolean recycling)
          Returns a cursor that can be used to update Rows selected by the specified query.
 void updateSearchedRows(IQueryFilter queryFilter, IRowBuffer buffer)
          Update the Rows in the database selected by the specified query.
 void write(IPnt tlc, IPixelBlock pxls)
          Write a block of pixels starting from tlc (top left corner).
 void writeBlock(int tx, int ty, int level, IPixelBlock pPixelBlock)
          Writes a raw pixel block.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterBand

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

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

Throws:
java.io.IOException - if there are interop problems RasterBand theRasterBand = (RasterBand) 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 RasterBand.

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

hasTable

public void hasTable(boolean[] b)
              throws java.io.IOException,
                     AutomationException
Indicates if this band has an attribute table.

Specified by:
hasTable in interface IRasterBand
Parameters:
b - The b (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasStatistics

public void hasStatistics(boolean[] b)
                   throws java.io.IOException,
                          AutomationException
Indicates if this band has statistics.

Specified by:
hasStatistics in interface IRasterBand
Parameters:
b - The b (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

hasColormap

public void hasColormap(boolean[] b)
                 throws java.io.IOException,
                        AutomationException
Indicates if this band has a colormap.

Specified by:
hasColormap in interface IRasterBand
Parameters:
b - The b (out: use single element array)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getStatistics

public IRasterStatistics getStatistics()
                                throws java.io.IOException,
                                       AutomationException
The statistics of this raster band.

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

computeStatsAndHist

public void computeStatsAndHist()
                         throws java.io.IOException,
                                AutomationException
Calculates statistics and histogram if not previously stored.

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

getHistogram

public IRasterHistogram getHistogram()
                              throws java.io.IOException,
                                     AutomationException
The histogram of this raster band.

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

getColormap

public IRasterColormap getColormap()
                            throws java.io.IOException,
                                   AutomationException
The colormap of this raster band.

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

getAttributeTable

public ITable getAttributeTable()
                         throws java.io.IOException,
                                AutomationException
The attribute table of this raster band.

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

getClassNames

public IRasterClassNames getClassNames()
                                throws java.io.IOException,
                                       AutomationException
The class names (titles).

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

getRasterDataset

public IRasterDataset getRasterDataset()
                                throws java.io.IOException,
                                       AutomationException
The RasterDataset associated with this raster band.

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

getRepresentationType

public int getRepresentationType()
                          throws java.io.IOException,
                                 AutomationException
The suggested representation type.

Specified by:
getRepresentationType in interface IRasterBand
Returns:
A com.esri.arcgis.datasourcesraster.rstRepresentationType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setRepresentationType

public void setRepresentationType(int pVal)
                           throws java.io.IOException,
                                  AutomationException
The suggested representation type.

Specified by:
setRepresentationType in interface IRasterBand
Parameters:
pVal - A com.esri.arcgis.datasourcesraster.rstRepresentationType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getContrastTable

public IContrastTable getContrastTable()
                                throws java.io.IOException,
                                       AutomationException
The contrast look-up table of this band.

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

setContrastTable

public void setContrastTable(IContrastTable cont)
                      throws java.io.IOException,
                             AutomationException
The contrast look-up table of this band.

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

canCopy

public boolean canCopy()
                throws java.io.IOException,
                       AutomationException
Returns true if this dataset can be copied.

Specified by:
canCopy in interface IRasterBand
Specified by:
canCopy in interface IDataset
Specified by:
canCopy in interface IRasterDataset
Returns:
The canCopy
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copy

public IDataset copy(java.lang.String copyName,
                     IWorkspace copyWorkspace)
              throws java.io.IOException,
                     AutomationException
Copies this raster band to a new dataset with the specified name.

Specified by:
copy in interface IRasterBand
Specified by:
copy in interface IDataset
Specified by:
copy in interface IRasterDataset
Parameters:
copyName - The copyName (in)
copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (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.

getBandname

public java.lang.String getBandname()
                             throws java.io.IOException,
                                    AutomationException
The name of this raster band.

Specified by:
getBandname in interface IRasterBand
Returns:
The bandname
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isDirectlyOpened

public boolean isDirectlyOpened()
                         throws java.io.IOException,
                                AutomationException
Indicates if the band was opened directly.

Specified by:
isDirectlyOpened in interface IRasterBand
Returns:
The bDirectlyOpened
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterStatistics

public void alterStatistics(IRasterStatistics pStats)
                     throws java.io.IOException,
                            AutomationException
Alters statistics.

Specified by:
alterStatistics in interface IRasterBandEdit
Parameters:
pStats - A reference to a com.esri.arcgis.datasourcesraster.IRasterStatistics (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

alterHistogram

public void alterHistogram(IRasterHistogram pHistogram)
                    throws java.io.IOException,
                           AutomationException
Alters histogram.

Specified by:
alterHistogram in interface IRasterBandEdit
Parameters:
pHistogram - A reference to a com.esri.arcgis.datasourcesraster.IRasterHistogram (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeStatsHistogram

public void computeStatsHistogram(int pyramidLevel)
                           throws java.io.IOException,
                                  AutomationException
Calculates statistics and histogram from a given pyramid level.

Specified by:
computeStatsHistogram in interface IRasterBandEdit
Parameters:
pyramidLevel - The pyramidLevel (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

computeStatisticsHistogram

public void computeStatisticsHistogram(int skipx,
                                       int skipy,
                                       java.lang.Object ignoreValues,
                                       boolean requireHistogram)
                                throws java.io.IOException,
                                       AutomationException
Calculates statistics and histogram for a given skip factor.

Specified by:
computeStatisticsHistogram in interface IRasterBandEdit2
Parameters:
skipx - The skipx (in)
skipy - The skipy (in)
ignoreValues - A Variant (in)
requireHistogram - The requireHistogram (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNativeType

public INativeType getNativeType()
                          throws java.io.IOException,
                                 AutomationException
The native type.

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

getWidth

public int getWidth()
             throws java.io.IOException,
                    AutomationException
Width in pixels.

Specified by:
getWidth in interface IRasterProps
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setWidth

public void setWidth(int pVal)
              throws java.io.IOException,
                     AutomationException
Width in pixels.

Specified by:
setWidth in interface IRasterProps
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getHeight

public int getHeight()
              throws java.io.IOException,
                     AutomationException
Height in pixels.

Specified by:
getHeight in interface IRasterProps
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setHeight

public void setHeight(int pVal)
               throws java.io.IOException,
                      AutomationException
Height in pixels.

Specified by:
setHeight in interface IRasterProps
Parameters:
pVal - The pVal (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPixelType

public int getPixelType()
                 throws java.io.IOException,
                        AutomationException
Data type of the pixels.

Specified by:
getPixelType in interface IRasterProps
Returns:
A com.esri.arcgis.geodatabase.rstPixelType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPixelType

public void setPixelType(int pVal)
                  throws java.io.IOException,
                         AutomationException
Data type of the pixels.

Specified by:
setPixelType in interface IRasterProps
Parameters:
pVal - A com.esri.arcgis.geodatabase.rstPixelType constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNoDataValue

public java.lang.Object getNoDataValue()
                                throws java.io.IOException,
                                       AutomationException
Data value used to indicate invalid or excluded data.

Specified by:
getNoDataValue in interface IRasterProps
Returns:
A Variant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setNoDataValue

public void setNoDataValue(java.lang.Object pVal)
                    throws java.io.IOException,
                           AutomationException
Data value used to indicate invalid or excluded data.

Specified by:
setNoDataValue in interface IRasterProps
Parameters:
pVal - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

meanCellSize

public IPnt meanCellSize()
                  throws java.io.IOException,
                         AutomationException
Returns the approximate cell size of the raster.

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

isInteger

public boolean isInteger()
                  throws java.io.IOException,
                         AutomationException
Indicates if the data is integer.

Specified by:
isInteger in interface IRasterProps
Returns:
The pVal
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSpatialReference

public ISpatialReference getSpatialReference()
                                      throws java.io.IOException,
                                             AutomationException
SpatialReference of the Raster.

Specified by:
getSpatialReference in interface IRasterProps
Specified by:
getSpatialReference in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSpatialReference

public void setSpatialReference(ISpatialReference ppSpref)
                         throws java.io.IOException,
                                AutomationException
SpatialReference of the Raster.

Specified by:
setSpatialReference in interface IRasterProps
Parameters:
ppSpref - A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtent

public IEnvelope getExtent()
                    throws java.io.IOException,
                           AutomationException
The extent of the Raster.

Specified by:
getExtent in interface IRasterProps
Specified by:
getExtent in interface IGeoDataset
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setExtent

public void setExtent(IEnvelope ppExtent)
               throws java.io.IOException,
                      AutomationException
The extent of the Raster.

Specified by:
setExtent in interface IRasterProps
Parameters:
ppExtent - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getName

public java.lang.String getName()
                         throws java.io.IOException,
                                AutomationException
The name of the Dataset.

Specified by:
getName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFullName

public IName getFullName()
                  throws java.io.IOException,
                         AutomationException
The associated name object.

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

getBrowseName

public java.lang.String getBrowseName()
                               throws java.io.IOException,
                                      AutomationException
The browse name of the dataset.

Specified by:
getBrowseName in interface IDataset
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setBrowseName

public void setBrowseName(java.lang.String name)
                   throws java.io.IOException,
                          AutomationException
The browse name of the dataset.

Specified by:
setBrowseName in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getType

public int getType()
            throws java.io.IOException,
                   AutomationException
The type of the Dataset.

Specified by:
getType in interface IDataset
Returns:
A com.esri.arcgis.geodatabase.esriDatasetType constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCategory

public java.lang.String getCategory()
                             throws java.io.IOException,
                                    AutomationException
The category of the dataset.

Specified by:
getCategory in interface IDataset
Returns:
The category
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSubsets

public IEnumDataset getSubsets()
                        throws java.io.IOException,
                               AutomationException
Datasets contained within this dataset.

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

getWorkspace

public IWorkspace getWorkspace()
                        throws java.io.IOException,
                               AutomationException
The workspace containing this dataset.

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

getPropertySet

public IPropertySet getPropertySet()
                            throws java.io.IOException,
                                   AutomationException
The set of properties for the dataset.

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

canDelete

public boolean canDelete()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be deleted.

Specified by:
canDelete in interface IDataset
Returns:
The canDelete
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete()
            throws java.io.IOException,
                   AutomationException
Deletes this dataset.

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

canRename

public boolean canRename()
                  throws java.io.IOException,
                         AutomationException
True if this dataset can be renamed.

Specified by:
canRename in interface IDataset
Returns:
The canRename
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rename

public void rename(java.lang.String name)
            throws java.io.IOException,
                   AutomationException
Renames this Dataset.

Specified by:
rename in interface IDataset
Parameters:
name - The name (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createRow

public IRow createRow()
               throws java.io.IOException,
                      AutomationException
Creates a row in the database with a system assigned object ID and null property values.

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

getRow

public IRow getRow(int oID)
            throws java.io.IOException,
                   AutomationException
The row from the database with the specified object ID.

Specified by:
getRow in interface ITable
Parameters:
oID - The oID (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IRow
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRows

public ICursor getRows(java.lang.Object oids,
                       boolean recycling)
                throws java.io.IOException,
                       AutomationException
The cursor of rows based on a set of object ids.

Specified by:
getRows in interface ITable
Parameters:
oids - A Variant (in)
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createRowBuffer

public IRowBuffer createRowBuffer()
                           throws java.io.IOException,
                                  AutomationException
Creates a row buffer that can be used with an insert cursor.

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

updateSearchedRows

public void updateSearchedRows(IQueryFilter queryFilter,
                               IRowBuffer buffer)
                        throws java.io.IOException,
                               AutomationException
Update the Rows in the database selected by the specified query.

Specified by:
updateSearchedRows in interface ITable
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
buffer - A reference to a com.esri.arcgis.geodatabase.IRowBuffer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteSearchedRows

public void deleteSearchedRows(IQueryFilter queryFilter)
                        throws java.io.IOException,
                               AutomationException
Delete the Rows in the database selected by the specified query.

Specified by:
deleteSearchedRows in interface ITable
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rowCount

public int rowCount(IQueryFilter queryFilter)
             throws java.io.IOException,
                    AutomationException
The number of Rows selected by the specified query.

Specified by:
rowCount in interface ITable
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
Returns:
The numRows
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

ITable_search

public ICursor ITable_search(IQueryFilter queryFilter,
                             boolean recycling)
                      throws java.io.IOException,
                             AutomationException
An object cursor that can be used to fetch row objects selected by the specified query.

Specified by:
ITable_search in interface ITable
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

update

public ICursor update(IQueryFilter queryFilter,
                      boolean recycling)
               throws java.io.IOException,
                      AutomationException
Returns a cursor that can be used to update Rows selected by the specified query.

Specified by:
update in interface ITable
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
recycling - The recycling (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

public ICursor insert(boolean useBuffering)
               throws java.io.IOException,
                      AutomationException
Returns a cursor that can be used to insert new Rows.

Specified by:
insert in interface ITable
Parameters:
useBuffering - The useBuffering (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ICursor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

select

public ISelectionSet select(IQueryFilter queryFilter,
                            int selType,
                            int selOption,
                            IWorkspace selectionContainer)
                     throws java.io.IOException,
                            AutomationException
A selection that contains the object ids selected by the specified query.

Specified by:
select in interface ITable
Parameters:
queryFilter - A reference to a com.esri.arcgis.geodatabase.IQueryFilter (in)
selType - A com.esri.arcgis.geodatabase.esriSelectionType constant (in)
selOption - A com.esri.arcgis.geodatabase.esriSelectionOption constant (in)
selectionContainer - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.ISelectionSet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

findField

public int findField(java.lang.String name)
              throws java.io.IOException,
                     AutomationException
The index of the field with the specified name.

Specified by:
findField in interface IClass
Parameters:
name - The name (in)
Returns:
The fieldIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFields

public IFields getFields()
                  throws java.io.IOException,
                         AutomationException
The fields collection for this object class.

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

getIndexes

public IIndexes getIndexes()
                    throws java.io.IOException,
                           AutomationException
The indexes collection for this object class.

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

addField

public void addField(IField field)
              throws java.io.IOException,
                     AutomationException
Adds a field to this object class.

Specified by:
addField in interface IClass
Parameters:
field - A reference to a com.esri.arcgis.geodatabase.IField (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteField

public void deleteField(IField field)
                 throws java.io.IOException,
                        AutomationException
Deletes a field from this object class.

Specified by:
deleteField in interface IClass
Parameters:
field - A reference to a com.esri.arcgis.geodatabase.IField (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

addIndex

public void addIndex(IIndex index)
              throws java.io.IOException,
                     AutomationException
Adds an index to this object class.

Specified by:
addIndex in interface IClass
Parameters:
index - A reference to a com.esri.arcgis.geodatabase.IIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

deleteIndex

public void deleteIndex(IIndex index)
                 throws java.io.IOException,
                        AutomationException
Deletes an index from this object class.

Specified by:
deleteIndex in interface IClass
Parameters:
index - A reference to a com.esri.arcgis.geodatabase.IIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isHasOID

public boolean isHasOID()
                 throws java.io.IOException,
                        AutomationException
Indicates if the class has an object identity (OID) field.

Specified by:
isHasOID in interface IClass
Returns:
The hasOID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getOIDFieldName

public java.lang.String getOIDFieldName()
                                 throws java.io.IOException,
                                        AutomationException
The name of the field corresponding to the OID.

Specified by:
getOIDFieldName in interface IClass
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCLSID

public IUID getCLSID()
              throws java.io.IOException,
                     AutomationException
The GUID for the COM Class (CoClass) corresponding to instances of this object class.

Specified by:
getCLSID in interface IClass
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getEXTCLSID

public IUID getEXTCLSID()
                 throws java.io.IOException,
                        AutomationException
The GUID for the COM Class (CoClass) corresponding to the class extension for this object class.

Specified by:
getEXTCLSID in interface IClass
Returns:
A reference to a com.esri.arcgis.system.IUID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtension

public java.lang.Object getExtension()
                              throws java.io.IOException,
                                     AutomationException
The extension for this object class.

Specified by:
getExtension in interface IClass
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getExtensionProperties

public IPropertySet getExtensionProperties()
                                    throws java.io.IOException,
                                           AutomationException
The extension properties for this object class.

Specified by:
getExtensionProperties in interface IClass
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getObjectClassID

public int getObjectClassID()
                     throws java.io.IOException,
                            AutomationException
The unique ID for the object class.

Specified by:
getObjectClassID in interface IObjectClass
Returns:
The objectClassID
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRelationshipClasses

public IEnumRelationshipClass getRelationshipClasses(int role)
                                              throws java.io.IOException,
                                                     AutomationException
The relationship classes in which this object class participates in for the specified role.

Specified by:
getRelationshipClasses in interface IObjectClass
Parameters:
role - A com.esri.arcgis.geodatabase.esriRelRole constant (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IEnumRelationshipClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAliasName

public java.lang.String getAliasName()
                              throws java.io.IOException,
                                     AutomationException
The alias name of the object class.

Specified by:
getAliasName in interface IObjectClass
Returns:
The name
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getFormat

public java.lang.String getFormat()
                           throws java.io.IOException,
                                  AutomationException
The format of this RasterRataset.

Specified by:
getFormat in interface IRasterDataset
Returns:
The format
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getSensorType

public java.lang.String getSensorType()
                               throws java.io.IOException,
                                      AutomationException
The sensor type used for this RasterDataset.

Specified by:
getSensorType in interface IRasterDataset
Returns:
The sensorType
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCompressionType

public java.lang.String getCompressionType()
                                    throws java.io.IOException,
                                           AutomationException
The compression technique applied to this RasterDataset.

Specified by:
getCompressionType in interface IRasterDataset
Returns:
The comp
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

createDefaultRaster

public IRaster createDefaultRaster()
                            throws java.io.IOException,
                                   AutomationException
Creates a raster object with the default properties for this dataset.

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

openFromFile

public void openFromFile(java.lang.String path)
                  throws java.io.IOException,
                         AutomationException
Attaches dataset to a particular file.

Specified by:
openFromFile in interface IRasterDataset
Parameters:
path - The path (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

precalculateStats

public void precalculateStats(java.lang.Object index_list)
                       throws java.io.IOException,
                              AutomationException
Calculates statistics and histograms for specified bands.

Specified by:
precalculateStats in interface IRasterDataset
Parameters:
index_list - A Variant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getCompleteName

public java.lang.String getCompleteName()
                                 throws java.io.IOException,
                                        AutomationException
The full path of the RasterDataset.

Specified by:
getCompleteName in interface IRasterDataset
Returns:
The completeName
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

basicOpenFromFile

public void basicOpenFromFile(java.lang.String path)
                       throws java.io.IOException,
                              AutomationException
Opens the dataset from file.

Specified by:
basicOpenFromFile in interface IRasterDataset
Parameters:
path - The path (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getTableType

public int getTableType()
                 throws java.io.IOException,
                        AutomationException
The class names of the table.

Specified by:
getTableType in interface IRasterTable
Returns:
A com.esri.arcgis.geodatabase.esriRasterTableTypeEnum constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getPrimaryField

public int getPrimaryField()
                    throws java.io.IOException,
                           AutomationException
The primary field of the table.

Specified by:
getPrimaryField in interface IRasterTable
Returns:
The fieldIndex
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setPrimaryField

public void setPrimaryField(int fieldIndex)
                     throws java.io.IOException,
                            AutomationException
The primary field of the table.

Specified by:
setPrimaryField in interface IRasterTable
Parameters:
fieldIndex - The fieldIndex (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isPresent

public boolean isPresent()
                  throws java.io.IOException,
                         AutomationException
Indicates whether pyramid layers exist.

Specified by:
isPresent in interface IRasterPyramid
Returns:
The present
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMinimumSize

public void setMinimumSize(IPnt ppVal)
                    throws java.io.IOException,
                           AutomationException
The minimum raster pyramid size.

Specified by:
setMinimumSize in interface IRasterPyramid
Parameters:
ppVal - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMinimumSize

public IPnt getMinimumSize()
                    throws java.io.IOException,
                           AutomationException
The minimum raster pyramid size.

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

create

public void create()
            throws java.io.IOException,
                   AutomationException
Build raster pyramids for this raster.

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

createPixelBlock

public IPixelBlock createPixelBlock(IPnt size)
                             throws java.io.IOException,
                                    AutomationException
Allocates a PixelBlock of size requested and type of this band.

Specified by:
createPixelBlock in interface IRawPixels
Parameters:
size - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IPixelBlock
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

read

public void read(IPnt tlc,
                 IPixelBlock pxls)
          throws java.io.IOException,
                 AutomationException
Read a block of pixels starting from tlc (top left corner).

Specified by:
read in interface IRawPixels
Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
pxls - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

write

public void write(IPnt tlc,
                  IPixelBlock pxls)
           throws java.io.IOException,
                  AutomationException
Write a block of pixels starting from tlc (top left corner).

Specified by:
write in interface IRawPixels
Parameters:
tlc - A reference to a com.esri.arcgis.geodatabase.IPnt (in)
pxls - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

acquireCache

public java.lang.Object acquireCache()
                              throws java.io.IOException,
                                     AutomationException
Gets reference to edit cache.

Specified by:
acquireCache in interface IRawPixels
Returns:
A reference to another Object (IUnknown)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

returnCache

public int returnCache(java.lang.Object cache)
                throws java.io.IOException,
                       AutomationException
Restores edit cache to previous state.

Specified by:
returnCache in interface IRawPixels
Parameters:
cache - A reference to another Object (IUnknown) (in)
Returns:
The num_refs
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getNumCacheRefs

public int getNumCacheRefs()
                    throws java.io.IOException,
                           AutomationException
Number of outstanding cache references

Specified by:
getNumCacheRefs in interface IRawPixels
Returns:
The num_refs
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMetadata

public IPropertySet getMetadata()
                         throws java.io.IOException,
                                AutomationException
The PropertySet containing metadata.

Specified by:
getMetadata in interface IMetadata
Returns:
A reference to a com.esri.arcgis.system.IPropertySet
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setMetadata

public void setMetadata(IPropertySet propertySet)
                 throws java.io.IOException,
                        AutomationException
The PropertySet containing metadata.

Specified by:
setMetadata in interface IMetadata
Parameters:
propertySet - A reference to a com.esri.arcgis.system.IPropertySet (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

synchronize

public void synchronize(int action,
                        int interval)
                 throws java.io.IOException,
                        AutomationException
Updates metadata with the current properties; may create metadata if it doesn't already exist.

Specified by:
synchronize in interface IMetadata
Parameters:
action - A com.esri.arcgis.geodatabase.esriMetadataSyncAction constant (in)
interval - The interval (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

isCanEditMetadata

public boolean isCanEditMetadata()
                          throws java.io.IOException,
                                 AutomationException
Indicates if metadata can be edited.

Specified by:
isCanEditMetadata in interface IMetadataEdit
Returns:
The canEdit
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setUndoLevels

public void setUndoLevels(int num_undo)
                   throws java.io.IOException,
                          AutomationException
Maximum number of reversible operations.

Specified by:
setUndoLevels in interface IRasterTransaction
Parameters:
num_undo - The num_undo (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

commit

public void commit()
            throws java.io.IOException,
                   AutomationException
Sends all pending changes to persistent storage.

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

start

public void start()
           throws java.io.IOException,
                  AutomationException
Starts double buffering edits for undo support.

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

end

public void end()
         throws java.io.IOException,
                AutomationException
Commits changes and stops double buffering.

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

undo

public int undo(int n)
         throws java.io.IOException,
                AutomationException
Reverses last N changes.

Specified by:
undo in interface IRasterTransaction
Parameters:
n - The n (in)
Returns:
The pending
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getUndoLevels

public int getUndoLevels()
                  throws java.io.IOException,
                         AutomationException
Maximum number of reversible operations.

Specified by:
getUndoLevels in interface IRasterTransaction
Returns:
The num_undo
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

interfaceSupportsErrorInfo

public void interfaceSupportsErrorInfo(GUID riid)
                                throws java.io.IOException,
                                       AutomationException
interfaceSupportsErrorInfo

Specified by:
interfaceSupportsErrorInfo in interface ISupportErrorInfo
Parameters:
riid - A Structure: com.esri.arcgis.support.ms.stdole.GUID (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getRasterInfo

public IRasterInfo getRasterInfo()
                          throws java.io.IOException,
                                 AutomationException
The raster information.

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

createPixelBlock

public IPixelBlock createPixelBlock()
                             throws java.io.IOException,
                                    AutomationException
Create a compatible pixel block.

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

readBlock

public void readBlock(int tx,
                      int ty,
                      int level,
                      IPixelBlock pPixelBlock)
               throws java.io.IOException,
                      AutomationException
Reads a raw pixel block.

Specified by:
readBlock in interface IRawBlocks
Parameters:
tx - The tx (in)
ty - The ty (in)
level - The level (in)
pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

writeBlock

public void writeBlock(int tx,
                       int ty,
                       int level,
                       IPixelBlock pPixelBlock)
                throws java.io.IOException,
                       AutomationException
Writes a raw pixel block.

Specified by:
writeBlock in interface IRawBlocks
Parameters:
tx - The tx (in)
ty - The ty (in)
level - The level (in)
pPixelBlock - A reference to a com.esri.arcgis.geodatabase.IPixelBlock (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

flush

public void flush()
           throws java.io.IOException,
                  AutomationException
Flushes buffered data.

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

hasColormap

public boolean hasColormap()
                    throws java.io.IOException,
                           AutomationException
Indicates if this band has a colormap.

Specified by:
hasColormap in interface IRasterBandColormap
Returns:
The b
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setColormap

public void setColormap(IRasterColormap colormap)
                 throws java.io.IOException,
                        AutomationException
The colormap of this raster band.

Specified by:
setColormap in interface IRasterBandColormap
Parameters:
colormap - A reference to a com.esri.arcgis.geodatabase.IRasterColormap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.