com.esri.arcgis.geodatabase
Class IRasterLODInfosProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IRasterLODInfosProxy
All Implemented Interfaces:
IRasterLODInfos, Externalizable, Serializable
Direct Known Subclasses:
IRasterLODInfos2Proxy

public class IRasterLODInfosProxy
extends com.esri.arcgis.interop.Dispatch
implements IRasterLODInfos, Serializable

Provides access to members that control custom Level of Details.

Superseded By

IRasterLODInfos2

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IRasterLODInfosProxy()
           
  IRasterLODInfosProxy(Object obj)
           
protected IRasterLODInfosProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 int getNumLevels()
          The number of levels of details.
 void getResolution(int level, double[] xResolution, double[] yResolution)
          Gets X and Y resolution (cellsize) at a given level.
 void removeListener(String iidStr, Object theListener)
           
 int snap(double dx, double dy)
          Snaps a given cellsize to a proper Level Of Details.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IRasterLODInfosProxy

public IRasterLODInfosProxy()

IRasterLODInfosProxy

public IRasterLODInfosProxy(Object obj)
                     throws IOException
Throws:
IOException

IRasterLODInfosProxy

protected IRasterLODInfosProxy(Object obj,
                               String iid)
                        throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

getNumLevels

public int getNumLevels()
                 throws IOException,
                        AutomationException
The number of levels of details.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getNumLevels in interface IRasterLODInfos
Returns:
The numLevels
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

snap

public int snap(double dx,
                double dy)
         throws IOException,
                AutomationException
Snaps a given cellsize to a proper Level Of Details.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
snap in interface IRasterLODInfos
Parameters:
dx - The dx (in)
dy - The dy (in)
Returns:
The level
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getResolution

public void getResolution(int level,
                          double[] xResolution,
                          double[] yResolution)
                   throws IOException,
                          AutomationException
Gets X and Y resolution (cellsize) at a given level.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Specified by:
getResolution in interface IRasterLODInfos
Parameters:
level - The level (in)
xResolution - The xResolution (out: use single element array)
yResolution - The yResolution (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.