com.esri.arcgis.arcmapui
Class AnnotateSelectedFeatures

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

public class AnnotateSelectedFeatures
extends Object
implements com.esri.arcgis.interop.RemoteObjRef, IAnnotateSelectedFeatures

Display annotate selected features dialog.

Product Availability

Available with ArcGIS Desktop.

See Also:
Serialized Form

Constructor Summary
AnnotateSelectedFeatures()
          Constructs a AnnotateSelectedFeatures using ArcGIS Engine.
AnnotateSelectedFeatures(Object obj)
          Deprecated. As of ArcGIS 9.2, replaced by normal Java casts.
AnnotateSelectedFeatures theAnnotateSelectedFeatures = (AnnotateSelectedFeatures) obj;
 
Method Summary
 boolean doModal(int parentHWnd)
          Shows annotate selected features window in a modal state.
 boolean equals(Object o)
          Compare this object with another
static String getClsid()
          getClsid.
 int hashCode()
          the hashcode for this object
 void setCallbackByRef(IAnnotateFeaturesCallback rhs1)
          Provides a hook before and after annotation is created.
 void setLayerByRef(ILayer rhs1)
          The layer to annotate.
 void setMapByRef(IMap rhs1)
          The map to check for existing annotation classes.
 
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

AnnotateSelectedFeatures

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

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

AnnotateSelectedFeatures

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

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

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

setMapByRef

public void setMapByRef(IMap rhs1)
                 throws IOException,
                        AutomationException
The map to check for existing annotation classes.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setMapByRef in interface IAnnotateSelectedFeatures
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IMap (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLayerByRef

public void setLayerByRef(ILayer rhs1)
                   throws IOException,
                          AutomationException
The layer to annotate.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setLayerByRef in interface IAnnotateSelectedFeatures
Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setCallbackByRef

public void setCallbackByRef(IAnnotateFeaturesCallback rhs1)
                      throws IOException,
                             AutomationException
Provides a hook before and after annotation is created.

Product Availability

Available with ArcGIS Desktop.

Specified by:
setCallbackByRef in interface IAnnotateSelectedFeatures
Parameters:
rhs1 - A reference to a com.esri.arcgis.arcmapui.IAnnotateFeaturesCallback (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

doModal

public boolean doModal(int parentHWnd)
                throws IOException,
                       AutomationException
Shows annotate selected features window in a modal state.

Product Availability

Available with ArcGIS Desktop.

Specified by:
doModal in interface IAnnotateSelectedFeatures
Parameters:
parentHWnd - The parentHWnd (A COM typedef) (in)
Returns:
The okPressed
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.