public class RasterCursor extends java.lang.Object implements com.esri.arcgis.interop.RemoteObjRef, IRasterCursor
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 =
IID, IID3a625c22_a707_11d2_8e30_00a0249480f0, xxDummy
Constructor and Description |
---|
RasterCursor(java.lang.Object obj)
Construct a RasterCursor using a reference to such an object returned from ArcGIS Engine or Server.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Compare this object with another
|
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Gets a reference to a com.esri.arcgis.interop.Dispatch which can be used to access the COM object that support for this
interface indicates the implementing class references.
|
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 this COM object reference
|
void |
reset()
Return to state when first created.
|
public RasterCursor(java.lang.Object obj) throws java.io.IOException
obj
to RasterCursor
. *
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 Serverjava.io.IOException
- if there are interop problems
RasterCursor theRasterCursor = (RasterCursor) obj;
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public IPnt getTopLeft() throws java.io.IOException, AutomationException
getTopLeft
in interface IRasterCursor
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public IPixelBlock getPixelBlock() throws java.io.IOException, AutomationException
getPixelBlock
in interface IRasterCursor
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public boolean next() throws java.io.IOException, AutomationException
next
in interface IRasterCursor
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.public void reset() throws java.io.IOException, AutomationException
reset
in interface IRasterCursor
java.io.IOException
- If there are interop problems.AutomationException
- If the ArcObject component throws an exception.