com.esri.arcgis.display
Interface ICalloutFeedback2

All Superinterfaces:
IDisplayFeedback, Serializable
All Known Implementing Classes:
CalloutFeedback

public interface ICalloutFeedback2
extends IDisplayFeedback, Serializable

Provides access to members that control the callout feedback.

Remarks

A CalloutFeedback may be used to move either the Callout itself or the AnchorPoint. It returns a Polyline representing the new outline of the callout. This polyline can be useful; however, in order to move the Callout, it is simpler to calculate the shift in x and y between the start and endpoints of the feedback operation, then move the callout by the specified amount.

Product Availability

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


Method Summary
 void moveAnchorTo(IPoint point)
          Moves the anchor point to the given point.
 void start(ISymbol symbol, IGeometry geometry, IPoint point, double referenceScale)
          Begins a feedback of the given symbol.
 IPolyline stop()
          Stops the feedback and returns the shape.
 
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef
 

Method Detail

start

void start(ISymbol symbol,
           IGeometry geometry,
           IPoint point,
           double referenceScale)
           throws IOException,
                  AutomationException
Begins a feedback of the given symbol.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
symbol - A reference to a com.esri.arcgis.display.ISymbol (in)
geometry - A reference to a com.esri.arcgis.geometry.IGeometry (in)
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
referenceScale - The referenceScale (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

stop

IPolyline stop()
               throws IOException,
                      AutomationException
Stops the feedback and returns the shape.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

moveAnchorTo

void moveAnchorTo(IPoint point)
                  throws IOException,
                         AutomationException
Moves the anchor point to the given point.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.