com.esri.arcgis.display
Interface IRubberBand

All Superinterfaces:
Serializable
All Known Implementing Classes:
RubberCircle, RubberEnvelope, RubberLine, RubberPoint, RubberPolygon, RubberRectangularPolygon

public interface IRubberBand
extends Serializable

Provides access to members that control simple rubberbanding.

Superseded By

IRubberBand2

Remarks

The IRubberBand interface is implemented in separate classes (RubberEnvelope, RubberLine, RubberPoint , and RubberPolygon ). Each of these classes contains methods for creating a RubberBand object.

Product Availability

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


Method Summary
 boolean trackExisting(IScreenDisplay screenDisplay, ISymbol symbol, IGeometry geometry)
          Indicates if to move or reshape an existing shape on the specified screen in response to a mouse down event.
 IGeometry trackNew(IScreenDisplay screenDisplay, ISymbol symbol)
          Call in response to mouse down event to rubberband a new shape on the specified screen.
 

Method Detail

trackNew

IGeometry trackNew(IScreenDisplay screenDisplay,
                   ISymbol symbol)
                   throws IOException,
                          AutomationException
Call in response to mouse down event to rubberband a new shape on the specified screen.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

trackExisting

boolean trackExisting(IScreenDisplay screenDisplay,
                      ISymbol symbol,
                      IGeometry geometry)
                      throws IOException,
                             AutomationException
Indicates if to move or reshape an existing shape on the specified screen in response to a mouse down event.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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