com.esri.arcgis.carto
Class MaplexAnnotationPropertiesConverter

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

public class MaplexAnnotationPropertiesConverter
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAnnotationPropertiesConverter

Converts placement properties between the Maplex and standard placement engines.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

See Also:
Serialized Form

Constructor Summary
MaplexAnnotationPropertiesConverter()
          Constructs a MaplexAnnotationPropertiesConverter using ArcGIS Engine.
MaplexAnnotationPropertiesConverter(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
MaplexAnnotationPropertiesConverter theMaplexAnnotationPropertiesConverter = (MaplexAnnotationPropertiesConverter) obj;
 
Method Summary
 boolean canConvert(IUID sourceAnnotationPropertiesID, IUID destinationAnnotationPropertiesID)
          Indicates whether the annotation properties can be converted by this object.
 IAnnotateLayerPropertiesCollection convert(int type, IDisplayTransformation displayTransformation, IUID sourceAnnotationPropertiesID, IAnnotateLayerPropertiesCollection sourceProps, IUID destinationAnnotationPropertiesID)
          Converts the source annotation properties into the destination annotation properties.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this 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

MaplexAnnotationPropertiesConverter

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

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

MaplexAnnotationPropertiesConverter

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

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

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

canConvert

public boolean canConvert(IUID sourceAnnotationPropertiesID,
                          IUID destinationAnnotationPropertiesID)
                   throws IOException,
                          AutomationException
Indicates whether the annotation properties can be converted by this object.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
canConvert in interface IAnnotationPropertiesConverter
Parameters:
sourceAnnotationPropertiesID - A reference to a com.esri.arcgis.system.IUID (in)
destinationAnnotationPropertiesID - A reference to a com.esri.arcgis.system.IUID (in)
Returns:
The canConvert
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

convert

public IAnnotateLayerPropertiesCollection convert(int type,
                                                  IDisplayTransformation displayTransformation,
                                                  IUID sourceAnnotationPropertiesID,
                                                  IAnnotateLayerPropertiesCollection sourceProps,
                                                  IUID destinationAnnotationPropertiesID)
                                           throws IOException,
                                                  AutomationException
Converts the source annotation properties into the destination annotation properties.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Specified by:
convert in interface IAnnotationPropertiesConverter
Parameters:
type - A com.esri.arcgis.geometry.esriGeometryType constant (in)
displayTransformation - A reference to a com.esri.arcgis.display.IDisplayTransformation (in)
sourceAnnotationPropertiesID - A reference to a com.esri.arcgis.system.IUID (in)
sourceProps - A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection (in)
destinationAnnotationPropertiesID - A reference to a com.esri.arcgis.system.IUID (in)
Returns:
A reference to a com.esri.arcgis.carto.IAnnotateLayerPropertiesCollection
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.