com.esri.arcgis.arcmapui
Class AVImageThemeImporter

java.lang.Object
  extended by com.esri.arcgis.arcmapui.AVImageThemeImporter
All Implemented Interfaces:
IAVThemeImporter, com.esri.arcgis.interop.RemoteObjRef, Serializable

public class AVImageThemeImporter
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAVThemeImporter

A mechanism for importing image themes from Arc View 3.x into ArcGIS.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

See Also:
Serialized Form

Constructor Summary
AVImageThemeImporter()
          Constructs a AVImageThemeImporter using ArcGIS Engine.
AVImageThemeImporter(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AVImageThemeImporter theAVImageThemeImporter = (AVImageThemeImporter) obj;
 
Method Summary
 boolean equals(Object o)
          Compare this object with another
 ILayer esri_import(IAVObject themeObject, IAVObjectConverter pConverter)
          Imports the AV theme object into a layer object.
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 boolean isCanImport(IAVObject themeObject, IAVObjectConverter pConverter)
          Indicates if the importer supports the given type of AV theme object.
 
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

AVImageThemeImporter

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

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

AVImageThemeImporter

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

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

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

isCanImport

public boolean isCanImport(IAVObject themeObject,
                           IAVObjectConverter pConverter)
                    throws IOException,
                           AutomationException
Indicates if the importer supports the given type of AV theme object.

Product Availability

Available with ArcGIS Desktop.

Specified by:
isCanImport in interface IAVThemeImporter
Parameters:
themeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
pConverter - A reference to a com.esri.arcgis.cartoUI.IAVObjectConverter (in)
Returns:
The flag
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

esri_import

public ILayer esri_import(IAVObject themeObject,
                          IAVObjectConverter pConverter)
                   throws IOException,
                          AutomationException
Imports the AV theme object into a layer object.

Product Availability

Available with ArcGIS Desktop.

Specified by:
esri_import in interface IAVThemeImporter
Parameters:
themeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
pConverter - A reference to a com.esri.arcgis.cartoUI.IAVObjectConverter (in)
Returns:
A reference to a com.esri.arcgis.carto.ILayer
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.