com.esri.arcgis.display
Interface IResizeEnvelopeFeedback

All Superinterfaces:
IDisplayFeedback, java.io.Serializable
All Known Implementing Classes:
IResizeEnvelopeFeedbackProxy, ResizeEnvelopeFeedback, ResizeTextFeedback

public interface IResizeEnvelopeFeedback
extends IDisplayFeedback, java.io.Serializable

Provides access to members that control the resize of an 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.
 int getResizeEdge()
          The edge to rubberband.
 IEnvelope IResizeEnvelopeFeedback_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 setResizeEdge(int edge)
          The edge to rubberband.
 void start(IEnvelope envelope, IPoint point)
          Begins a resize feedback of the given shape.
 
Methods inherited from interface com.esri.arcgis.display.IDisplayFeedback
getSymbol, moveTo, refresh, setDisplayByRef, setSymbolByRef
 

Method Detail

start

public void start(IEnvelope envelope,
                  IPoint point)
           throws java.io.IOException,
                  AutomationException
Begins a resize feedback of the given shape.

Supported Platforms

Windows, Solaris, Linux

Parameters:
envelope - A reference to a com.esri.arcgis.geometry.IEnvelope (in)
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.

setResizeEdge

public void setResizeEdge(int edge)
                   throws java.io.IOException,
                          AutomationException
The edge to rubberband.

Supported Platforms

Windows, Solaris, Linux

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

getResizeEdge

public int getResizeEdge()
                  throws java.io.IOException,
                         AutomationException
The edge to rubberband.

Supported Platforms

Windows, Solaris, Linux

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

IResizeEnvelopeFeedback_stop

public IEnvelope IResizeEnvelopeFeedback_stop()
                                       throws java.io.IOException,
                                              AutomationException
Stops the feedback and returns the shape.

Returns:
A reference to a com.esri.arcgis.geometry.IEnvelope
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.