com.esri.arcgis.cartoUI
Interface IAVObjectConverter

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AVObjectConverter, IAVObjectConverterProxy

public interface IAVObjectConverter
extends java.io.Serializable

COM Interface 'IAVObjectConverter'. Generated 3/19/2015 1:21:02 PM from 'C:\ArcGIS\COM\esriCartoUI.olb'

Description: 'Provides access to members that control the ArcView (3.x) object converter.' 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 =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID049eadd3_dd95_11d3_9fd4_00c04f6bc78e
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 IMap connectToView(IAVObject viewObject)
          Returns the map associated with an AV view object.
 IEnvelope convertBounds(IAVObject rectObject, double xOrigin, double yOrigin)
          Converts an AV rectangle (or MapDpy) object to an envelope.
 IColor convertColor(IAVObject colorObject)
          Converts an AV color object.
 IElement convertElement(IAVObject graphicObject, double xOrigin, double yOrigin, short pass, IGraphicsContainer gContainer)
          Converts an AV graphic object into an element.
 Font convertFont(IAVObject fontObject)
          Converts an AV font object.
 IGeometry convertGeometry(IAVObject shapeObject, double xOrigin, double yOrigin)
          Converts an AV shape object to a geometry object.
 IFeatureRenderer convertLegend(IAVObject legendObject)
          Returns a Renderer from an ArcView legend object.
 ISpatialReference convertProjection(IAVObject projectionObj)
          Converts an AV projection object to a spatial reference object.
 ISymbol convertSymbol(IAVObject symbolObj)
          Returns a symbol from an ArcView symbol object.
 IMap getMap(int index)
          The converted map at the given index.
 int getMapCount()
          The number of maps converted.
 void importLayout(java.lang.String layoutName, IPageLayout pLayout)
          Imports a layout from an APR file.
 void importView(java.lang.String viewName, IMap pMap)
          Imports a view from an APR file.
 IAVObject nextObject()
          Returns the next object in the project.
 IFeatureClass queryFeatureClass(IAVObject fThemeObject)
          Returns a feature class with the same properties as the input feature theme object.
 IAVObject queryObjectByID(int objID)
          Returns the object specified by the given object id.
 IAVObject queryObjectProperty(IAVObject obj, java.lang.String propertyName)
          Returns the named property object associated with the given object.
 void readObjects(java.lang.String filePath)
          Reads an ArcView 3.x ODL file.
 void reset()
          Resets the enumerator.
 void setFeatureSymbology(IAVObject themeObject, IFeatureLayer flayer)
          Sets the layer symbology for a given feature layer, based on a feature theme's legend.
 

Field Detail

IID049eadd3_dd95_11d3_9fd4_00c04f6bc78e

static final int IID049eadd3_dd95_11d3_9fd4_00c04f6bc78e
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

readObjects

void readObjects(java.lang.String filePath)
                 throws java.io.IOException,
                        AutomationException
Reads an ArcView 3.x ODL file.

Parameters:
filePath - The filePath (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

nextObject

IAVObject nextObject()
                     throws java.io.IOException,
                            AutomationException
Returns the next object in the project.

Returns:
A reference to a com.esri.arcgis.cartoUI.IAVObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws java.io.IOException,
                  AutomationException
Resets the enumerator.

Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importView

void importView(java.lang.String viewName,
                IMap pMap)
                throws java.io.IOException,
                       AutomationException
Imports a view from an APR file.

Parameters:
viewName - The viewName (in)
pMap - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

importLayout

void importLayout(java.lang.String layoutName,
                  IPageLayout pLayout)
                  throws java.io.IOException,
                         AutomationException
Imports a layout from an APR file.

Parameters:
layoutName - The layoutName (in)
pLayout - A reference to a com.esri.arcgis.carto.IPageLayout (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryObjectProperty

IAVObject queryObjectProperty(IAVObject obj,
                              java.lang.String propertyName)
                              throws java.io.IOException,
                                     AutomationException
Returns the named property object associated with the given object.

Parameters:
obj - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
propertyName - The propertyName (in)
Returns:
A reference to a com.esri.arcgis.cartoUI.IAVObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryObjectByID

IAVObject queryObjectByID(int objID)
                          throws java.io.IOException,
                                 AutomationException
Returns the object specified by the given object id.

Parameters:
objID - The objID (in)
Returns:
A reference to a com.esri.arcgis.cartoUI.IAVObject
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

queryFeatureClass

IFeatureClass queryFeatureClass(IAVObject fThemeObject)
                                throws java.io.IOException,
                                       AutomationException
Returns a feature class with the same properties as the input feature theme object.

Parameters:
fThemeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
Returns:
A reference to a com.esri.arcgis.geodatabase.IFeatureClass
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setFeatureSymbology

void setFeatureSymbology(IAVObject themeObject,
                         IFeatureLayer flayer)
                         throws java.io.IOException,
                                AutomationException
Sets the layer symbology for a given feature layer, based on a feature theme's legend.

Parameters:
themeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
flayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertLegend

IFeatureRenderer convertLegend(IAVObject legendObject)
                               throws java.io.IOException,
                                      AutomationException
Returns a Renderer from an ArcView legend object.

Parameters:
legendObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
Returns:
A reference to a com.esri.arcgis.carto.IFeatureRenderer
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertSymbol

ISymbol convertSymbol(IAVObject symbolObj)
                      throws java.io.IOException,
                             AutomationException
Returns a symbol from an ArcView symbol object.

Parameters:
symbolObj - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
Returns:
A reference to a com.esri.arcgis.display.ISymbol
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertColor

IColor convertColor(IAVObject colorObject)
                    throws java.io.IOException,
                           AutomationException
Converts an AV color object.

Parameters:
colorObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
Returns:
A reference to a com.esri.arcgis.display.IColor
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertFont

Font convertFont(IAVObject fontObject)
                 throws java.io.IOException,
                        AutomationException
Converts an AV font object.

Parameters:
fontObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
Returns:
A reference to a com.esri.arcgis.support.ms.stdole.Font (A com.esri.arcgis.support.ms.stdole.Font COM typedef)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertElement

IElement convertElement(IAVObject graphicObject,
                        double xOrigin,
                        double yOrigin,
                        short pass,
                        IGraphicsContainer gContainer)
                        throws java.io.IOException,
                               AutomationException
Converts an AV graphic object into an element. All elements except MapSurrounds are converted when 'pass' is 0. Only MapSurrounds are converted when 'pass' is 1.

Parameters:
graphicObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
xOrigin - The xOrigin (in)
yOrigin - The yOrigin (in)
pass - The pass (in)
gContainer - A reference to a com.esri.arcgis.carto.IGraphicsContainer (in)
Returns:
A reference to a com.esri.arcgis.carto.IElement
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertBounds

IEnvelope convertBounds(IAVObject rectObject,
                        double xOrigin,
                        double yOrigin)
                        throws java.io.IOException,
                               AutomationException
Converts an AV rectangle (or MapDpy) object to an envelope.

Parameters:
rectObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
xOrigin - The xOrigin (in)
yOrigin - The yOrigin (in)
Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertGeometry

IGeometry convertGeometry(IAVObject shapeObject,
                          double xOrigin,
                          double yOrigin)
                          throws java.io.IOException,
                                 AutomationException
Converts an AV shape object to a geometry object.

Parameters:
shapeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
xOrigin - The xOrigin (in)
yOrigin - The yOrigin (in)
Returns:
A reference to a com.esri.arcgis.geometry.IGeometry
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convertProjection

ISpatialReference convertProjection(IAVObject projectionObj)
                                    throws java.io.IOException,
                                           AutomationException
Converts an AV projection object to a spatial reference object.

Parameters:
projectionObj - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
Returns:
A reference to a com.esri.arcgis.geometry.ISpatialReference
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

connectToView

IMap connectToView(IAVObject viewObject)
                   throws java.io.IOException,
                          AutomationException
Returns the map associated with an AV view object.

Parameters:
viewObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
Returns:
A reference to a com.esri.arcgis.carto.IMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMapCount

int getMapCount()
                throws java.io.IOException,
                       AutomationException
The number of maps converted.

Returns:
The count
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getMap

IMap getMap(int index)
            throws java.io.IOException,
                   AutomationException
The converted map at the given index.

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.IMap
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.