com.esri.arcgis.datasourcesraster
Class RasterCursor

java.lang.Object
  extended by com.esri.arcgis.datasourcesraster.RasterCursor
All Implemented Interfaces:
IRasterCursor, com.esri.arcgis.interop.RemoteObjRef, java.io.Serializable

public class RasterCursor
extends java.lang.Object
implements com.esri.arcgis.interop.RemoteObjRef, IRasterCursor

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

Description 'A raster cursor class.' 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.IRasterCursor
IID, IID3a625c22_a707_11d2_8e30_00a0249480f0, xxDummy
 
Constructor Summary
RasterCursor(java.lang.Object obj)
          Construct a RasterCursor 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.
 IPixelBlock getPixelBlock()
          The current PixelBlock.
 IPnt getTopLeft()
          The offset of the current PixelBlock.
 int hashCode()
          the hashcode for this object
 boolean next()
          Iterates to the next PixelBlock.
 void release()
          Release a RasterCursor.
 void reset()
          Return to state when first created.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RasterCursor

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

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

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

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

getTopLeft

public IPnt getTopLeft()
                throws java.io.IOException,
                       AutomationException
The offset of the current PixelBlock.

Specified by:
getTopLeft in interface IRasterCursor
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.

getPixelBlock

public IPixelBlock getPixelBlock()
                          throws java.io.IOException,
                                 AutomationException
The current PixelBlock.

Specified by:
getPixelBlock in interface IRasterCursor
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.

next

public boolean next()
             throws java.io.IOException,
                    AutomationException
Iterates to the next PixelBlock.

Specified by:
next in interface IRasterCursor
Returns:
The not_finished
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
Return to state when first created.

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