com.esri.arcgis.display
Interface INewEnvelopeFeedback2

All Superinterfaces:
IDisplayFeedback, java.io.Serializable
All Known Implementing Classes:
INewEnvelopeFeedback2Proxy, NewEnvelopeFeedback

public interface INewEnvelopeFeedback2
extends IDisplayFeedback, java.io.Serializable

Provides access to members that control creating a new envelope.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux


Method Summary
 double getAspectRatio()
          The aspect ratio for the custom constraint type.
 int getConstraint()
          The constraint on this rubberbander.
 IGeometry INewEnvelopeFeedback2_stop()
          Stops the feedback and returns the shape.
 void setAspectRatio(double aspectRatio)
          The aspect ratio for the custom constraint type.
 void setConstraint(int constrain)
          The constraint on this rubberbander.
 void start(IPoint point)
          Begins a normal feedback at the given point.
 
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef
 

Method Detail

start

public void start(IPoint point)
           throws java.io.IOException,
                  AutomationException
Begins a normal feedback at the given point.

Supported Platforms

Windows, Solaris, Linux

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

getConstraint

public int getConstraint()
                  throws java.io.IOException,
                         AutomationException
The constraint on this rubberbander.

Supported Platforms

Windows, Solaris, Linux

Returns:
A com.esri.arcgis.display.esriEnvelopeConstraints constant
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setConstraint

public void setConstraint(int constrain)
                   throws java.io.IOException,
                          AutomationException
The constraint on this rubberbander.

Supported Platforms

Windows, Solaris, Linux

Parameters:
constrain - A com.esri.arcgis.display.esriEnvelopeConstraints constant (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getAspectRatio

public double getAspectRatio()
                      throws java.io.IOException,
                             AutomationException
The aspect ratio for the custom constraint type.

Supported Platforms

Windows, Solaris, Linux

Returns:
The aspectRatio
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAspectRatio

public void setAspectRatio(double aspectRatio)
                    throws java.io.IOException,
                           AutomationException
The aspect ratio for the custom constraint type.

Supported Platforms

Windows, Solaris, Linux

Parameters:
aspectRatio - The aspectRatio (in)
Throws:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

INewEnvelopeFeedback2_stop

public IGeometry INewEnvelopeFeedback2_stop()
                                     throws java.io.IOException,
                                            AutomationException
Stops the feedback and returns the shape. Shape may not be an envelope if the display is rotated.

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