|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.arcgis.cartoUI.AVObjectConverter
public class AVObjectConverter
COM Class 'AVObjectConverter'. Generated 3/19/2015 1:20:50 PM from 'C:\ArcGIS\COM\esriCartoUI.olb'
Description 'An 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 |
---|
Fields inherited from interface com.esri.arcgis.cartoUI.IAVObjectConverter |
---|
IID, IID049eadd3_dd95_11d3_9fd4_00c04f6bc78e, xxDummy |
Constructor Summary | |
---|---|
AVObjectConverter()
Constructs a AVObjectConverter using ArcGIS Engine. |
|
AVObjectConverter(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. AVObjectConverter theAVObjectConverter = (AVObjectConverter) obj; |
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. |
boolean |
equals(java.lang.Object o)
Compare this object with another |
static java.lang.String |
getClsid()
getClsid. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
IMap |
getMap(int index)
The converted map at the given index. |
int |
getMapCount()
The number of maps converted. |
int |
hashCode()
the hashcode for this object |
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 |
release()
Release a AVObjectConverter. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AVObjectConverter() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic AVObjectConverter(java.lang.Object obj) throws java.io.IOException
AVObjectConverter theAVObjectConverter = (AVObjectConverter) obj;
obj
to AVObjectConverter
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
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 void readObjects(java.lang.String filePath) throws java.io.IOException, AutomationException
readObjects
in interface IAVObjectConverter
filePath
- The filePath (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAVObject nextObject() throws java.io.IOException, AutomationException
nextObject
in interface IAVObjectConverter
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 IAVObjectConverter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void importView(java.lang.String viewName, IMap pMap) throws java.io.IOException, AutomationException
importView
in interface IAVObjectConverter
viewName
- The viewName (in)pMap
- A reference to a com.esri.arcgis.carto.IMap (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void importLayout(java.lang.String layoutName, IPageLayout pLayout) throws java.io.IOException, AutomationException
importLayout
in interface IAVObjectConverter
layoutName
- The layoutName (in)pLayout
- A reference to a com.esri.arcgis.carto.IPageLayout (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAVObject queryObjectProperty(IAVObject obj, java.lang.String propertyName) throws java.io.IOException, AutomationException
queryObjectProperty
in interface IAVObjectConverter
obj
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)propertyName
- The propertyName (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IAVObject queryObjectByID(int objID) throws java.io.IOException, AutomationException
queryObjectByID
in interface IAVObjectConverter
objID
- The objID (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureClass queryFeatureClass(IAVObject fThemeObject) throws java.io.IOException, AutomationException
queryFeatureClass
in interface IAVObjectConverter
fThemeObject
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setFeatureSymbology(IAVObject themeObject, IFeatureLayer flayer) throws java.io.IOException, AutomationException
setFeatureSymbology
in interface IAVObjectConverter
themeObject
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)flayer
- A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IFeatureRenderer convertLegend(IAVObject legendObject) throws java.io.IOException, AutomationException
convertLegend
in interface IAVObjectConverter
legendObject
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol convertSymbol(IAVObject symbolObj) throws java.io.IOException, AutomationException
convertSymbol
in interface IAVObjectConverter
symbolObj
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IColor convertColor(IAVObject colorObject) throws java.io.IOException, AutomationException
convertColor
in interface IAVObjectConverter
colorObject
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public Font convertFont(IAVObject fontObject) throws java.io.IOException, AutomationException
convertFont
in interface IAVObjectConverter
fontObject
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IElement convertElement(IAVObject graphicObject, double xOrigin, double yOrigin, short pass, IGraphicsContainer gContainer) throws java.io.IOException, AutomationException
convertElement
in interface IAVObjectConverter
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)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IEnvelope convertBounds(IAVObject rectObject, double xOrigin, double yOrigin) throws java.io.IOException, AutomationException
convertBounds
in interface IAVObjectConverter
rectObject
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)xOrigin
- The xOrigin (in)yOrigin
- The yOrigin (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry convertGeometry(IAVObject shapeObject, double xOrigin, double yOrigin) throws java.io.IOException, AutomationException
convertGeometry
in interface IAVObjectConverter
shapeObject
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)xOrigin
- The xOrigin (in)yOrigin
- The yOrigin (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISpatialReference convertProjection(IAVObject projectionObj) throws java.io.IOException, AutomationException
convertProjection
in interface IAVObjectConverter
projectionObj
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap connectToView(IAVObject viewObject) throws java.io.IOException, AutomationException
connectToView
in interface IAVObjectConverter
viewObject
- A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getMapCount() throws java.io.IOException, AutomationException
getMapCount
in interface IAVObjectConverter
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IMap getMap(int index) throws java.io.IOException, AutomationException
getMap
in interface IAVObjectConverter
index
- The index (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |