|
|||||||||
| 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
An ArcView (3.x) object converter.
| Constructor Summary | |
|---|---|
AVObjectConverter()
Constructs a AVObjectConverter using ArcGIS Engine. |
|
AVObjectConverter(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(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
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(String layoutName,
IPageLayout pLayout)
Imports a layout from an APR file. |
void |
importView(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,
String propertyName)
Returns the named property object associated with the given object. |
void |
readObjects(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. |
| 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 |
|---|
public AVObjectConverter()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public AVObjectConverter(Object obj)
throws IOException
AVObjectConverter theAVObjectConverter = (AVObjectConverter) obj;
obj to AVObjectConverter.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public void readObjects(String filePath)
throws IOException,
AutomationException
readObjects in interface IAVObjectConverterfilePath - The filePath (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAVObject nextObject()
throws IOException,
AutomationException
nextObject in interface IAVObjectConverterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void reset()
throws IOException,
AutomationException
reset in interface IAVObjectConverterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void importView(String viewName,
IMap pMap)
throws IOException,
AutomationException
importView in interface IAVObjectConverterviewName - The viewName (in)pMap - A reference to a com.esri.arcgis.carto.IMap (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void importLayout(String layoutName,
IPageLayout pLayout)
throws IOException,
AutomationException
importLayout in interface IAVObjectConverterlayoutName - The layoutName (in)pLayout - A reference to a com.esri.arcgis.carto.IPageLayout (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAVObject queryObjectProperty(IAVObject obj,
String propertyName)
throws IOException,
AutomationException
queryObjectProperty in interface IAVObjectConverterobj - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)propertyName - The propertyName (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IAVObject queryObjectByID(int objID)
throws IOException,
AutomationException
queryObjectByID in interface IAVObjectConverterobjID - The objID (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureClass queryFeatureClass(IAVObject fThemeObject)
throws IOException,
AutomationException
queryFeatureClass in interface IAVObjectConverterfThemeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setFeatureSymbology(IAVObject themeObject,
IFeatureLayer flayer)
throws IOException,
AutomationException
setFeatureSymbology in interface IAVObjectConverterthemeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)flayer - A reference to a com.esri.arcgis.carto.IFeatureLayer (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IFeatureRenderer convertLegend(IAVObject legendObject)
throws IOException,
AutomationException
convertLegend in interface IAVObjectConverterlegendObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol convertSymbol(IAVObject symbolObj)
throws IOException,
AutomationException
convertSymbol in interface IAVObjectConvertersymbolObj - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IColor convertColor(IAVObject colorObject)
throws IOException,
AutomationException
convertColor in interface IAVObjectConvertercolorObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public Font convertFont(IAVObject fontObject)
throws IOException,
AutomationException
convertFont in interface IAVObjectConverterfontObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
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 IOException,
AutomationException
convertElement in interface IAVObjectConvertergraphicObject - 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)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IEnvelope convertBounds(IAVObject rectObject,
double xOrigin,
double yOrigin)
throws IOException,
AutomationException
convertBounds in interface IAVObjectConverterrectObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)xOrigin - The xOrigin (in)yOrigin - The yOrigin (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry convertGeometry(IAVObject shapeObject,
double xOrigin,
double yOrigin)
throws IOException,
AutomationException
convertGeometry in interface IAVObjectConvertershapeObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)xOrigin - The xOrigin (in)yOrigin - The yOrigin (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISpatialReference convertProjection(IAVObject projectionObj)
throws IOException,
AutomationException
convertProjection in interface IAVObjectConverterprojectionObj - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMap connectToView(IAVObject viewObject)
throws IOException,
AutomationException
connectToView in interface IAVObjectConverterviewObject - A reference to a com.esri.arcgis.cartoUI.IAVObject (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getMapCount()
throws IOException,
AutomationException
getMapCount in interface IAVObjectConverterIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IMap getMap(int index)
throws IOException,
AutomationException
getMap in interface IAVObjectConverterindex - The index (in)
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 | ||||||||