|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.arcgis.display.NewRectangleFeedback
public class NewRectangleFeedback
New Rectangle Feedback Object.
| Constructor Summary | |
|---|---|
NewRectangleFeedback()
Constructs a NewRectangleFeedback using ArcGIS Engine. |
|
NewRectangleFeedback(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NewRectangleFeedback theNewRectangleFeedback = (NewRectangleFeedback) obj; |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
Compare this object with another |
double |
getAngle()
The angle of the current rectangle being constructed. |
double |
getAspectRatio()
The aspect ratio for the custom constraint type. |
static String |
getClsid()
getClsid. |
int |
getConstraint()
The constraint on this rubberbander. |
double |
getLength()
The length of the current rectangle being constructed. |
ISymbol |
getSymbol()
The symbol the feedback object will use. |
double |
getWidth()
The width of the current rectangle being constructed. |
int |
hashCode()
the hashcode for this object |
boolean |
isEnvelope()
Indicates whether the rectangle is an envelope or angled. |
boolean |
isSnapLength()
Indicates whether the rectangle's length is fixed. |
boolean |
isSymbolIsWYSIWYG()
Determines whether the feedback symbol scales with the display. |
boolean |
isUseReferenceScale()
Determines whether the feedback symbol should respect reference scale. |
void |
moveTo(IPoint point)
Move to the new point. |
void |
refresh(int hDC)
Call this after a refresh to show feedback again. |
void |
setAngle(double angle)
The angle of the current rectangle being constructed. |
void |
setAspectRatio(double aspectRatio)
The aspect ratio for the custom constraint type. |
void |
setConstraint(int constrain)
The constraint on this rubberbander. |
void |
setDisplayByRef(IScreenDisplay rhs1)
The display the feedback object will use. |
void |
setIsEnvelope(boolean isEnvelope)
Indicates whether the rectangle is an envelope or angled. |
void |
setLength(double length)
The length of the current rectangle being constructed. |
void |
setPoint(IPoint point)
Set the location of the second location. |
void |
setSnapLength(boolean snapLength)
Indicates whether the rectangle's length is fixed. |
void |
setSymbolByRef(ISymbol symbol)
The symbol the feedback object will use. |
void |
setSymbolIsWYSIWYG(boolean isWYSIWYG)
Determines whether the feedback symbol scales with the display. |
void |
setUseReferenceScale(boolean respectsRefScale)
Determines whether the feedback symbol should respect reference scale. |
void |
setWidth(double width)
The width of the current rectangle being constructed. |
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 class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
|---|
getJintegraDispatch, release |
| Constructor Detail |
|---|
public NewRectangleFeedback()
throws IOException,
UnknownHostException
IOException - if there are interop problems
UnknownHostException - if there are interop problems
public NewRectangleFeedback(Object obj)
throws IOException
NewRectangleFeedback theNewRectangleFeedback = (NewRectangleFeedback) obj;
obj to NewRectangleFeedback.
obj - an object returned from ArcGIS Engine or Server
IOException - if there are interop problems| Method Detail |
|---|
public static String getClsid()
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
public boolean isSymbolIsWYSIWYG()
throws IOException,
AutomationException
isSymbolIsWYSIWYG in interface IDisplayFeedback2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolIsWYSIWYG(boolean isWYSIWYG)
throws IOException,
AutomationException
setSymbolIsWYSIWYG in interface IDisplayFeedback2isWYSIWYG - The isWYSIWYG (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isUseReferenceScale()
throws IOException,
AutomationException
isUseReferenceScale in interface IDisplayFeedback2IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setUseReferenceScale(boolean respectsRefScale)
throws IOException,
AutomationException
setUseReferenceScale in interface IDisplayFeedback2respectsRefScale - The respectsRefScale (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSymbolByRef(ISymbol symbol)
throws IOException,
AutomationException
setSymbolByRef in interface IDisplayFeedbacksymbol - A reference to a com.esri.arcgis.display.ISymbol (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public ISymbol getSymbol()
throws IOException,
AutomationException
getSymbol in interface IDisplayFeedbackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setDisplayByRef(IScreenDisplay rhs1)
throws IOException,
AutomationException
setDisplayByRef in interface IDisplayFeedbackrhs1 - A reference to a com.esri.arcgis.display.IScreenDisplay (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void refresh(int hDC)
throws IOException,
AutomationException
refresh in interface IDisplayFeedbackhDC - The hDC (A COM typedef) (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void moveTo(IPoint point)
throws IOException,
AutomationException
moveTo in interface IDisplayFeedbackpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void start(IPoint point)
throws IOException,
AutomationException
start in interface INewRectangleFeedbackpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setPoint(IPoint point)
throws IOException,
AutomationException
setPoint in interface INewRectangleFeedbackpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public IGeometry stop(IPoint point)
throws IOException,
AutomationException
stop in interface INewRectangleFeedbackpoint - A reference to a com.esri.arcgis.geometry.IPoint (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getLength()
throws IOException,
AutomationException
getLength in interface INewRectangleFeedbackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setLength(double length)
throws IOException,
AutomationException
setLength in interface INewRectangleFeedbacklength - The length (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getWidth()
throws IOException,
AutomationException
getWidth in interface INewRectangleFeedbackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setWidth(double width)
throws IOException,
AutomationException
setWidth in interface INewRectangleFeedbackwidth - The width (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getAngle()
throws IOException,
AutomationException
getAngle in interface INewRectangleFeedbackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAngle(double angle)
throws IOException,
AutomationException
setAngle in interface INewRectangleFeedbackangle - The angle (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isEnvelope()
throws IOException,
AutomationException
isEnvelope in interface INewRectangleFeedbackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setIsEnvelope(boolean isEnvelope)
throws IOException,
AutomationException
setIsEnvelope in interface INewRectangleFeedbackisEnvelope - The isEnvelope (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public boolean isSnapLength()
throws IOException,
AutomationException
isSnapLength in interface INewRectangleFeedbackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setSnapLength(boolean snapLength)
throws IOException,
AutomationException
setSnapLength in interface INewRectangleFeedbacksnapLength - The snapLength (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public int getConstraint()
throws IOException,
AutomationException
getConstraint in interface INewRectangleFeedbackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setConstraint(int constrain)
throws IOException,
AutomationException
setConstraint in interface INewRectangleFeedbackconstrain - A com.esri.arcgis.display.esriEnvelopeConstraints constant (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public double getAspectRatio()
throws IOException,
AutomationException
getAspectRatio in interface INewRectangleFeedbackIOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
public void setAspectRatio(double aspectRatio)
throws IOException,
AutomationException
setAspectRatio in interface INewRectangleFeedbackaspectRatio - The aspectRatio (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||