|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.NewRectangleFeedback
public class NewRectangleFeedback
COM Class 'NewRectangleFeedback'. Generated 3/19/2015 1:20:43 PM from 'C:\ArcGIS\COM\esriDisplay.olb'
Description 'New Rectangle Feedback Object.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =
Field Summary |
---|
Fields inherited from interface com.esri.arcgis.display.INewRectangleFeedback |
---|
IID, IIDce877344_e124_4cfb_bf38_e9e7f853b575, xxDummy |
Fields inherited from interface com.esri.arcgis.display.IDisplayFeedback2 |
---|
IIDc003bec8_e340_42d4_9fbf_661dbc9e5b05 |
Fields inherited from interface com.esri.arcgis.display.IDisplayFeedback |
---|
IIDd2c13e55_4bea_11d1_b6cc_080009b996cc |
Constructor Summary | |
---|---|
NewRectangleFeedback()
Constructs a NewRectangleFeedback using ArcGIS Engine. |
|
NewRectangleFeedback(java.lang.Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NewRectangleFeedback theNewRectangleFeedback = (NewRectangleFeedback) obj; |
Method Summary | |
---|---|
boolean |
equals(java.lang.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 java.lang.String |
getClsid()
getClsid. |
int |
getConstraint()
The constraint on this rubberbander. |
com.esri.arcgis.interop.Dispatch |
getJintegraDispatch()
Deprecated. Internal use only. |
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 |
release()
Release a NewRectangleFeedback. |
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 |
Constructor Detail |
---|
public NewRectangleFeedback() throws java.io.IOException, java.net.UnknownHostException
java.io.IOException
- if there are interop problems
java.net.UnknownHostException
- if there are interop problemspublic NewRectangleFeedback(java.lang.Object obj) throws java.io.IOException
NewRectangleFeedback theNewRectangleFeedback = (NewRectangleFeedback) obj;
obj
to NewRectangleFeedback
.
obj
- an object returned from ArcGIS Engine or Server
java.io.IOException
- if there are interop problemsMethod Detail |
---|
public static java.lang.String getClsid()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public com.esri.arcgis.interop.Dispatch getJintegraDispatch()
getJintegraDispatch
in interface com.esri.arcgis.interop.RemoteObjRef
public void release()
release
in interface com.esri.arcgis.interop.RemoteObjRef
public boolean isSymbolIsWYSIWYG() throws java.io.IOException, AutomationException
isSymbolIsWYSIWYG
in interface IDisplayFeedback2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolIsWYSIWYG(boolean isWYSIWYG) throws java.io.IOException, AutomationException
setSymbolIsWYSIWYG
in interface IDisplayFeedback2
isWYSIWYG
- The isWYSIWYG (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseReferenceScale() throws java.io.IOException, AutomationException
isUseReferenceScale
in interface IDisplayFeedback2
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseReferenceScale(boolean respectsRefScale) throws java.io.IOException, AutomationException
setUseReferenceScale
in interface IDisplayFeedback2
respectsRefScale
- The respectsRefScale (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSymbolByRef(ISymbol symbol) throws java.io.IOException, AutomationException
setSymbolByRef
in interface IDisplayFeedback
symbol
- A reference to a com.esri.arcgis.display.ISymbol (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public ISymbol getSymbol() throws java.io.IOException, AutomationException
getSymbol
in interface IDisplayFeedback
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayByRef(IScreenDisplay rhs1) throws java.io.IOException, AutomationException
setDisplayByRef
in interface IDisplayFeedback
rhs1
- A reference to a com.esri.arcgis.display.IScreenDisplay (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void refresh(int hDC) throws java.io.IOException, AutomationException
refresh
in interface IDisplayFeedback
hDC
- The hDC (A COM typedef) (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void moveTo(IPoint point) throws java.io.IOException, AutomationException
moveTo
in interface IDisplayFeedback
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void start(IPoint point) throws java.io.IOException, AutomationException
start
in interface INewRectangleFeedback
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setPoint(IPoint point) throws java.io.IOException, AutomationException
setPoint
in interface INewRectangleFeedback
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public IGeometry stop(IPoint point) throws java.io.IOException, AutomationException
stop
in interface INewRectangleFeedback
point
- A reference to a com.esri.arcgis.geometry.IPoint (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getLength() throws java.io.IOException, AutomationException
getLength
in interface INewRectangleFeedback
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setLength(double length) throws java.io.IOException, AutomationException
setLength
in interface INewRectangleFeedback
length
- The length (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getWidth() throws java.io.IOException, AutomationException
getWidth
in interface INewRectangleFeedback
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setWidth(double width) throws java.io.IOException, AutomationException
setWidth
in interface INewRectangleFeedback
width
- The width (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAngle() throws java.io.IOException, AutomationException
getAngle
in interface INewRectangleFeedback
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAngle(double angle) throws java.io.IOException, AutomationException
setAngle
in interface INewRectangleFeedback
angle
- The angle (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isEnvelope() throws java.io.IOException, AutomationException
isEnvelope
in interface INewRectangleFeedback
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setIsEnvelope(boolean isEnvelope) throws java.io.IOException, AutomationException
setIsEnvelope
in interface INewRectangleFeedback
isEnvelope
- The isEnvelope (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isSnapLength() throws java.io.IOException, AutomationException
isSnapLength
in interface INewRectangleFeedback
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSnapLength(boolean snapLength) throws java.io.IOException, AutomationException
setSnapLength
in interface INewRectangleFeedback
snapLength
- The snapLength (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getConstraint() throws java.io.IOException, AutomationException
getConstraint
in interface INewRectangleFeedback
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setConstraint(int constrain) throws java.io.IOException, AutomationException
setConstraint
in interface INewRectangleFeedback
constrain
- A com.esri.arcgis.display.esriEnvelopeConstraints constant (in)
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public double getAspectRatio() throws java.io.IOException, AutomationException
getAspectRatio
in interface INewRectangleFeedback
java.io.IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setAspectRatio(double aspectRatio) throws java.io.IOException, AutomationException
setAspectRatio
in interface INewRectangleFeedback
aspectRatio
- The aspectRatio (in)
java.io.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 |