com.esri.arcgis.display
Interface INewEllipseFeedback

All Superinterfaces:
IDisplayFeedback, IDisplayFeedback2, Serializable
All Known Implementing Classes:
NewEllipseFeedback

public interface INewEllipseFeedback
extends IDisplayFeedback2, Serializable

Provides access to members that control the creation of a new ellipse.

Product Availability

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


Method Summary
 double getAngle()
          The angle of the current ellipse being constructed.
 double getAspectRatio()
          The aspect ratio for the custom constraint type.
 int getConstraint()
          The constraint on this rubberbander.
 double getMajorRadius()
          The major radius of the current ellipse being constructed.
 double getMinorRadius()
          The minor radius of the current ellipse being constructed.
 boolean isStartCenter()
          Indicates whether the first point indicates the center.
 void setAngle(double angle)
          The angle of the current ellipse being constructed.
 void setAspectRatio(double aspectRatio)
          The aspect ratio for the custom constraint type.
 void setConstraint(int constrain)
          The constraint on this rubberbander.
 void setMajorRadius(double majorRadius)
          The major radius of the current ellipse being constructed.
 void setMinorRadius(double minorRadius)
          The minor radius of the current ellipse being constructed.
 void setPoint(IPoint point)
          Set the location of the second location.
 void setStartCenter(boolean startCenter)
          Indicates whether the first point indicates the center.
 void start(IPoint point)
          Begins a normal feedback at the given point.
 IGeometry stop(IPoint point)
          Stops the feedback and returns the shape.
 
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback2
isSymbolIsWYSIWYG, isUseReferenceScale, setSymbolIsWYSIWYG, setUseReferenceScale
 
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef
 

Method Detail

start

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

Product Availability

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

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.

setPoint

void setPoint(IPoint point)
              throws IOException,
                     AutomationException
Set the location of the second location.

Product Availability

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

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.

stop

IGeometry stop(IPoint point)
               throws IOException,
                      AutomationException
Stops the feedback and returns the shape.

Product Availability

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

Parameters:
point - A reference to a com.esri.arcgis.geometry.IPoint (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.

getMajorRadius

double getMajorRadius()
                      throws IOException,
                             AutomationException
The major radius of the current ellipse being constructed.

Product Availability

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

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

setMajorRadius

void setMajorRadius(double majorRadius)
                    throws IOException,
                           AutomationException
The major radius of the current ellipse being constructed.

Product Availability

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

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

getMinorRadius

double getMinorRadius()
                      throws IOException,
                             AutomationException
The minor radius of the current ellipse being constructed.

Product Availability

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

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

setMinorRadius

void setMinorRadius(double minorRadius)
                    throws IOException,
                           AutomationException
The minor radius of the current ellipse being constructed.

Product Availability

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

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

getAngle

double getAngle()
                throws IOException,
                       AutomationException
The angle of the current ellipse being constructed.

Product Availability

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

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

setAngle

void setAngle(double angle)
              throws IOException,
                     AutomationException
The angle of the current ellipse being constructed.

Product Availability

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

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

isStartCenter

boolean isStartCenter()
                      throws IOException,
                             AutomationException
Indicates whether the first point indicates the center.

Product Availability

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

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

setStartCenter

void setStartCenter(boolean startCenter)
                    throws IOException,
                           AutomationException
Indicates whether the first point indicates the center.

Product Availability

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

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

getConstraint

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

Product Availability

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

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

setConstraint

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

Product Availability

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

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

getAspectRatio

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

Product Availability

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

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

setAspectRatio

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

Product Availability

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

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