com.esri.arcgis.display
Interface IVertexFeedback

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

public interface IVertexFeedback
extends IDisplayFeedback, Serializable

Provides access to members that control the vertex feedback.

Description

The VertexFeedback object allows one or more individual segments to be moved on the display by the user. Like the NewMultiPointFeedback, the VertexFeedback does not return an object at the end of the operation and is used for visual feedback only. The segments in question donít need to belong to the same geometry or even type of geometry. This allows, for example, a segment from a polygon to be moved along with some segments from a polyline or, alternatively, the moving of vertices (and segments) that are part of a shared polygon boundary.

Vertex feedbacks are used to alter paths and rings by moving their vertices and any adjacent segments. Segments are added one by one with either their FromPoint or ToPoint as an anchor. Multiple segments, which may come from different geometry objects, can be moved at the same time. No geometry objects are returned on completion.

Product Availability

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

See Also:
IMoveEnvelopeFeedback, IMoveImageFeedback2, INewBezierCurveFeedback, INewPolygonFeedback, INewMultiPointFeedback, IReshapeFeedback, IMoveImageFeedback, IMoveGeometryFeedback, IResizeEnvelopeFeedback2, INewDimensionFeedback, IResizeEnvelopeFeedback, IPolygonMovePointFeedback, INewLineFeedback, INewCircleFeedback, IVertexFeedback, IMoveLineFeedback, IMovePointFeedback, ILineMovePointFeedback, INewEnvelopeFeedback2, IStretchLineFeedback, INewEnvelopeFeedback, IMovePolygonFeedback

Method Summary
 void addSegment(ISegment segment, boolean fromPointIsAnchor)
          Adds an edge to rubberband.
 
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef
 

Method Detail

addSegment

void addSegment(ISegment segment,
                boolean fromPointIsAnchor)
                throws IOException,
                       AutomationException
Adds an edge to rubberband.

Description

Adds the segments and specifies which end to use as the anchor point. Each time AddSegment is called, a check is made to see if the segment has already been added; if it has, then it is not added a second time. The methods used to move, symbolize, refresh, and setup the display are accessed through the inherited IDisplayFeedback interface. Since there is no Start method, the first call to MoveTo will begin the feedback operation, that is, draw the feedback, and the feedback will be redrawn with each subsequent MoveTo. To finish the operation, the feedback object should be cleared and the display refreshed.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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