|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.display.NewPolygonFeedback
public class NewPolygonFeedback
New Polygon Display Feedback Object.
Constructor Summary | |
---|---|
NewPolygonFeedback()
Constructs a NewPolygonFeedback using ArcGIS Engine. |
|
NewPolygonFeedback(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. NewPolygonFeedback theNewPolygonFeedback = (NewPolygonFeedback) obj; |
Method Summary | |
---|---|
void |
addPoint(IPoint point)
Creates a node at the given point. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
getGeodeticConstructionMethod()
The geodetic construction method. |
ISpatialReference |
getSpatialReference()
The spatial reference of the feedback line. |
ISymbol |
getSymbol()
The symbol the feedback object will use. |
int |
hashCode()
the hashcode for this object |
boolean |
isUseGeodeticConstruction()
Specifies if geodetic construction will be used. |
void |
moveTo(IPoint point)
Move to the new point. |
void |
refresh(int hDC)
Call this after a refresh to show feedback again. |
void |
setDisplayByRef(IScreenDisplay rhs1)
The display the feedback object will use. |
void |
setGeodeticConstructionMethod(int gType)
The geodetic construction method. |
void |
setSpatialReferenceByRef(ISpatialReference sr)
The spatial reference of the feedback line. |
void |
setSymbolByRef(ISymbol symbol)
The symbol the feedback object will use. |
void |
setUseGeodeticConstruction(boolean flag)
Specifies if geodetic construction will be used. |
void |
start(IPoint point)
Begins a normal feedback at the given point. |
IPolygon |
stop()
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 NewPolygonFeedback() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic NewPolygonFeedback(Object obj) throws IOException
NewPolygonFeedback theNewPolygonFeedback = (NewPolygonFeedback) obj;
obj
to NewPolygonFeedback
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void start(IPoint point) throws IOException, AutomationException
start
in interface INewPolygonFeedback
point
- 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 addPoint(IPoint point) throws IOException, AutomationException
addPoint
in interface INewPolygonFeedback
point
- 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 IPolygon stop() throws IOException, AutomationException
stop
in interface INewPolygonFeedback
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 IDisplayFeedback
symbol
- 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 IDisplayFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setDisplayByRef(IScreenDisplay rhs1) throws IOException, AutomationException
setDisplayByRef
in interface IDisplayFeedback
rhs1
- 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 IDisplayFeedback
hDC
- 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 IDisplayFeedback
point
- 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 ISpatialReference getSpatialReference() throws IOException, AutomationException
getSpatialReference
in interface IGeodeticLineFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setSpatialReferenceByRef(ISpatialReference sr) throws IOException, AutomationException
setSpatialReferenceByRef
in interface IGeodeticLineFeedback
sr
- A reference to a com.esri.arcgis.geometry.ISpatialReference (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean isUseGeodeticConstruction() throws IOException, AutomationException
isUseGeodeticConstruction
in interface IGeodeticLineFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setUseGeodeticConstruction(boolean flag) throws IOException, AutomationException
setUseGeodeticConstruction
in interface IGeodeticLineFeedback
flag
- The flag (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public int getGeodeticConstructionMethod() throws IOException, AutomationException
getGeodeticConstructionMethod
in interface IGeodeticLineFeedback
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void setGeodeticConstructionMethod(int gType) throws IOException, AutomationException
setGeodeticConstructionMethod
in interface IGeodeticLineFeedback
gType
- A com.esri.arcgis.geometry.esriGeodeticType constant (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 |