com.esri.arcgis.carto
Class MosaicLODInfoHelper

java.lang.Object
  extended by com.esri.arcgis.carto.MosaicLODInfoHelper
All Implemented Interfaces:
IMosaicLODInfoHelper, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class MosaicLODInfoHelper
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IMosaicLODInfoHelper

A LOD helper.

Product Availability

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

See Also:
Serialized Form

Constructor Summary
MosaicLODInfoHelper()
          Constructs a MosaicLODInfoHelper using ArcGIS Engine.
MosaicLODInfoHelper(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MosaicLODInfoHelper theMosaicLODInfoHelper = (MosaicLODInfoHelper) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 IMosaicLODInfos getLODInfos()
          The LOD information.
 int hashCode()
          the hashcode for this object
 void load(IDoubleArray pLODs, boolean asMapScale)
          Loads LOD information from an array of scales/resolutions.
 void loadFromTable(ITable pTable, String lODFieldName, boolean asMapScale)
          Loads LOD information from a table containing a list of scales/resolutions.
 void setSpatialReferenceByRef(ISpatialReference rhs1)
          The spatial reference.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef
getJintegraDispatch, release
 

Constructor Detail

MosaicLODInfoHelper

public MosaicLODInfoHelper()
                    throws IOException,
                           UnknownHostException
Constructs a MosaicLODInfoHelper using ArcGIS Engine.

Throws:
IOException - if there are interop problems
UnknownHostException - if there are interop problems

MosaicLODInfoHelper

public MosaicLODInfoHelper(Object obj)
                    throws IOException
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MosaicLODInfoHelper theMosaicLODInfoHelper = (MosaicLODInfoHelper) obj;

Construct a MosaicLODInfoHelper using a reference to such an object returned from ArcGIS Engine or Server. This is semantically equivalent to casting obj to MosaicLODInfoHelper.

Parameters:
obj - an object returned from ArcGIS Engine or Server
Throws:
IOException - if there are interop problems
Method Detail

getClsid

public static String getClsid()
getClsid.


equals

public boolean equals(Object o)
Compare this object with another

Overrides:
equals in class Object

hashCode

public int hashCode()
the hashcode for this object

Overrides:
hashCode in class Object

setSpatialReferenceByRef

public void setSpatialReferenceByRef(ISpatialReference rhs1)
                              throws IOException,
                                     AutomationException
The spatial reference.

Product Availability

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

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

getLODInfos

public IMosaicLODInfos getLODInfos()
                            throws IOException,
                                   AutomationException
The LOD information.

Product Availability

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

Specified by:
getLODInfos in interface IMosaicLODInfoHelper
Returns:
A reference to a com.esri.arcgis.datasourcesraster.IMosaicLODInfos
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

load

public void load(IDoubleArray pLODs,
                 boolean asMapScale)
          throws IOException,
                 AutomationException
Loads LOD information from an array of scales/resolutions.

Product Availability

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

Specified by:
load in interface IMosaicLODInfoHelper
Parameters:
pLODs - A reference to a com.esri.arcgis.system.IDoubleArray (in)
asMapScale - The asMapScale (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

loadFromTable

public void loadFromTable(ITable pTable,
                          String lODFieldName,
                          boolean asMapScale)
                   throws IOException,
                          AutomationException
Loads LOD information from a table containing a list of scales/resolutions.

Product Availability

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

Specified by:
loadFromTable in interface IMosaicLODInfoHelper
Parameters:
pTable - A reference to a com.esri.arcgis.geodatabase.ITable (in)
lODFieldName - The lODFieldName (in)
asMapScale - The asMapScale (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.